This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| command | sort | uniq -c | sort -nr |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| P: 3 | |
| D: today | |
| R: | |
| E: | |
| S: onmac ,real | |
| O: Home | |
| U: | |
| --- | |
| Note Body |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| cd $HOME | |
| mkdir .vim | |
| git init | |
| git submodule add git://github.com/gmarik/vundle.git .vim/vundle.git | |
| if [ ! -f $HOME/.vimrc ] ; then | |
| cat >> $HOME/.vimrc <<"VIMRC.eof" | |
| " Initialize | |
| "Vundle Initialize | |
| set rtp+=~/.vim/vundle.git/ | |
| call vundle#rc() |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # | |
| # Automatically generated make config: don't edit | |
| # Linux/i386 3.0.6-gentoo Kernel Configuration | |
| # | |
| # CONFIG_64BIT is not set | |
| CONFIG_X86_32=y | |
| # CONFIG_X86_64 is not set | |
| CONFIG_X86=y | |
| CONFIG_INSTRUCTION_DECODER=y | |
| CONFIG_OUTPUT_FORMAT="elf32-i386" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| require 'formula' | |
| class Vim < Formula | |
| homepage 'http://www.vim.org/' | |
| url 'ftp://ftp.vim.org/pub/vim/unix/vim-7.3.tar.bz2' | |
| head 'https://vim.googlecode.com/hg/' | |
| sha256 '5c5d5d6e07f1bbc49b6fe3906ff8a7e39b049928b68195b38e3e3d347100221d' | |
| version '7.3.294' | |
| def features; %w(tiny small normal big huge) end |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| yum install readline-devel.x86_64 libyaml.x86_64 tree nkf | |
| yum install mysql mysql-server git | |
| yum install readline-devel.x86_64 libyaml.x86_64 openssl-devel.x86_64 mysql-devel.x86_64 | |
| yum install gcc make zlib-devel gcc-c++ | |
| git clone git://github.com/sstephenson/rbenv.git .rbenv | |
| echo 'export PATH="$HOME/.rbenv/bin:$PATH"' >> $HOME/.bashrc | |
| echo 'eval "$(rbenv init -)"' >> $HOME/.bashrc | |
| echo "source ~/.rbenv/completions/rbenv.bash" >> $HOME/.bashrc | |
| cd $HOME |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| --- nginx.yum-org 2011-12-16 00:22:28.000000000 +0900 | |
| +++ nginx 2012-02-01 04:10:39.447206296 +0900 | |
| @@ -6,7 +6,7 @@ | |
| # processname: nginx | |
| # config: /etc/nginx/nginx.conf | |
| # config: /etc/sysconfig/nginx | |
| -# pidfile: /var/run/nginx.pid | |
| +# pidfile: /var/run/nginx/nginx.pid | |
| # description: nginx is a HTTP and reverse proxy server | |
| # |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/sh | |
| # | |
| # nginx Startup script for nginx | |
| # | |
| # chkconfig: - 85 15 | |
| # processname: nginx | |
| # config: /etc/nginx/nginx.conf | |
| # config: /etc/sysconfig/nginx | |
| # pidfile: /var/run/nginx/nginx.pid | |
| # description: nginx is a HTTP and reverse proxy server |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #https://gist.github.com/1712762 | |
| ./configure \ | |
| --prefix=/usr/local/nginx \ | |
| --conf-path=/etc/nginx/nginx.conf \ | |
| --error-log-path=/var/log/nginx/error.log \ | |
| --pid-path=/var/run/nginx/nginx.pid \ | |
| --lock-path=/var/lock/subsys/nginx \ | |
| --user=nginx \ | |
| --group=nginx \ | |
| --with-http_stub_status_module \ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # yum install nginx | |
| # cp -a /etc/init.d/nginx /bkup/path/to/ | |
| # yum remove nginx | |
| # cp -a /bkup/path/to/nginx{,.yum-org} | |
| # vim /bkup/path/to/nginx |
OlderNewer