有時後在執行一些功能時,會習慣從終端機直接帶一些參數,好取得特定的資料,那python 程式碼要如何取得終端機的指令?
在執行 Git 操作時,發生卡住的狀況
之前有發生過下 Git 指令時,終端機給了我這樣的訊息
1 2 3 4 5 |
Another git process seems to be running in this repository, e.g. an editor opened by 'git commit'. Please make sure all processes are terminated then try again. If it still fails, a git process may have crashed in this repository earlier: remove the file manually to continue. |
Mac Java version switch, 版本管理
有時每個專案所運用到的Java版本不同,就會需要做到切換,
Survey後有jenv這款管理,可以幫助切換, 閱讀全文〈Mac Java version switch, 版本管理〉
DeprecationWarning: Chunk.modules is deprecated. Use Chunk.getNumberOfModules/mapModules/forEachModule/containsModule instead.
webpack打包又出現問題,單純看提示訊息又不知道是哪個套件造成chunk的問題,
DeprecationWarning: Chunk.modules is deprecated. Use Chunk.getNumberOfModules/mapModules/forEachModule/containsModule instead. 閱讀全文〈DeprecationWarning: Chunk.modules is deprecated. Use Chunk.getNumberOfModules/mapModules/forEachModule/containsModule instead.〉
parseQuery() will be replaced with getOptions() in the next major version of loader-utils
做webpack打包時看見此錯誤訊息,也不知道是哪裡出問題,
(node:36968) DeprecationWarning: loaderUtils.parseQuery() received a non-string value which can be problematic, see https://github.com/webpack/loader-utils/issues/56
parseQuery() will be replaced with getOptions() in the next major version of loader-utils. 閱讀全文〈parseQuery() will be replaced with getOptions() in the next major version of loader-utils〉