« October 2010 | Main | January 2011 »

November 2010

26 November 2010

installing node.js on ubuntu 10.04

It was easy to install node.js on my ubuntu 10.04 below.

./configure
make
make install

As additional information, I didn't install around ssl library. I got an error like below.

Checking for function SSL_library_init : not found
Checking for header openssl/crypto.h : not found

Then I installed libssl-dev by running following command.

$ sudo apt-get install libssl-dev

Yes, I installed node.js so far.

$ node -v
v0.2.5

24 November 2010

Yahoo! Media Player

via mediaplayer.yahoo.com

It looks like easy being able to add audio player on your blogs. I expect to support more media type like video.

02 November 2010

plural

I forgot how to display plural in Perl. Though I read Advanced Perl Programming before. Then it's solved by Lingua::EN::Inflect.

$ perl -MLingua::EN::Inflect=PL -le 'print PL("blog", 2)'
blogs

By the way, in python world, pipy has same module named inflect.

$ easy_install inflect
$ python
>>> import inflect
>>> p = inflect.engine()
>>> p.plural('blog', 2)
'blogs'

Okay, if I forgot again, first of all I'll search my blog :)

0596004567 Advanced Perl Programming
Simon Cozens
Oreilly & Associates Inc 2005-08-30

by G-Tools

Access Ranking

Powered by Six Apart
Sponsored links