Skip to content

Instantly share code, notes, and snippets.

View yoshi1984's full-sized avatar
🏠
Working from home

Yoshiyuki Yamada yoshi1984

🏠
Working from home
View GitHub Profile
EMACS_VER=24.3
curl -O http://ftp.gnu.org/pub/gnu/emacs/emacs-${EMACS_VER}.tar.gz
svn co http://svn.sourceforge.jp/svnroot/macemacsjp/inline_patch/trunk inline_patch
tar xvfz emacs-${EMACS_VER}.tar.gz
cd emacs-${EMACS_VER}
patch -p0 < ../inline_patch/emacs-inline.patch
./configure --with-ns --without-x
make bootstrap
make install
cp nextstep/Emacs.app /Application
@yoshi1984
yoshi1984 / nginx
Created August 27, 2013 21:10
/etc/init.d/nginx
#!/bin/sh
#
# nginx - this script starts and stops the nginx daemon
#
# chkconfig: - 85 15
# description: Nginx is an HTTP(S) server, HTTP(S) reverse \
cflags="-I$pkgincludedir -pipe -O2 -Wall -Wno-null-conversion -Wno-unused-private-field -Os -g -fno-strict-aliasing -DDBUG_OFF " #note: end space!