Skip to content

Instantly share code, notes, and snippets.

View deadcheat's full-sized avatar
⛱️
deadcheat is #allelite now

deadcheat deadcheat

⛱️
deadcheat is #allelite now
  • Tokyo
View GitHub Profile
@deadcheat
deadcheat / 0_reuse_code.js
Created December 28, 2015 06:59
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
@deadcheat
deadcheat / sidekiq
Last active August 29, 2015 14:04 — forked from akishin/sidekiq
Gitlab の起動スクリプトを Passenger で使うために Sidekiq のみにしたもの。( https://gist.github.com/akishin/6104332 )をさらにec2でのdiscourseのインストールに適合させたもの
#!/bin/bash
#
# Sidekiq
# chkconfig: 2345 82 55
# processname: sidekiq
# description: Runs sidekiq
# Include RedHat function library
. /etc/rc.d/init.d/functions