Skip to content

Instantly share code, notes, and snippets.

View yatmsu's full-sized avatar
:octocat:

Yasuhiko Katoh yatmsu

:octocat:
  • Tokyo, Japan
  • 11:59 (UTC +09:00)
View GitHub Profile
@yatmsu
yatmsu / 0_reuse_code.js
Created February 20, 2014 03:05
Here are some things you can do with Gists in GistBox.
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console
@yatmsu
yatmsu / unicorn
Last active December 16, 2015 06:48 — forked from shapeshed/unicorn
#!/bin/sh
set -e
# Example init script, this can be used with nginx, too,
# since nginx and unicorn accept the same signals
# Feel free to change any of the following variables for your app:
TIMEOUT=${TIMEOUT-60}
APP_ROOT=/path/to/your/app/current
PID=$APP_ROOT/tmp/pids/unicorn.pid
ENVIRONMENT=production