Skip to content

Instantly share code, notes, and snippets.

Avatar
❄️
NO SNOW, NO LIFE.

Teppei Yano yano3

❄️
NO SNOW, NO LIFE.
View GitHub Profile
View gist:9568e6a4f730a04f854b
$ brew install tuntap
==> Downloading https://homebrew.bintray.com/bottles/tuntap-20111101.mavericks.bottle.tar.gz
######################################################################## 100.0%
==> Pouring tuntap-20111101.mavericks.bottle.tar.gz
==> Caveats
In order for TUN/TAP network devices to work, the tun/tap kernel extensions
must be installed by the root user:
sudo cp -pR /usr/local/Cellar/tuntap/20111101/Library/Extensions/tap.kext /Library/Extensions/
sudo cp -pR /usr/local/Cellar/tuntap/20111101/Library/Extensions/tun.kext /Library/Extensions/
@yano3
yano3 / gist:838622
Created Feb 22, 2011
改行コードが異なるファイルの比較
View gist:838622
diff --strip-trailing-cr file1 file2
@yano3
yano3 / gist:840329
Created Feb 23, 2011
svn で改行コードが異なるファイルの比較
View gist:840329
svn diff -x --ignore-eol-style file
@yano3
yano3 / gist:843291
Created Feb 25, 2011
svn で空白を無視して比較
View gist:843291
svn diff -x -w file
@yano3
yano3 / gist:865340
Created Mar 11, 2011
svn: creating a branch
View gist:865340
svn copy http://example.com/path/to/repository/trunk/ http://example.com/path/to/repository/branches/hoge
@yano3
yano3 / gist:912301
Created Apr 10, 2011
old .vimperatorrc
View gist:912301
"2.0 (created: 2009/03/28 23:48:07)
set titlestring=Firefox
set guioptions=mTBnbr
set wildoptions=auto
set visualbell
map j 3<C-e>
map k 3<C-y>
map h gT
@yano3
yano3 / gist:912334
Created Apr 10, 2011
set gvim font on Windows
View gist:912334
" .gvimrc
set guifont=Consolas:h9:cSHIFTJIS
@yano3
yano3 / gist:1000189
Created May 31, 2011
curl でオレオレ証明書無視
View gist:1000189
curl https://example.com/ --insecure
curl https://example.com/ -k
@yano3
yano3 / gist:1000202
Created May 31, 2011
wget でオレオレ証明書無視
View gist:1000202
wget https://example.com/ --no-check-certificate
@yano3
yano3 / gist:1033066
Last active Sep 26, 2015
Vimium - Options - Excluded URLs
View gist:1033066
http*://mail.google.com/*
http*://www.google.com/reader/*
http*://www.google.co.jp/reader/*
http*://www.rememberthemilk.com/*
http://feedly.com/*
https://cp.conoha.jp/*