Archive for the ‘Geek’ Category

Storing encrypted password in Perforce

Friday, December 11th, 2009

I want to write a nightly script that does the following sync to source code to the latest version build the project run the built project. The first problem I run into is that Perforce requires a password to login, but I don't want to expose my password in the script as plain text. ...

Orientation

Monday, November 10th, 2008

Today is my first day at the new company. I spent the first half of the day reading employee manuals, which are so boring that I had to exceed my normal dose of caffeine to stay awake. The second half of the day I wrestled with eight login accounts and eleven passwords: one for ...

Large Sensor Compact Camera?

Saturday, September 6th, 2008

In the coming 2008 Photokina, I am hoping to see a compact camera with APS size sensor. My dream camera should look like a range finder type, such as the Richo R8 or Leica D-LUX. A fast 28mm lens would be great. I don't want to see a long zoom ...

Installing Django on Ubuntu 8.04 (Hardy Heron)

Tuesday, July 15th, 2008

Goal: install Django SVN release on Ubuntu 8.04, working with Apache2, mysql, and mod_python. Step 1: Install apache, mysql, and mod_python sudo apt-get install apache2 mysql-server libapache2-mod-python python-mysqldb Step 2: create a new database "mysite" and a new user "django" with password "password" in mysql $ mysql -u root -p mysql> CREATE DATABASE mysite CHARACTER ...

Automatically startup fvwm in Cygwin

Sunday, April 20th, 2008

I have been using poderosa to manage multiple cygwin windows. However, poderosa remaps the key bindings for some common tasks. For example, if you want to copy from a cygwin window within poderosa, you need to use Alt+C instead of Ctrl+C, which is not very convenient. In the end, I find ...