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
#-*- coding: utf-8 -*- | |
Plugin.create :fav_rt do | |
command(:fav_rt, | |
name: 'ふぁぼ公', | |
condition: lambda{ |opt| true }, | |
visible: true, | |
role: :timeline) do |opt| | |
opt.messages.each { |m| |
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
#-*- coding: utf-8 -*- | |
Plugin.create :tetsuya_gazou do | |
command(:tetsuya_gazou, | |
name: '天使私服テツヤを表示する', | |
condition: lambda{ |opt| true }, | |
visible: true, | |
role: :window) do |opt| | |
baseurl = 'http://twitpic.com/celd93' |
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
醤油 | |
塩コショウ | |
バター | |
七味 |
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
" 行番号 | |
set number | |
" 検索履歴を20残す | |
set history=20 | |
" インクリメントサーチを使用 | |
set incsearch | |
" 検索語にマッチした単語をハイライト | |
set hlsearch | |
" 対になる括弧を強調 | |
set showmatch |
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 repos | |
mkdir shintyoku-bot.git | |
cd shintyoku-bot.git | |
git init --bare | |
cp hooks/post-receive.sample hooks/post-receive | |
echo (cd /home/teshi/public/shintyoku-bot; git --git-dir=.git pull) >> hooks/post-receive | |
cd ~/public | |
git clone ../repos/shintyoku-bot.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
Justawayマルチアカウント対応おねがいします(厚かましい) | |
30億のデバイスで走るSyobon @SyobonTech 10時間 | |
pic.twitter [dot] com な画像を受信しようとしても失敗しましたってでる? Back Keyでビューア閉じてもう一度タップすると開けたり開けなかったりする? #justaway | |
30億のデバイスで走るSyobon @SyobonTech 18分 | |
地下鉄に乗った状態(時々圏外になる環境)でJustaway使って見た際のバッテリの減りは1時間で15%ほど Twiccaとほぼ変わらないくらい Twiccaは複数回Reload 端末はNexus5、LTE、HDSPハンドオーバー複数回 #justaway | |
https://twitter.com/SyobonTech/status/416941308872105984 | |
30億のデバイスで走るSyobon @SyobonTech 21分 |
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
alias ll='ls -l' | |
alias la='ls -la' | |
alias vi='vim' | |
alias rm='rm -i' | |
alias gs='git status' | |
alias ga='git add' | |
alias gc='git commit' | |
alias gl='git log --color' | |
alias gd='git diff --color' |
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
# Prefix | |
set-option -g prefix C-q | |
# デフォルトのPrefix(C-b)を解除 | |
unbind C-b | |
# www1.hoge.com→www1のみ表示。 | |
set-option -g set-titles-string "@#(hostname | sed 's/\\\\..*//')" | |
set-option -g set-titles on | |
set-option -g status on |
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
# ログイン時にtmuxを自動起動 | |
if [ -z "$TMUX" -a -z "$STY" ]; then | |
if type tmuxx >/dev/null 2>&1; then | |
tmuxx | |
elif type tmux >/dev/null 2>&1; then | |
if tmux has-session && tmux list-sessions | /usr/bin/grep -qE '.*]$'; then | |
tmux attach && echo "tmux attached session " | |
else | |
tmux new-session && echo "tmux created new session" | |
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
git checkout - | |
一つ前のブランチに移動 |
OlderNewer