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
| .com-body { | |
| font-size: 100%; | |
| float: right; | |
| width: 481px; | |
| padding: 5px 10px; | |
| background: #efefef; | |
| border: 1px solid #dedede; | |
| /*角丸なし*/ | |
| border-radius: 0px; | |
| -webkit-border-radius: 0px; |
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
| function gitinit(){ | |
| echo -n username: | |
| read user | |
| repo=`echo $PWD:t` | |
| repo_j={\"name\":\"$repo\"} | |
| url="https://github.com/"$user/$repo.git | |
| curl -u $user https://api.github.com/user/repos -d $repo_j | |
| case $? in | |
| 0) | |
| rm -rf .git |
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/zsh | |
| dir=${0:a:h}"/vimrc" | |
| mkdir -p $dir | |
| # github, bitbucket {{{ | |
| dot=`curl http://vim-jp.org/reading-vimrc/json/archives.json | jq -r '.[] | .vimrc | .[] | .url' | sed -e 's/\/github.com/\/raw.githubusercontent.com/g' -e 's/\/blob//g' -e 's/\/gist.github.com/\/gist.githubusercontent.com\/thinca/g' -e 's/\/src/\/raw/g'` | |
| line=`echo $dot | wc -l | tr -d ' '` |
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/zsh | |
| dir=${0:a:h}/dotfiles/ | |
| url=`curl https://raw.githubusercontent.com/syui/dotfiles/master/.dotfiles` | |
| line=`echo $url | wc -l | tr -d ' '` | |
| for ((i = $line ; i > 0 ; i-- )) | |
| do | |
| repo=`echo $url | awk "NR==$i"` | |
| file=`echo $repo | cut -d '/' -f 4` |
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
| function au(){ | |
| case $1 in | |
| -o|*) | |
| SwitchAudioSource -a | grep output | cut -d '(' -f 1 | sed -e 's/ *$//' -e 's/$/"/g' -e 's/^/"/g' | peco | xargs -J % SwitchAudioSource -s % | |
| ;; | |
| -i) | |
| SwitchAudioSource -a | grep input | cut -d '(' -f 1 | sed -e 's/ *$//' -e 's/$/"/g' -e 's/^/"/g' | peco | xargs -J % SwitchAudioSource -t input -s % | |
| ;; | |
| esac | |
| #zle reset-prompt |
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
| let s:tweetvim_notfiy_update_interval_seconds = 2 | |
| let s:tweetvim_notfiy_timestamp = reltime()[0] | |
| let s:tweetvim_notfiy_getline_1 = getline(3) | |
| fu! s:tweetvim_notfiy() | |
| let n_current = reltime()[0] | |
| if n_current - s:tweetvim_notfiy_timestamp > s:tweetvim_notfiy_update_interval_seconds | |
| if s:tweetvim_notfiy_getline_1 != getline(3) | |
| let s:tweetvim_notfiy_getline_1 = getline(3) | |
| call system("growlnotify -m '" . getline(3) . "'") |
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
| function cdup_dir() { | |
| if [[ -z "$BUFFER" ]]; then | |
| echo | |
| cd .. | |
| ls -aF | |
| zle reset-prompt | |
| else | |
| zle self-insert 'k' | |
| fi | |
| } |
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
| sort $1 -uo $1 |
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://github.com/Cloudef/dotFiles | |
| https://github.com/SpringMT/dotfiles | |
| https://github.com/Thann/dotfiles | |
| https://github.com/akishin/dotfiles | |
| https://github.com/alwei/dotfiles | |
| https://github.com/cehoffman/dotfiles | |
| https://github.com/cocopon/dotfiles | |
| https://github.com/deris/dotfiles | |
| https://github.com/dmalikov/dotfiles | |
| https://github.com/en30/dotfiles |