生活 + 筆記

1.20.2014

用 node.js 跑 shell script

怎麼用 node.js 跑 shell script 咧 ? node child_process module 主要提供了四個 create child process 的 function  1. exec 2. spawn 3. fork 4. exec...

1.17.2014

在 mac 上 mount remote folder

1. 到 http://osxfuse.github.io/ 下載 OSXFUSE & SSHFS packages 2. 寫一個 shell script #!/bin/sh mkdir /Volumes/answers_mobile sshfs u...