- Fetch from git repository
- Satisfy deps by reading tbd.json (git repo + SHA1/commit-ish) and recursively run install
- Run hooks (e.g. perl Makefile.PL)
- Optionally, run tests
ref http://yapcasia.org/2014/photos
- PCばかり見るのはやめましょう。
- 画面ばかり見上げるのはやめましょう。
- 良い笑顔を見せましょう。
- 身振り手振りを時折入れましょう
- もし視界にカメラマンの人が見えたら、あちこち歩き回るのは一瞬やめてバックパネルの前に陣取りましょう
- もし視界にカメラマンの人が見えたら、そちらの方向に体を向けてあげましょう
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
ADDR=$(docker inspect $CONTAINER_NAME | perl -ne '/"IPAddress": "([^"]+)"/ && print "$1\n"') | |
echo "host-record=$CONTAINER_NAME,$ADDR" > /etc/dnsmasq.d/docker-$CONTAINER_NAME | |
service dnsmasq restart |
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
# At this point I'm just inching towards sending a request to the upstream. | |
# So first goal is to make http1client_connect() to succeed... | |
# Instead I get this. | |
# I wonder why chunked.on_setup_ostream is being called twice, thus (I believe | |
# is causing the assert to fail) | |
# Note: upstream server is NOT running, so I'm expecting a failure to connect. | |
shoebill% ./h2o | |
Creating filter of size 40 | |
inserted new filter at 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
perl -MData::Dumper -MConfig::General -E ‘$Data::Dumper::Indent = $Data::Dumper::Terse = $Data::Dumper::Sortkeys = 1; say Dumper(Config::General->new(“filename”)->config) |
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
print "Hello, $ARGV[0]\n" |
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
#!perl | |
use strict; | |
print <<EOM; | |
Hello, World! | |
EOM | |
exit 0; |
- InputReader - Reads from os.Stdin or file
- RawListBuffer - Buffers output from InputReader
- QueryFilter - Receive stream of Line objects, and filters according to user query
- FilteredLineBuffer - Buffers output from QueryFilter
- PagedLineBuffer - Type of FilteredLineBuffer, but creates a "paged" view of the filtered buffer, so it can be displayed to the terminal
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
package peco | |
import ( | |
"log" | |
"os" | |
) | |
type traceLogger interface { | |
Printf(string, ...interface{}) | |
} |
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
diff --git a/lib/MojoMojo/Schema/Result/Page.pm b/lib/MojoMojo/Schema/Result/Page.pm | |
index 102844e..2bc94db 100644 | |
--- a/lib/MojoMojo/Schema/Result/Page.pm | |
+++ b/lib/MojoMojo/Schema/Result/Page.pm | |
@@ -6,7 +6,7 @@ use Carp qw/croak/; | |
use base qw/MojoMojo::Schema::Base::Result/; | |
-__PACKAGE__->load_components( "PK::Auto", "Core" ); | |
+__PACKAGE__->load_components( "PK::Auto", "UTF8Columns", "Core"); |