Connecting Remote Secure SQL Server from Apache/PHP using freeTDS and ssh tunnel

In Mac, PHP, Server on May 7th, 2013

Connecting remote SQL Server (secure behind FW) from LAMP (or MAMP) stack. My db server called db_server was located remotely. Access to db_server was restricted to another server, mid_server. I need to connect db_server from localhost via mid_server.

Read more...

Installing PIL with JPEG support in Lion (10.7.5)

In Django, Mac on October 2nd, 2012

While working with Django, if you need to process jpeg image format you need to install libjpeg on top of PIL (Python Image Library). Process is fairly simple

Read more...