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
javascript:(function(){function%20$x(xpath){var%20tmp=document.evaluate(xpath,document.documentElement,document.createNSResolver(document.documentElement),XPathResult.ORDERED_NODE_SNAPSHOT_TYPE,null);var%20result=new%20Array();for(var%20i=0;i<tmp.snapshotLength;i++){result.push(tmp.snapshotItem(i));}return%20result;}var%20xpt='//table[@class="list_desc_innertable_text"]//tr[th[text()="<>"]]//td';var%20title=$x(xpt.replace(/<>/,'%E3%82%BF%E3%82%A4%E3%83%88%E3%83%AB')+'/font')[0].innerHTML;var%20circle=$x(xpt.replace(/<>/,'%E3%82%B5%E3%83%BC%E3%82%AF%E3%83%AB')+'//a')[0].innerHTML;var%20genre=$x(xpt.replace(/<>/,'%E3%82%B8%E3%83%A3%E3%83%B3%E3%83%AB')+'//a')[0].innerHTML;var%20author=$x(xpt.replace(/<>/,'%E4%BD%9C%E3%80%80%E5%AE%B6')+'//a')[0].innerHTML;location.href='http://clip.livedoor.com/clip/add?link='+encodeURIComponent(location.href)+'&title='+encodeURIComponent(document.title+'%20-%20'+title)+'&tags='+encodeURIComponent('%E5%90%8C%E4%BA%BA%20'+genre+'%20'+circle+'%20'+author)+'&jump=myclip';})(); |
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 melonbooks permalink | |
// @namespace http://fuba.moaningnerds.org/ | |
// @description append permalink to melonbooks book id | |
// @include http://shop.melonbooks.co.jp/shop/list/* | |
// @require http://gist.github.com/3238.txt | |
// ==/UserScript== | |
var ids = $X('//tr[./th[contains(text(), "商品番号")]]/td'); | |
ids.forEach(function(item){ |
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
#!/usr/bin/perl | |
use strict; | |
use warnings; | |
my @text = map {+[grep {!/\n/} split //, $_]} grep /\*/, <DATA>; | |
my %index; | |
my %points; | |
for my $y (0..$#text) { | |
for my $x (0..$#{$text[$y]}) { |
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
#!/usr/bin/perl | |
use strict; | |
use warnings; | |
my @text = map {+[grep {!/\n/} split //, $_]} grep /\*/, <DATA>; | |
my %points; | |
for my $y (0..$#text) { | |
for my $x (0..$#{$text[$y]}) { | |
my $char = $text[$y][$x]; |
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
#!/usr/bin/perl | |
# 鶴 | |
# 鶴 | |
# 鶴 | |
# 鶴 | |
# 鶴 | |
# 鶴 | |
# 鶴 | |
# 鶴 |
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 twittersangokushi.googleimage | |
// @namespace http://fuba.moaningnerds.org/ | |
// @include http://ninth.jp/twitter/app/sangoku.php?id=* | |
// @version 0.2 | |
// ==/UserScript== | |
// This code is stolen from http://www.kagami.org/wikipedia_googleimage/wikipedia_googleimage-0.2.user.js | |
(function () { |
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
#!/usr/bin/perl | |
use strict; | |
use warnings; | |
use File::Slurp; | |
use YAML; | |
my @text = read_file(shift); | |
my %cl; |
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
#!/usr/bin/perl | |
use utf8; | |
use strict; | |
use warnings; | |
use Encode; | |
use URI::Escape; | |
use File::Slurp; | |
my $q = ($ENV{QUERY_STRING}) |
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
<script src="http://www-cdn.justin.tv/javascripts/jtv_api.js"></script> | |
<div id="display"></div> | |
<script language="javascript"> | |
var gid = document.getElementById; | |
var event_names = ('buffering stop_buffering buffer_full buffer_empty stream_lost'+ | |
' video_not_found playing_playlist_video connected started'+ | |
' broadcast_finished total_viewer_count stream_viewer_count').split(/ /); |
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 Twittfilter for hitode909-RT | |
// @namespace http://d.hatena.ne.jp/send/ | |
// @description twitter filter | |
// @include http://twitter.com/* | |
// @include http://mobile.twitter.com/* | |
// ==/UserScript== | |
// | |
(function (){ |