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
require 'formula' | |
class Vim <Formula | |
url 'ftp://ftp.vim.org/pub/vim/unix/vim-7.3.tar.bz2' | |
homepage 'http://www.vim.org/' | |
md5 '5b9510a17074e2b37d8bb38ae09edbf2' | |
def patchlevel; 81 end | |
def features; %w(tiny small normal big huge) end | |
def interp; %w(lua mzscheme perl python python3 tcl ruby) end |
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
require 'formula' | |
class Skktools <Formula | |
url 'http://openlab.ring.gr.jp/skk/tools/skktools-1.3.1.tar.gz' | |
homepage 'http://openlab.ring.gr.jp/skk/wiki/wiki.cgi' | |
md5 '2168b8e6d7753088c0c1b75267eaf4ff' | |
version '1.3.1' | |
depends_on 'pkg-config' | |
depends_on 'glib' |
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 chara-ani.com direct link | |
// @namespace http://github.com/kga/userscripts | |
// @include http://www.chara-ani.com/* | |
// ==/UserScript== | |
var host = location.host, | |
pathname = location.pathname, | |
href = location.href; | |
if ( pathname.lastIndexOf('/') >= 0 ){ pathname = pathname.substring(0, pathname.lastIndexOf('/') + 1) } |
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
#!/usr/bin/env perl | |
use strict; | |
use warnings; | |
use Data::Validator; | |
use Data::Dumper qw(Dumper); | |
my %rule = ( | |
foo => { isa => 'Str' }, | |
bar => { isa => 'Int' }, |
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 utf8; | |
use Test::More; | |
use Test::TCP; | |
use Email::MIME; | |
use Mail::Address; | |
use Encode; | |
use IO::Socket::INET; |
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 utf8; | |
package Foo { | |
use overload ( | |
bool => sub { warn 'this is bool' }, | |
q{""} => sub { warn 'this is stringify' }, | |
); |
OlderNewer