OS X ならHomebrewまたはMacportsで。
[~] $ brew install node
[~] # port install node
nodeコマンドでnodeのインタプリタを起動。
| #!/usr/bin/env ruby | |
| confbase = 'git-ssh-create' | |
| init_command = 'git init --bare --shared=true' | |
| server = `git config --global #{confbase}.server`.chomp | |
| if server.empty? | |
| warn "Please set git config server." | |
| warn " git config --global #{confbase}.server '[username@]yourserver.example.com'" | |
| exit 1 |
| (let ((default-directory (expand-file-name "~/Dropbox/home/.emacs.d"))) | |
| (add-to-list 'load-path default-directory) | |
| (load (expand-file-name "~/Dropbox/home/.emacs.d/subdirs.el") t t t)) | |
| (if (file-exists-p (locate-library "init")) | |
| (load (locate-library "init") nil t nil)) |