Skip to content

Instantly share code, notes, and snippets.

View uehatsu's full-sized avatar

Hatsuhito UENO uehatsu

View GitHub Profile
@uehatsu
uehatsu / redis-server
Last active December 18, 2015 14:58 — forked from tessro/redis-server
#!/bin/sh
#
# redis - this script starts and stops the redis-server daemon
#
# chkconfig: - 85 15
# description: Redis is a persistent key-value database
# processname: redis-server
# config: /etc/redis/redis.conf
# config: /etc/sysconfig/redis
# pidfile: /var/run/redis.pid
@uehatsu
uehatsu / build-essential.sh
Created April 3, 2012 11:20 — forked from henry0312/build-essential.sh
Build m4, autoconf, automake, libtool on Mac OS X Lion
#!/bin/sh
# 初期設定
WORK=$HOME/Builds/build-essential
PREFIX=$HOME/local
export PATH="$PREFIX/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin"
# ソースコードのダウンロード
if [ ! -d $WORK/src ] ; then
mkdir -p $WORK/src