- 2014/3/15 (土) 14:00
- http://www.zusaar.com/event/4367004
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
# sshd+nginx | |
# | |
# VERSION 0.0.1 | |
FROM ubuntu | |
RUN apt-get update | |
# sshd | |
RUN apt-get install -y openssh-server |
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
# -*- mode: ruby -*- | |
# vi: set ft=ruby : | |
# Usage: | |
# $ vagrant up | |
# $ vagrant login | |
# $ vagrant share | |
# | |
# access to http://<shared_name>.vagrantshare.com |
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 Mojolicious::Lite; | |
hook before_render => sub { | |
my ($c, $args) = @_; | |
my $template = $args->{template}; | |
return unless $template; | |
my $status = $args->{status}; |
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
format /^(?<tai64>[^ ]+) (?<message>(((?:new|end) msg (?<key>[0-9]+)|info msg (?<key>[0-9]+): bytes (?:\d+) from <(?<address>[^>]*)> |starting delivery (?<delivery_id>[0-9]+): msg (?<key>[0-9]+) to (?:local|remote) (?<address>.+)|delivery (?<delivery_id>[0-9]+))?.*))$/ |
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 | |
# begincheck | |
print "10. Ordinary code runs at runtime.\n"; | |
END { print "16. So this is the end of the tale.\n" } | |
INIT { print " 7. INIT blocks run FIFO just before runtime.\n" } | |
UNITCHECK { | |
print " 4. And therefore before any CHECK blocks.\n" | |
} | |
CHECK { print " 6. So this is the sixth line.\n" } | |
print "11. It runs in order, of course.\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
package MyValidator; | |
use strict; | |
use warnings; | |
use parent 'Exporter'; | |
use FormValidator::Lite; | |
use Clone qw/clone/; |
OlderNewer