ShareChiWai Notes
ShareChiWai Notes
Home
Blog
Sharing
Contact
Light
Dark
Automatic
Posts
XSD restriction for either specific string or number (mixture type)
如果在XSD restriction 上 容許 mix restriction (mix data type) 呢? 解決方法: 我們可以建立一個
Last updated on Jul 1, 2022
1 min read
XML
Visual Studio Useful Shortcut
最近有一個 task 係要做一些 code clean up… 發現有很多重覆既動作.. 係時候用
Last updated on Jul 1, 2022
1 min read
Visual Studio
Choco check if package already installed / outated
今日想檢查一下 電腦上用 Chocolatey 安裝的 NodeJs 有沒有 outdated 所以便想找個 Choco command 來看
Last updated on Jul 1, 2022
1 min read
Chocolatey
Firebase ReactJs routing issue - Page not found
使用 firebase hosting 來 host reactjs 既時候 出現了以下問題 當我直接在 browser 輸入 ReactJs 的 route 既時
Last updated on Jul 1, 2022
1 min read
Firebase
How to get distinct values from an array of objects in JavaScript
今日有個 task 其中一個地方要在 Array of Json object 中 Distinct 一個 property const data = [ { id: 1, category:
Last updated on Jul 1, 2022
1 min read
Javascript
How to set Environment Variable on NodeJS
###如何設定 NodeJs Environment Variable 解決方法: 可以直接在 command line 設定 set ENV_VARIABLE=9000 && npm start 可
Last updated on Jul 1, 2022
1 min read
NodeJs
Git undo local commit
久唔久就會大意地 Commit 錯野 發現以下這個 git command Git undo pushed commit and keep changes unstage 解決方
Last updated on Jul 1, 2022
1 min read
Git
failed to extract shortcode: template for shortcode "alert" not found
Hugo Error failed to extract shortcode: template for shortcode "alert" not found 解決方法 git submodule update --init --recursive Test hugo server --watch
Last updated on Jul 1, 2022
1 min read
Hugo
ESLint couldnt find the plugin (when install dependencies using yarn)
今日嘗試用 command line (CLI) 執行 ESLint 時出現了以下的錯誤信息 # eslint command eslint ./src Error: Cannot find
Last updated on Jul 1, 2022
1 min read
Javascript
Clear node-modules
我們可以使用以下指令到 clear Yarn / NPM 的 cache # yarn yarn cache clean # npm npm cache clean --force # remove
Last updated on Aug 17, 2022
1 min read
Git
«
»
Cite
×