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
require 'rubygems' | |
require 'oauth/consumer' | |
OAuth::VERSION = 1.0 | |
print 'Consumer Key > '; consumer_key = gets.chomp.strip | |
print 'Consumer Secret > '; consumer_secret = gets.chomp.strip | |
consumer = OAuth::Consumer.new(consumer_key, consumer_secret, | |
{:site => "https://api.login.yahoo.com", | |
:request_token_path => "/oauth/v2/get_request_token", | |
:authorize_path => "/oauth/v2/request_auth", |
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
" ////// options ///////////////////////////////////////////// | |
" ex mode でインクリメント補完 | |
set wildoptions=auto | |
" :[tab]open の補完対象と順序 | |
set complete=tsl | |
" Change the title of the browser window. | |
set titlestring="vimperator!!" |
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
// ==UserScript== | |
// @name Twitter with Favotter | |
// @namespace http://gist.github.com/607622 | |
// @include http://twitter.com/*/status/* | |
// ==/UserScript== | |
(function () { | |
// Favotter URL | |
var favotter = "http://favotter.net/"; | |
// CSS |
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
find * -name "*\.png" -maxdepth 0 -exec convert -strip -crop 1600x2200+0+0 -type GrayScale -threshold 80% -resize 600x800 -quality 80 {} r_{} \;;\ | |
zip archive.zip r_*;\ | |
rm -f r_* |
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/sh | |
/Applications/Firefox4beta.app/Contents/MacOS/firefox -P "4.0beta" > /dev/null 2>&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
function! ToggleJSLintHighlightErrorLine() | |
if g:JSLintHighlightErrorLine == 1 | |
let g:JSLintHighlightErrorLine = 0 | |
else | |
let g:JSLintHighlightErrorLine = 1 | |
endif | |
JSLintUpdate | |
endfunc | |
autocmd FileType javascript nmap ,e :call ToggleJSLintHighlightErrorLine()<CR> |
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
@charset "utf-8"; | |
/* | |
* このファイルを編集して userChrome.css という名前で | |
* [プロファイルディレクトリ]/chrome/ | |
* ディレクトリにコピーしてください。 | |
*/ | |
/* | |
* このファイルを使って Mozilla のユーザインターフェイスの見た目をカスタマイズ | |
* できます。デフォルト設定を上書きする場合は !important 宣言を使ってください。 |
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
// ==UserScript== | |
// @name expand tiqav on new twitter | |
// @namespace http://gist.github.com/742072 | |
// @include http://twitter.com/ | |
// @include http://twitter.com/#!/* | |
// ==/UserScript== | |
(function () { | |
function addJQuery(callback) { | |
var script = document.createElement("script"); | |
script.setAttribute("src", "http://ajax.googleapis.com/ajax/libs/jquery/1.5.2/jquery.min.js"); |
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
#facebox { | |
position: absolute; | |
top: 0; | |
left: 0; | |
z-index: 100; | |
text-align: left; | |
} | |
#facebox .popup{ |
OlderNewer