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
# via perldoc -f split | |
If PATTERN is also | |
omitted, splits on whitespace (after skipping any leading | |
whitespace). | |
# こう書いてあったら PATTERN は /\s/ だと思うんだけど… |
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
--- | |
- expire: 1352818747 | |
str: 世界のドキュメンタリー | |
user: fuba | |
- expire: 1334757727 | |
str: bsシネマ -シネマDO | |
user: fuba | |
- expire: 1339404726 | |
str: 酒場放浪記 | |
user: fuba |
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 | |
# libx264-hq-ts.preset -> http://d.hatena.ne.jp/munepi/20091227/1261941397 | |
use strict; | |
use warnings; | |
use File::Basename; | |
use YAML::Syck; | |
use constant { | |
FFMPEG_DIR => '/home/ec/src/ffmpeg_x264/ffmpeg', # 自分でコンパイルした ffmpeg のあるディレクトリ, ffmpeg は FFMPEG_DIR/ffmpeg にあることになる |
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
var showAllComment = function () { | |
$('.entry-block').each(function () { | |
if (!this.classList.contains('show-all-comment')) { | |
this.classList.add('show-all-comment'); | |
} | |
}); | |
}; | |
document.addEventListener('DOMNodeInserted', showAllComment, false); |
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 replaceJimmy () { | |
var wikiname = $("#firstHeading").text().replace(/\s+/g, '-'); | |
var divs = $("#centralNotice > div"); | |
if (divs.length) { | |
divs[0].style.backgroundImage = 'url("http://'+wikiname+'.jpg.to")'; | |
$("#cn-bold-blue-text").each(function(){ | |
this.innerHTML = this.innerHTML.replace(/Jimmy Wales/, wikiname); | |
}); | |
} | |
else { |
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 replaceJimmy () { | |
var wikiname = $("#firstHeading").text(); | |
var divs = $("#centralNotice > div"); | |
if (divs.length) { | |
divs[0].style.backgroundImage = 'url("http://'+wikiname+'.jpg.to")'; | |
$("#cn-bold-blue-text").each(function(){ | |
this.innerHTML = this.innerHTML.replace(/ジミー・ウェールズ/, wikiname); | |
}); | |
} | |
else { |
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
cluster 1 | |
波動砲‼‼‼ーP | |
波動砲ーーー?発射PPPPPPPPPPPPPall | |
波動砲PPPP発射ーP発射ーー?発射PPPPPPPPPPPPP | |
波動砲‼発射PPPPPPPPPPPPP | |
波動砲ーー♥♥ | |
波動砲!!鳥大学発射用all | |
波動砲?発射PPPPPPPPPPPPP | |
波動砲ーー?発射用意ポポポ | |
波動砲! |
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
% perl gen_hadouhou.pl | |
波動!! 波動波動砲ポーポ波動砲ーポポポー?波動砲! …謝ーーーーーポー?発射- http://t.co/wuWVPq1all | |
♥♥波ポ射(波動砲--!!! 宮川 ! | |
波動砲?用用ー?波動砲、 | |
波動砲×発発射! 泰 ... 波ポ発射大学ーーー?波ポーー用用用人間ごと吹き飛all | |
波動砲? | |
波動砲、 | |
波波動!用ー用意! 波動砲! http://t.co/nSfKcsz〝 | |
波動砲『波ポポーーーーポ | |
♥波動砲?波ーポ射ーーーポポ発発射! . |
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
var hideSuggestion = function () { | |
$('.a-b-j-xc-fe-z').hide(); | |
$('.a-nb-z').hide(); | |
}; | |
document.addEventListener('DOMNodeInserted', hideSuggestion, false); |
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
$ perl -MEncode -MPerl6::Say -e 'srand(time);my$y=shift;say(encode_utf8 join"",sort{rand($a)<=>rand($b)}split//,decode_utf8($y)) for (0..10);' "ゆりゆらららゆるゆり" | |
ゆららゆりゆるゆらり | |
ゆらららりゆゆりるゆ | |
らゆゆらるりりらゆゆ | |
ゆらゆゆらりらゆりる | |
ららるらゆりゆゆりゆ | |
ゆらるりらゆりゆゆら | |
らゆゆらるゆりゆりら | |
らららゆりゆりゆるゆ | |
ゆらりゆるゆりゆらら |