Programming

Ssh with password saved

Ssh is a very convenient way to remotely command or control other devices. We use ssh to push commits to git server, to access remote server, and even to manipulate…

Convert character encoding in PHP

Usually while we extract information from other websites, character encoding might not correct. For example, j-jis.com is encoded with Shift-JIS. Therefore if your MySQL charset is UTF-8, it causes incorrect…

Ruby on Mac OSX

In Mac, Ruby is preinstalled. You can open Terminal and input the followings to view the version of Ruby installed in your Mac Update Ruby. You might want to update your…

Making use of Adobe Script

I have been using adobe products such as illustrator and photoshop for years to support my works. The lastest work would be making icons for my Chrome Extensions =]. Adobe…

Get temporary folder path in VBA

It is normal to create temporary files and folders to facilitate the process in programs. Apart from doing it in your working directory, why don't we make use of the default temporary folder built…