Skip to content

Instantly share code, notes, and snippets.

@yappo
yappo / gist:219253
Created October 27, 2009 02:43 — forked from gfx/gist:218491
雲一つ無いいい天気!
@yappo
yappo / hoge.pl
Created December 9, 2009 02:43 — forked from http-engine/hoge.pl
my $s1 = "\x3d"; # =
print $s1 . "\n";
my $text = 'hogehogeho\x3dhogehoge';
$text =~ s/\\x([0-9a-z]{2})/pack 'H2', $1 /ge;
print "$text\n";
@yappo
yappo / gist:308576
Created February 19, 2010 09:17 — forked from miyagawa/gist:308569
#!/usr/bin/perl
use strict;
use File::Basename qw(basename);
use File::Temp 'tempfile';
sub get($);
sub mirror($$);
sub untar;
if (eval { require LWP::Simple }) {
@yappo
yappo / 01_base.t
Created November 10, 2010 12:07 — forked from monjudoh/01_base.t
use JSTAPd::Suite;
sub tests { 11 }
sub include {
(
# /Users/monjudoh/Sites/callendar-demo/js/config-require.js
'/js/config-require.js',
'/js/allplugins-require.js',
);
}
@yappo
yappo / gist:838340
Created February 22, 2011 07:41 — forked from mattn/gist:838338
(function(ns) {
var r = typeof window != 'undefined' ? window : this;
[].forEach.call(ns.split("."), function(v) { r = r[v] = {} })
})("mattn.hasegawayosuke.tokuhirom")
mattn.hasegawayosuke.tokuhirom.Miyagawa = function() {
alert('それPla')
}
mattn.hasegawayosuke.tokuhirom.Miyagawa()