file 썸네일형 리스트형 File remove except the last five files ]$ ls -t | tail -n +6 | xargs rm -rfwith Removed list]$ ls -t | tail -n +6 && ls -t | tail -n +6 | xargs rm -rf 더보기 Json curl and a/b benchmark Send curl with json data from file.curl -X POST -H "Content-Type: application/json" -d @ab_post_data.json {{url}} a/b benchmark with json data from file.ab -n 10000 -c 100 -T application/json -p /home/rock/ab_post_data.json {{url}} 더보기 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.. 더보기 이전 1 2 3 4 ··· 8 다음