written by mizchi at 小物エンジニアの会.
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
diff --git a/webapp/perl/cpanfile b/webapp/perl/cpanfile | |
index e3d6103..944b12e 100644 | |
--- a/webapp/perl/cpanfile | |
+++ b/webapp/perl/cpanfile | |
@@ -2,3 +2,6 @@ requires 'Kossy' => '0.12'; | |
requires 'DBIx::Sunny' => '0.17'; | |
requires 'DBD::mysql' => '4.022'; | |
requires 'Starman' => '0.3003'; | |
+requires 'Starlet'; | |
+requires 'Cache::Memory::Simple'; |
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
# -*- mode: sh -*- | |
_cpanm() { | |
local cur prev | |
COMPREPLY=() | |
cur=${COMP_WORDS[COMP_CWORD]} | |
prev=${COMP_WORDS[COMP_CWORD-1]} | |
opt_bool=(--verbose --quiet --interactive --force --notest --test-only --sudo --installdeps --showdeps --reinstall --mirror-only --prompt --self-contained --self-upgrade --version --dev | |
--with-all-features --with-develop --without-develop --pp --pureperl |
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
require "singleton" | |
class Option | |
def map(f) | |
flatmap(->(x){option(f.call(x))}) | |
end | |
end | |
def option(value) | |
if value == nil |
Each of these commands will run an ad hoc http static server in your current (or specified) directory, available at http://localhost:8000. Use this power wisely.
$ python -m SimpleHTTPServer 8000
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
use strict; | |
use warnings; | |
use feature 'say'; | |
use AE; | |
use AnyEvent::IRC::Server; | |
use AnyEvent::IRC::Util; | |
use Getopt::Long; | |
use Yancha::Client; | |
use LWP::UserAgent; | |
use AnyEvent::IRC::Client; |
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
use strict; | |
use warnings; | |
use Test::More; | |
BEGIN { | |
use List::Util (); | |
no warnings 'redefine'; |
ChefとかPuppetとかの勉強会です
次回があるかはわかりませんが、今回はChef成分多めになっております
Twitterハッシュタグ #pfcasual
IRCチャンネル #chef-casual@freenode