麥特不戴蒙

一些解決問題或技術文章存放區的概念

2019年7月23日 星期二

WebsStorm display NPM tab

›
The Tab [NPM] was gone, where can we show/display it? It is easy. Right click on package.json, then choose [Show npm Scripts]
2019年6月18日 星期二

Synology NAS 開機執行特定 Script 於 rc.d 資料夾下

›
想在 Synology NAS 開機時執行特定 Script 1. 將寫好的 script 放在 /usr/local/etc/rc.d/ 之,檔案名稱一定要有 .sh 為結尾(ex. your_script.sh) 2. 變更權限 sudo chomd 755 your...
2019年5月29日 星期三

安裝 npm forever 會遇到的小問題

›
安裝 forever npm install forever -g 接著 forever start your_node_code.js 就可以在背景一直執行(不會因為terminal 關閉而結束) 但是有可能會遇到 forever: command not found...
2019年5月25日 星期六

Using Linux Crontab example

›
If you want to execute some task in every 5 minutes? 如果想在 Linux 中定時執行某些任務? crontab -l    // see the list of crontab crontab -e    // edit ...
2019年5月6日 星期一

[Git] 在 TortoiseGit 裡記憶專案密碼

›
也許你也覺得每次 pull/push 程式碼就要重新輸入一次密碼好煩?來,以下教你如何用 TortoiseGit 記憶專案密碼。 1。首先,右鍵點選專案裡的 [Settings] 2。移到 Credential 頁面,Config Type 選擇 Local,然...
2018年10月18日 星期四

Deploy A React App Website With React-Router To Synology WebStation By Nginx (部署含有 React-Router 的網站到 Synology WebStation,以 Nginx為例)

›
When we deploy a simple ReactJS website to Synology WebStation , the easy way is put the built files into default web folder. Assuming th...
2018年10月1日 星期一

React refs example

›
class Parent extends React.Component { callChildFunction = () => { this.child.handleActionParent(); ///calling a child functio...
‹
›
首頁
查看網路版
技術提供:Blogger.