Skip to content

Instantly share code, notes, and snippets.

View 10long's full-sized avatar

RytaroTsuji 10long

View GitHub Profile
@10long
10long / .envrc
Created July 24, 2017 01:36 — forked from akamiya/ssh-multi-ec2
a script to ssh multiple servers over multiple tmux panes
#export AWS_ACCESS_KEY_ID="AWSのアクセスキー"
#export AWS_SECRET_ACCESS_KEY="AWSのシークレットアクセスキー"
use nix
@10long
10long / unicorn
Created February 3, 2012 09:32
/etc/init.d script for unicorn
#!/bin/sh
#
# init.d script for single or multiple unicorn installations. Expects at least one .conf
# file in /etc/unicorn
#
# Modified by [email protected] http://github.com/jaygooby
# based on http://gist.github.com/308216 by http://github.com/mguterl
#
## A sample /etc/unicorn/my_app.conf
##
@10long
10long / flymake-groovy.el
Created August 10, 2011 09:31 — forked from uehaj/flymake-groovy.el
flymake-groovy.el(GroovyServ version)
;;;; flymake for groovy
(require 'flymake)
(setq exec-path
(cons "/tool/groovyserv-0.4/bin" exec-path))
;; Invoke groovyclient for compile with syntax checking
(defun flymake-groovy-init ()
(let* ((temp-file (flymake-init-create-temp-buffer-copy
'flymake-create-temp-inplace))