麥特不戴蒙

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

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...
2018年9月28日 星期五

[JavaScript] Convert Byte to other size, Byte轉換

›
bytesConvertToSize = (bytes) => { let sizes = [ 'Bytes' , 'KB' , 'MB' , 'GB' , 'TB' ]; ...
2018年1月23日 星期二

Fix WebStorm unresolved function for jest and enzyme methods

›
Refer from: Get rid of "Unresolved function/method/variable" warning in Jest test files
2017年12月7日 星期四

保哥教你如何讓 windows command 變好看 (How to have good looking Windows Command Prompt)

›
保哥教你如何讓 windows command 變好看 [保哥部落格連結] https://blog.miniasp.com/post/2017/12/06/Microsoft-YaHei-Mono-Chinese-Font-for-Command-Prompt-and-...
2017年11月6日 星期一

MircoSD Card General Recommendations 使用與保存方法

›
General Recommendations 1. There are counterfeit memory cards out there. Buying from a reputable retailer helps minimize the risk of getti...
‹
›
首頁
查看網路版
技術提供:Blogger.