본문 바로가기

반응형

전체 글

[Flutter] Map 사용법 (Dart) Map 은 key-value 쌍으로 이뤄진 객체 선언1 Map map = {}; map['key'] = 'value'; 선언2 Map map = new Map(); map['key'] = 'value'; 입력 map['key'] = 'value'; // OR Map map2 = {'key2' : 'value2'}; map.addAll(map2); 삭제 map.remove('key'); // OR map.clear();// 모두 삭제 검색 map.containsKey('key');// true OR false map.containsValue('value');// true OR false map.entries;// key-value 이터러블 객체 return 더보기
[Mysql] 특정테이블 제외 덤프(dump) 명령어 mysqldump -u'사용자' -p'비밀번호' 디비명 --ignore-table=디비명.테이블명 > 저장파일명.sql > mysqldump -u'root' -p'password' DBNAME --ignore-table=DBNAME.TB_NAME --ignore-table=DBNAME.TB_NAME2 > DBNAME_2023XXXX.sql 더보기
[로직강좌/Logic Pro] 1. 기본 단축키, 레이아웃 * 미디 레코딩(소프트웨어 악기) - 노트 제작 다양한 소리로 Library 악기로 변경이 가능 * 오디오 레코딩(오디오) - 보컬을 녹음하거나, 악기를 연주, 소리 자체가 저장되는 걸로 가상악기(라이브러리) 사용 불가능 * Velocity : 소리의 세기 * Volume : 소리의 크기 더보기
[Mysql] mysqli_real_escape_string 보안 사용자에게 직접 받은 데이터로 query 실행 시 sql injection 발생가능성 배제 mysqli_real_escape_string : query 문에 특수문자를 변경해주는 함수 https://www.php.net/manual/en/mysqli.real-escape-string.php 더보기
[Mysql] UPDATE INSERT 동시 (있으면 UPDATE 없으면 INSERT) INSERT INTO TB_CC_DOLLAR (dateKey, tradingRate, compared, upDown, buy, sell, send, receive, regDate) VALUES ('2022.11.25', 1338.00, 7.00, '상승', 1361.41, 1314.59, 1351.10, 1324.90, UNIX_TIMESTAMP()) ON DUPLICATE KEY UPDATE dateKey = '2022.11.25'; -- 조건이 더 있을 경우 dateKey 뒤에 , 로 추가 -- ON DUPLICATE KEY UPDATE dateKey = '2022.11.25', upDown = '상승'; 중복키 제한조건 위배 되면.. ON DUPLICATE KEY UPDATE 수정 할 컬럼.. 컬럼.. 더보기
[Database] MongoDB Docker 도커 이미지 설치 MongoDB Docker 도커 이미지 설치 mb@MacBook-Air ~ % docker pull mongo Using default tag: latest latest: Pulling from library/mongo 4e7e0215f4ad: Pull complete bffac05d305d: Pull complete 6d44feb31079: Pull complete bd79df0bf56e: Pull complete 393c4defd29f: Pull complete be2da71c1f52: Pull complete 0b4c4322236b: Pull complete 2f4baaecdab3: Pull complete c2076034e800: Pull complete Digest: sha256:71a63fc2.. 더보기
[cocoapods] M1 맥 Pod 안될 때.. M1 맥에서 pod 가 정상적으로 작동하지 않을 때 x86_64 버전 pod 를 바라보고 있을 가능성이 농후하다. 구글링을 해보면 xcode 에서 clean and build를 하라던가 로제타로 터미널 실행해서 x86_64 로 gem install 하라고 하던데.. 모두 실패다. !! 해결책 pod 를pod를 arm 버전으로 설치하고 해당 경로의 pod를 이용해서 install/update을 진행하면 해결 1. pod 설치 된거 찾아보기 where pod 2. 없다면 설치 (brew install cocoapods) 3. pod install (경로 잡아주기 귀찮음 그냥 다 써주자) /opt/homebrew/bin/pod install 더보기
[ftp] git-ftp cafe24 카페24 PHP호스팅 git 자동배포 https://github.com/git-ftp/git-ftp GitHub - git-ftp/git-ftp: Uses Git to upload only changed files to FTP servers. Uses Git to upload only changed files to FTP servers. - GitHub - git-ftp/git-ftp: Uses Git to upload only changed files to FTP servers. github.com 설치 https://github.com/git-ftp/git-ftp/blob/master/INSTALL.md GitHub - git-ftp/git-ftp: Uses Git to upload only changed files to FTP serv.. 더보기

반응형