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
// ==UserScript== | |
// @name twitter-average-length2 | |
// @namespace http://www.hatena.ne.jp/mollifier | |
// @include http://twitter.com/* | |
// @include https://twitter.com/* | |
// ==/UserScript== | |
// Fork of twitter-average-length.user.js (http://gist.github.com/402749) | |
// original author is hitode909 (http://gist.github.com/hitode909) | |
// 日付文字列のパース処理に eval を使用しないように変更 |
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/bash | |
# Description: | |
# Backlog + git-flow + WIP PR script | |
# Usage: | |
# wip-pr pj-123 | |
# | |
# Requirement: | |
# use Mac OS X |
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
if which peco &> /dev/null; then | |
function peco_select_history() { | |
BUFFER=$(fc -l -n -r 1 | \ | |
peco --layout=bottom-up --query "$LBUFFER") | |
CURSOR=$#BUFFER # move cursor | |
zle -R -c # refresh | |
} | |
zle -N peco_select_history | |
bindkey '^R' peco_select_history |