Posts
All the articles I've posted.
[centOS] 安裝 phantomjs 錯誤,phantomjs: error while loading shared libraries: libfreetype.so.6: cannot open shared object file: No such file or directory
Published: at 01:54 PM (1 min read)在 centOS 上面安裝 phantomjs 遇到了以下的錯誤 `phantomjs: error while loading shared libraries: libfreetype.so.6: cannot open shared object file: No such file or directory`
[javascript] 取網址 get 的 值(key-value),get query key/value
Published: at 02:29 PM (1 min read)紀錄一下 vanilla.js 取網址 get key-value 的方法
[Nodejs] module.exports 與 exports 的差別
Published: at 09:02 AM (2 min read)如果沒有接觸過 commonJs 這類可以將 js 模組化為檔案的開發者,剛開始寫 Nodejs 時可能會有點不懂 module.exports 與 exports 的差別
[test] Nightwatch.js debug 血淚史
Published: at 04:45 AM (4 min read)使用 Nightwatch.js 寫前端的 E2E test一段時間了...踩了不少雷
[javascript] 清空 array 的方法介紹與比較(new、pop 及 shift...等)
Published: at 02:49 PM (1 min read)紀錄一下幾個 javascript 清空陣列的方法比較。
[javascript] throttle 與 debounce,處理頻繁的 callback 執行頻率
Published: at 03:25 PM (4 min read)throttle 與 debounce,處理頻繁的 callback 執行頻率
[webpack] webpack HMR(Hot Hodule Replacement) 應用於 django 搭配 react-hot-loader
Published: at 10:54 AM (4 min read)前陣子剛換工作時,剛好部門內使用的後端為 django,前端為 react,然後使用 webpack 做編譯、打包及壓縮等佈署的動作。
[test] 單元測試的好幫手 rewire,讓你更容易測試 private 方法及變數
Published: at 08:41 AM (3 min read)rewire 是一個 npm package,讓你更容易測試 private 方法及變數
[mysql] start: Job failed to start invoke-rc.d: initscript mysql, action "start" failed. ,完整移除並重新安裝
Published: at 08:36 AM (2 min read)Job failed to start invoke-rc.d: initscript mysql, action "start" failed. ,完整移除並重新安裝
[security] X-XSS-Protection
Published: at 07:54 AM (2 min read)X-XSS-Protection 是一個在早期瀏覽器並不支援 CSP 時,IE 所開發出預防 XSS 攻擊的 header,後來 chrome 與 sarfari 等瀏覽器也開始支援。