This file contains 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
### .inputrc | |
# 日本語環境設定 | |
set convert-meta off | |
set output-meta on | |
set input-meta on | |
# 大文字小文字を無視 | |
set completion-ignore-case on | |
This file contains 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
### .bash_profile | |
# 日付を英語表記 | |
#export LC_TIME=en_US.UTF-8 | |
# サーチパス | |
export PATH=/opt/local/bin:/opt/local/sbin/:$PATH | |
export MANPATH=/opt/local/share/man:/opt/local/man:$MANPATH | |
# プロンプトデザイン |
This file contains 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
# .bashrc | |
# rmコマンド実行でゴミ箱へ | |
# 'rm' move ~/.Trash | |
function rm () { | |
local path | |
for path in "$@"; do | |
# ignore any arguments | |
if [[ "$path" = -* ]]; then : | |
else |
This file contains 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
""" .vimrc | |
" 文字コード判定 | |
set fencs=iso-2022-jp,euc-jp,cp932 | |
" ステータスラインを常に表示 | |
set laststatus=2 | |
" ステータスラインに文字コードと改行文字を表示する | |
set statusline=%<%f\ %m%r%h%w%{'['.(&fenc!=''?&fenc:&enc).']['.&ff.']'}%=%l,%c%V%8P | |
This file contains 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
$ git config -l | |
user.name=Kouji Tsuru | |
user.email=pafuxu@gmail.com | |
core.editor=vim | |
core.pager=lv | |
core.repositoryformatversion=0 | |
core.filemode=true | |
core.bare=false | |
core.logallrefupdates=true | |
core.ignorecase=true |
This file contains 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
$ git remote show origin | |
* remote origin | |
URL: git@github.com:Pafuxu/my_files.git | |
Remote branch merged with 'git pull' while on branch master | |
master | |
Tracked remote branch | |
master |
This file contains 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
" Search | |
set hlsearch " highlight search | |
set incsearch " incremental search, search as you type | |
set ignorecase " Ignore case when searching | |
set smartcase " Ignore case when searching lowercase | |
" ESCキー2度押しでハイライトを消す | |
nnoremap <Esc><Esc> :<C-u>set nohlsearch<Return> | |
nnoremap / :<C-u>set hlsearch<Return>/ | |
nnoremap ? :<C-u>set hlsearch<Return>? |
This file contains 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 | |
# created by chris helming. | |
# chris dot helming at gmail | |
# get the current number of bytes in and bytes out | |
myvar1=`netstat -ib | grep -e "en1" -m 1 | awk '{print $7}'` # bytes in | |
myvar3=`netstat -ib | grep -e "en1" -m 1 | awk '{print $10}'` # bytes out | |
#wait one second | |
sleep 1 |
This file contains 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
.gradation-box { | |
background: -webkit-gradient(linear, left top, left bottom, from(white), color-stop(0.1, white), to(rgb(205, 221, 241))); | |
-webkit-border-radius: 4px; | |
-webkit-box-shadow: rgba(0, 0, 0, 0.496094) 0px 3px 5px; | |
border: 1px solid rgb(204, 204, 204); | |
display: block; | |
margin: 0px 5px 5px 5px; | |
padding: 10px; | |
text-shadow: white 0px 1px 0px; | |
vertical-align: top; |
This file contains 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
.label { | |
background: url(label\ green-64.png) no-repeat center center ; | |
display: -webkit-box; | |
-webkit-box-align: center; | |
-webkit-box-pack: center; | |
width: 64px; | |
height: 64px; | |
margin: 0; | |
padding: 0; | |
position: absolute; |
OlderNewer