ブログ

Unpack Ruby Pack

Today someone asked me an interesting question: how can I print a string in hexadecimal in ruby?

A helper method to create a lot of Hash objects

There are some situations in which you need to create a lot of Hash objects, such as creating dummy data for a test or benchmark.

git-svn: Can’t locate SVN/Core.pm

To import subversion repository to git, I get the following problem

Installing of the perl subversion binding solved this problem.

Install your own ssl certificate

First you must create your ssl certificate

You setup your certificate in apache config file

Tell postfix not to send email to local

We want to config the server can only send emails, can NOT receive emails from local or remote. Because our domain is pointed to this server, But our email server is on Google Enterprise. So before If we want to send email from the server, It first looks up locally, and send to local directly, [...]