package App::Const;
use Const::Common( HOGE => 10, );
1;
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
package main | |
import ( | |
"bufio" | |
"fmt" | |
"log" | |
"net/http" | |
"net/http/httputil" | |
"os" | |
) |
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 Data::Dumper; | |
sub hoge { | |
return; | |
} |
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 mylookup(arg, range, val, blk) { | |
if (!blk) { | |
blk = " "; | |
} | |
var max = range[int(range.length-1)][0] * 2; | |
if (max <= arg) { | |
return "range over"; | |
} | |
var ret = []; | |
var key = 1; |
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 strict; | |
use warnings; | |
use utf8; | |
use Plack::Util; | |
use Data::Section::Simple qw(get_data_section); | |
use Text::MicroTemplate qw(render_mt); |
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
--> Working on WWW::Tumblr | |
Fetching http://www.cpan.org/authors/id/D/DA/DAMOG/WWW-Tumblr-5.1.tar.gz ... OK | |
/bin/tar: 未知の拡張ヘッダキーワード `SCHILY.dev' を無視 | |
/bin/tar: 未知の拡張ヘッダキーワード `SCHILY.ino' を無視 | |
/bin/tar: 未知の拡張ヘッダキーワード `SCHILY.nlink' を無視 | |
/bin/tar: 未知の拡張ヘッダキーワード `SCHILY.dev' を無視 | |
/bin/tar: 未知の拡張ヘッダキーワード `SCHILY.ino' を無視 | |
/bin/tar: 未知の拡張ヘッダキーワード `SCHILY.nlink' を無視 | |
/bin/tar: 未知の拡張ヘッダキーワード `LIBARCHIVE.creationtime' を無視 | |
/bin/tar: 未知の拡張ヘッダキーワード `SCHILY.dev' を無視 |
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
$ git diff | |
diff --git a/sqlite3.go b/sqlite3.go | |
index ac888fb..3ccfef8 100644 | |
--- a/sqlite3.go | |
+++ b/sqlite3.go | |
@@ -94,8 +94,7 @@ type SQLiteConn struct { | |
} | |
type config struct { | |
- params map[string]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
package main | |
import ( | |
"log" | |
"math/rand" | |
"sync" | |
"time" | |
) | |
type ChanPool struct { |
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
package main | |
import ( | |
"fmt" | |
"log" | |
"reflect" | |
"runtime" | |
"sync" | |
"testing" | |
) |
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
package main | |
import ( | |
"fmt" | |
"runtime" | |
"sync" | |
"testing" | |
) | |
type ChMutex struct { |