Develop 썸네일형 리스트형 Force file download Force download with axios on vue.js fileDownload = (url, method, req, fileName) => { const axiosConfig = { method: method, url: url, responseType: 'blob', params: req, }; try { const response = await axios(axiosConfig); const url = window.URL.createObjectURL(new Blob([response.data])); const anchor = document.createElement('a'); anchor.href = url; anchor.setAttribute('download', fileName); docum.. 더보기 Max length of mysql TEXT field type TINYBLOB, TINYTEXT L + 1 bytes, where L < 2^8 (255 Bytes)BLOB, TEXT L + 2 bytes, where L < 2^16 (64 Kibibytes)MEDIUMBLOB, MEDIUMTEXT L + 3 bytes, where L < 2^24 (16 Mebibytes)LONGBLOB, LONGTEXT L + 4 bytes, where L < 2^32 (4 Gibibytes) 더보기 특정 파일 검색해서 해당 파일내에 특정 문구 추가하기 기본적으로 파일내에 특정 문구를 추가하려면 아래 명령을 사용하면된다. ]$ sed -i '[넣어줄 줄위치]s/^/[추가해줄 문장]\n/' [추가하려는 파일]]$ sed -i '2s/^/SET autocommit=0;\n\n/' ./test.sql \; # 여러 개를 추가하려면(5개가 추가됨)]$ sed -i '1,5s/^/-- test line\n\n/' ./test.sql \; 덤프뜬 데이터 양이 많아서 split으로 나눠서 일괄로 등록해줄 필요가 있었음.그래서 split으로 나눈후 해당 내용에 SET autocommit=0을 모든 파일에 추가해줘야함. ]$ split -l 500 all_log.sql ./log_split/log-]$ find ./ -name 'log-*' -exec sed -i '1.. 더보기 이전 1 ··· 8 9 10 11 12 13 14 ··· 67 다음