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 fillin_hatena_diary_twi_content_with_title | |
// @namespace http://shiba-yu36.net/ | |
// @description fill in hatena diary twitter content with title in edit. | |
// @include http://d.hatena.ne.jp/*/edit | |
// @include http://d.hatena.ne.jp/*/#edit_in_place | |
// ==/UserScript== | |
(function(){ |
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 count_tweet_words_in_hatena_diary | |
// @description はてなダイアリーの編集時、twitterへ投稿する欄の文字数を表示 | |
// @namespace http://shiba-yu36.net/ | |
// @include http://d.hatena.ne.jp/*/edit | |
// ==/UserScript== | |
(function(){ | |
function xpath(query) { |
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 expand_twitter_notation | |
// @description はてなダイアリー編集中にtwitter記法を展開する | |
// @namespace http://shiba-yu36.net/ | |
// @include http://d.hatena.ne.jp/* | |
// ==/UserScript== | |
(function() { | |
var tweet_cache = {}; //tweetのキャッシュ |
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 expand_fotolife_notation | |
// @description はてなダイアリー編集中にfotolife記法を展開する | |
// @namespace http://shiba-yu36.net/ | |
// @include http://d.hatena.ne.jp/* | |
// ==/UserScript== | |
(function() { | |
var extention_map = { |
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 | |
ssh-agent | grep -v echo > "${HOME}/.ssh/agent-env" | |
. "${HOME}/.ssh/agent-env" | |
ssh-add | |
echo "please type:" | |
echo ". ~/.ssh/agent-env" |
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
use strict; | |
use warnings; | |
use OAuth::Lite; | |
use OAuth::Lite::Consumer; | |
my $ua = LWP::UserAgent->new; | |
my $request_url = 'http://gdd-2010-quiz-japan.appspot.com/oauth/5c2cac6d69ddbc14c5b30bcb'; |
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
use strict; | |
use warnings; | |
use String::Random; | |
use DateTime; | |
use URI::Escape; | |
use Digest::HMAC_SHA1 qw(hmac_sha1); | |
use MIME::Base64; | |
use LWP::UserAgent; |
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
#!perl | |
use strict; | |
use warnings; | |
use XML::Feed; | |
my $url = 'http://f.hatena.ne.jp/shiba_yu36/rss'; | |
my $open_search = "http://a9.com/-/spec/opensearchrss/1.0/"; | |
my $hatena = "http://www.hatena.ne.jp/info/xmlns#"; |
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
#!perl | |
use warnings; | |
use strict; | |
use LWP::UserAgent; | |
my $title = 'エントリタイトル'; | |
my $excerpt = 'エントリ要約ですよ'; | |
my $url = 'http://d.hatena.ne.jp/shibaTest/20101022/p1'; | |
my $blog_name = 'Dive into the Tech World!'; |
OlderNewer