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 'rake/clean' | |
HOME = ENV["HOME"] | |
CURRENT = Dir.pwd | |
Dir.chdir HOME | |
dotfiles = FileList[".*"] | |
dotfiles.exclude(/\.$/, | |
/history$/, | |
".ssh", | |
".DS_Store", |
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 Your Location Bookmarks | |
// @namespace kurain.net | |
// @include http://b.hatena.ne.jp/* | |
// ==/UserScript== | |
(function () { | |
var KEY = 'ABQIAAAAesrOSnfHiupcC1SX4HlcpxS4Ub5LNodPnSvUeVQvSorjE2hlyhSzO7n6dOEDwvDXs9DXsJW21wCMkQ'; | |
var prefectures = { |
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
// | |
// GlyphTable.m | |
// | |
// Ryutaro Kurai | |
// | |
// Original File Name, Author and Licence. | |
// | |
// FontLabelStringDrawing.m | |
// FontLabel | |
// |
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 UNIVERSAL::require; | |
my @installed; | |
my @not_installed; | |
while (<>) { |
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 highlightOwnStar | |
// @namespace kurain.net | |
// @include http://* | |
// @include https://* | |
// ==/UserScript== | |
(function(){ | |
function main() { | |
GM_xmlhttpRequest({ | |
method:"GET", |
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
http://maps.google.co.jp/maps?q=%E4%BA%AC%E9%83%BD%E5%BA%9C%E4%BA%AC%E9%83%BD%E5%B8%82%E5%B7%A6%E4%BA%AC%E5%8C%BA%E5%90%89%E7%94%B0%E7%A5%9E%E6%A5%BD%E5%B2%A1%E7%94%BA4&oe=utf-8&hl=ja&client=firefox-a&ie=UTF8&hq=&hnear=%E4%BA%AC%E9%83%BD%E5%BA%9C%E4%BA%AC%E9%83%BD%E5%B8%82%E5%B7%A6%E4%BA%AC%E5%8C%BA%E5%90%89%E7%94%B0%E7%A5%9E%E6%A5%BD%E5%B2%A1%E7%94%BA%EF%BC%94&gl=jp&brcurrent=3,0x600108fee5e22dff:0xc7efeeb4261205e,0&layer=c&cbll=35.024289,135.788347&panoid=taZtJIfdd0Nvj5DvsQEIaQ&cbp=12,264.31,,0,-10.83&ll=35.02429,135.78835&spn=0.001524,0.002653&z=19 |
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
use strict; | |
use warnings; | |
use AnyEvent; | |
use AnyEvent::HTTPD; | |
use AnyEvent::Util qw(run_cmd); | |
use Cwd; | |
my $httpd = AnyEvent::HTTPD->new (port => 9090); | |
my $last_pid = undef; |
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
use warnings; | |
use strict; | |
use Text::MeCab; | |
use Perl6::Say; | |
my $mecab = Text::MeCab->new; | |
while(<>){ | |
chomp; | |
my (undef,undef, @elms) = 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
#!/usr/bin/env perl | |
use warnings; | |
use strict; | |
use Text::MeCab; | |
my $mecab = Text::MeCab->new; | |
while(<>){ | |
chomp; |
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
on run {input, parameters} | |
set output to do shell script "echo " & quoted form of (input as Unicode text) & " | ruby -Ku" | |
if output is "" then | |
display dialog "No output" | |
end if | |
return output | |
end run |
OlderNewer