shelling

Thursday, June 6, 2013

啟動 Mac OS X 的 OpenLDAP

›
三部曲 1. slappasswd 建立新的 rootpw 2. 編輯 /etc/openldap/slapd.conf 內的 suffix, rootdn, rootpw 3. slapd -d 255 Reference: starting OpenLDAP on ...
Monday, August 6, 2012

LWP Chunked Way

›
在讀取 || 傳送大量資料的時候,可以利用 IO::* 這類模組去一次讀取其中一段資料 (Chunk) 就寫入暫存檔 || 送出,來避免對記憶體造成負擔的手法可說相當常用。也是 HTTP Server 用來做 Streaming 或是 Long Polling / Comet...
Saturday, March 31, 2012

class variables in Moose

›
Moose attribute didn't allow the reference rather than a CODE reference as a default value. That prevents the objects shared a attribute...
Saturday, March 3, 2012

Mysterious Timestamp

›
時間轉換大概是最惱人的「小」問題之一,每個語言的標準處理方式不盡相同。Perl 的 localtime() 是月份從 0 開始到 11 結束,Ruby 的 DateTime 是月份是從 1 開始的,不過 Perl 的 DateTime 月份也從 1 開始 (LOL)。背誦...
Thursday, October 27, 2011

meet git-p4

›
For some reasons, in recent works I have to use Perforce, the revision control system used by Perl core team before 2008 . Unfortunately, ...
2 comments:
Saturday, April 9, 2011

Arrange bashrc

›
A simple recursive function can have aid on arranging bashrc files in a clear structure. Add a line to source it in ~/.bashrc first, and t...
Friday, March 25, 2011

MySQL 5.5.10 homebrew install issue

›
Coming after the mysql 5.1.52 homebrew install issue , the just released mysql 5.5.10, which solved the previous problem, has another issue....
1 comment:
Tuesday, November 30, 2010

Tasting Perl6

›
At the moment that the first release of Rakudo Star has been announced over four months, binary packages or tested build in package manager...
Tuesday, November 23, 2010

Intro to App::CLI

›
My first meet with App::CLI is in the summer of 2008, trying to write JiftyX::Fixtures . Without abundant PODs coming with this module, it ...
Saturday, November 13, 2010

Keep favorite info pages in $HOME

›
Info is a handy document system most emacs fans love. We can learn Info, Emacs Basics, Emacs Lisp, Magit and blah blah blah through the syst...
›
Home
View web version

About Me

Unknown
View my complete profile
Powered by Blogger.