Monthly Archives: March 2013

How to specify an SSH key with git, without using a config file

There are a number of ways to do this, but for me setting up an ssh config file was not practical or desirable. I wanted to be able to make a fabric script that becomes a user (that does not … Continue reading

Posted in git, Linux | Comments Off on How to specify an SSH key with git, without using a config file

Use UTF-8 as the default encoding for postgres databases

To avoid problems with encoding if you forget to change from the default SQL_ASCII when you create a database, I find it is best to set the default to UTF-8 whenever I set up a new server. One less thing … Continue reading

Posted in postgres | Comments Off on Use UTF-8 as the default encoding for postgres databases

PHP Fatal Error: Error Number: 8192 Message: Function split() is deprecated

This annoyance popped up when I was moving a site from an old RedHat 4.4 server to a new ubuntu 12.04 server. [Error message: [PHP Fatal Error: Error Number: 8192 Message: Function split() is deprecated Replacing the split() function with … Continue reading

Posted in PHP | Comments Off on PHP Fatal Error: Error Number: 8192 Message: Function split() is deprecated

Raspberry Pi (raspbian) drops wireless connection after openvpn is started

Whenever the tap0 or tun0 device came up, my wireless connection would go down within a couple seconds. This was frustrating. I found that there is a file /etc/default/ifplugd that needs to be edited. Make it look like this: INTERFACES=”auto” … Continue reading

Posted in Linux, raspberry pi | Comments Off on Raspberry Pi (raspbian) drops wireless connection after openvpn is started

Install deCSS on Ubuntu 12.04

You’ll need this to play encrypted DVD’s on your linux box. Installing it is easy but I can never remember the trick. sudo apt-get install libdvdread4 sudo /usr/share/doc/libdvdread4/install-css.sh

Posted in Linux | Comments Off on Install deCSS on Ubuntu 12.04