2011-11-01から1ヶ月間の記事一覧

Hokkaido.pm#6で話してきます

http://hokkaido.pm.org/event/hokkaidopm6.html 10分枠をもらったので、botの話をしたいなーと思っています。 AnySanで簡単! Twitter bot AnySanで簡単! ◯◯ bot ↑今、これを実現するためにモジュールを書いています。

はてブロ

http://akiym.hateblo.com/

Acme::Collector64というモジュールを書きました

akiym/Acme-Collector64 - GitHub オリジナルのBase64を作ることができるモジュールです。 使い方はこんな感じです。 use strict; use warnings; use utf8; use Acme::Collector64; my $index_table = 'あいうえおかきくけこさしすせそたちつてとなにぬねの…

Initial commit

http://staff.hatenablog.com/entry/2011/11/24/180013

ワンライナーでExcel列名変換問題(逆変換)

Excel列名変換問題で第2回社内プログラミングコンテストを開催してみた(前編) - give IT a try より 27 → AA perl -le'$c=A;$c++for 2..pop;print$c' 追記(11月5日 0:50) AA → 27 perl -le'$n++for A..pop;print$n'

crontab tips

use strict; use warnings; use Amon2::Lite; get '/cron/regen/rss' => sub { my $c = shift; # ... $c->create_response(200, [], 'ok'); }; __PACKAGE__->to_app; */10 * * * * cronlog -- wget -O - http://localhost:5000/cron/regen/rss 2>&1