the problem:
subl somefile
zsh: correct 'subl' to 'ul' [nyae]? n
node -v
zsh: correct 'node' to 'od' [nyae]? n
v0.8.16
user www-data www-data; | |
worker_processes 1; # 1 per core | |
pid /var/run/nginx.pid; | |
events { | |
worker_connections 1024; | |
use epoll; | |
} | |
http { |
description "NGINX http daemon" | |
start on runlevel [2345] | |
stop on runlevel [016] | |
env DAEMON=/usr/sbin/nginx | |
env PID=/var/run/nginx.pid | |
pre-start script | |
mkdir -p /var/log/nginx |
cat << EOF > ~/.gemrc | |
install: --no-rdoc --no-ri | |
update: --no-rdoc --no-ri | |
EOF |
the problem:
subl somefile
zsh: correct 'subl' to 'ul' [nyae]? n
node -v
zsh: correct 'node' to 'od' [nyae]? n
v0.8.16
To open files and folders from your command-line you need to add Sublime Text 2 to your path.
sudo ln -s "/Applications/Sublime Text 2.app/Contents/SharedSupport/bin/subl" /usr/bin/subl
And then...
subl ~/mysitedir
var AppRouter = Backbone.Router.extend({ | |
routes: { | |
"appointments/:id": "show" | |
}, | |
show: function(id){ | |
console.log("heyo we're in show with id %d", id); | |
} | |
}); |