Skip to content

Instantly share code, notes, and snippets.

@lowol
lowol / nodeapp.sh
Created Aug 1, 2012
init.d script for node.js
View nodeapp.sh
#!/bin/bash
#
# nodejs - Startup script for node.js server
# /etc/init.d/app1
#
# chkconfig: 35 99 99
# description: Node.js node /apps/app1/server.js
rootdir="/var/www/apps/app1"
server="$rootdir/server.js"
View .jshintrc
{
"predef": [
"jasmine",
"spyOn",
"it",
"console",
"describe",
"expect",
"beforeEach",
"waits",
@lowol
lowol / screen-devel.rb
Created Jun 28, 2012
brew install screen-devel
View screen-devel.rb
$ export CC=gcc
$ brew install -f --use-llvm https://raw.github.com/gist/3012658/c0c139fc9c65303722647e11d8351d53d88b4311/screen-devel.rb
You can’t perform that action at this time.