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
set cpo&vim | |
set rtp^=~/vimbundles/vimproc,~/vimbundles/vesting,~/vimbundles/unite.vim | |
set rtp+=~/vimbundles/vesting/after |
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 ねえねえ今どんな気持ち? | |
// @namespace http://amaisaeta.seesaa.net/ | |
// @description 国分太一fier | |
// @include https://www.facebook.com/* | |
// @version 1.00.20121213 | |
// ==/UserScript== | |
(function () { | |
var aa = [ // {{{ |
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
# Twitter APIにアクセスするコードの一部 | |
# このコード以前でリクエストトークン(reqToken)は取得出来ており、reqToken.authorize_urlにアクセス、ブラウザ上にPINコードを表示している物とする。 | |
# 手元の環境(ruby 1.8.7 (2012-02-08 patchlebel 358) [i386-cygwin])では、正しいPINコードを入力しても、必ずOAuth::Unauthorizedが発生する | |
begin | |
print "Please input PIN:" | |
STDOUT.flush | |
pin = STDIN.gets | |
tokens = reqToken.get_access_token({:oauth_verifier => pin}) | |
rescue OAuth::Unauthorized => e |
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 | |
# Insert commit file names to a commit-message by automatic. | |
cp $1 $1.tmp | |
# [FIXME] ↓I'm not know other values...(Especially for "squash") | |
if [ "$2" = "message" ] ; then | |
t=$1.tmp | |
else | |
t=$1 | |
fi |
NewerOlder