Skip to content

Instantly share code, notes, and snippets.

View iwaim's full-sized avatar

IWAI, Masaharu iwaim

View GitHub Profile
@iwaim
iwaim / serf
Created May 9, 2014 03:04 — forked from zembutsu/serf
#!/bin/sh
#
# chkconfig: - 89 11
# description: serf daemon
# processname: serf
# config: /etc/serf.conf
# Default-Start:
# Default-Stop: 0 1 2 3 4 5 6
# Description: serf agent daemon
@iwaim
iwaim / serf
Created January 31, 2014 16:17 — forked from zembutsu/serf
#!/bin/sh
#
# chkconfig: - 89 11
# description: serf daemon
# processname: serf
# config: /etc/serf.conf
# Default-Start:
# Default-Stop: 0 1 2 3 4 5 6
# Description: serf agent daemon
@iwaim
iwaim / _vbuilder
Created February 19, 2010 13:04
Zsh Completion file: vbuilder(1)
#compdef vbuilder
typeset -A opt_args
_arguments \
"--version[set \[version\]]:keyword:(4.2 5.0 VineSeed)" \
"--arch[set \[arch\]]:keyword:(i386)" \
"--dist-upgrade[make VineSeed bootstrap via 5.0]" \
"--target[build rpms with \[target\]]" \
"--with-compat32[build rpms with compat32 on bootstrap]" \
#compdef pkg
typeset -A opt_args
local context state line
_arguments -s -S \
"(-R)--help[Displays a usage message.]" \
"(--help)-R+[dir]:package directory:_files -/" \
"1:package:(version purge-history rebuild-index)" \
&& return 0
@iwaim
iwaim / gist:109316
Created May 9, 2009 15:49
~/.zshrc
# ~/binをPATHに追加する
PATH=~/bin:$PATH
export PATH
## alias
# 共通
alias eng='LANG=C LANGUAGE=C LC_ALL=C'
# OS依存
case "${OSTYPE}" in
freebsd*|darwin*)