How to untrack committed file - 如果在git 上 untrack committed file
今日需要在 git 上去 gitignore 一個之前已經 commit 了既 file 解決放法 我們可以使用以下 git command 去 untrack 之前 commit 左既 file git rm --cached [filename] e.g. git rm --cached appsetting.Development.json 之後在 …
今日需要在 git 上去 gitignore 一個之前已經 commit 了既 file 解決放法 我們可以使用以下 git command 去 untrack 之前 commit 左既 file git rm --cached [filename] e.g. git rm --cached appsetting.Development.json 之後在 …
最近朋友介紹使用Codecov 來顯示 project 上的 Unit Test 既 Code Coverage 由於他需要把資料夾coverage 上的 一個檔案 clover.xml 放進 repository 上.. 但是 default 的 .gitignore 已經把 coverage 整個資料夾 exclude 了.. 那麼我們如何把在 …
今日係 NodeJs 上用 Jest 寫 Unit Test 時出現了以下錯誤信息 ReferenceError: regeneratorRuntime is not defined ReferenceError: regeneratorRuntime is not defined 解決方法: 只要在 NodeJs Project 上安裝 …
今日無聊時發現了 Windows 有一個可以檢查電池健康度既 Command 十分有趣 我們只需要在 Windows 的 Command Prompt 上輸入以下的指令 powercfg /batteryreport Windows Command check battery health 之後便會建立一份和你部電腦電池健康度的 report 是 HTML …
今日睇 Chrome 個 console 見到以下的 error message Manifest: found icon with no valid size. Manifest: found icon with no valid size
用了 ReactJS 一段時間…想看看有沒有更新可以使用.. 希望可以使用 yarn upgrade 來更新… 但是更新了 package.json 的 dependencies 之後便出現了很多webpack 的 error 最後到了create-react-app page 的 CHANGELOG.md …跟著他的 migration guide 便可以 …
剛剛在寫 reactjs publish 上去 Firebase 之後出現了以一的 error message `` 之後便顯示唔到這個 react page 了 做了一會 research 之後發現應該是 redux compose 既問題 解決方法: 我改了之前的 const store = createStore( reducers, …
使用 FFmpeg 來轉換 Video 格式十分容易的 首先要知道FFmpeg 可以轉換那些 format 大家可以執行以下的指令看看 ffmpeg -formats 或者參考以下網頁 https://www.ffmpeg.org/ffmpeg-formats.html …
最近因為種種原因..要轉換不同的Audio / Video format 上網搜尋很久也找不到一些免費又好似做唔到我想要既效果.. 或是要收費 最後發現如果不怕麻煩 花小小時間學習. 其實是可以使用 FFmpeg 這個 program 來做到的.. 之後發現有很多程式都是用ffmpeg 來轉換檔案格式的 在 Windows 上我會使用 Choco 來 …
今日遇到一個git 的問題 就是需要更之前 commit 了既一個 filename 的大細階.. e.g. 2020-03-01-Google-sheet-with-google-translate.md 到 2020-03-01-google-sheet-with-google-translate.md 即使在 VS code 上更新了檔案的大小字…. …