Upgrading Homebrew-installed Postgres 9.3 to 9.5

February 8th, 2016 by Geoffrey Hing | No Comments

I didn’t read the instructions when I let PostgreSQL get upgraded from 9.3 to 9.5 with brew upgrade. This is what I had to do to migrate my data after I had already upgraded: # Switch back to the previous version of postgres, postgis brew switch postgres 9.3.5_1 brew switch postgis 2.1.4_1 # Start the […]

Replacing hinge in plastic-framed glasses

May 27th, 2013 by Geoffrey Hing | 24 Comments

I’ve broken numerous pairs of sunglasses at the hinge where the temples connect to the rest of the frame.  As frustrating as it was to just toss the otherwise useful glasses, it just seemed like too much hassle and expense to try to fix them.  The surfaces seemed too rough and small to solder the […]

Escaping attribute selectors in LESS

December 18th, 2012 by Geoffrey Hing | No Comments

I had a really rough time finding any documentation about how to do this.  To escape attribute selectors in LESS, you have to escape the selector and wrap the escaped string in parenthesis:

Installing numpy into a virtualenv

December 6th, 2011 by Geoffrey Hing | No Comments

I ran into some problems installing numpy in a virtualenv on Ubuntu 10.10.  I’m not sure what the root cause of the problem was, but my environment is a little weird in that I have a number of different python versions installed and virtualenvs using different versuons of python.  The setup for numpy wasn’t finding […]

Installing VMware Server 2.0.2 with Linux Kernel 2.6.31-*-rt Ubuntu Studio 10.04

March 8th, 2011 by Geoffrey Hing | 1 Comment

I’m working on a virtualized environment to run scalable instances of the Public Mapping Project app. While the project offers an EC2 AMI, my boss wanted to run this on our own hardware, so we’re going to use VMware.  To develop the instance images, I wanted to install VMware Server 2.0.2-203138 on my notebook which […]

Enabling WordPress Facebook login for existing user

December 12th, 2010 by Geoffrey Hing | No Comments

I’m using the WP-FacebookConnect plugin to let users log in using their Facebook accounts for some of the WordPress-based sites I’ve created. I noticed that Facebook login wasn’t enabled (and regular login was broken) for users I created through the Users page in the WordPress Admin. I found that manually assigning a variable that linked […]

Importing relationships into CiviCRM

December 1st, 2009 by Geoffrey Hing | 4 Comments

As part of my work at the Center for Research Libraries, I am investigating different Constituent Resource Management (CRM) systems.  One of the options is CiviCRM, a popular FLOSS CRM.  As CRL is, in large part, a membership organization, I wanted to see if it was possible to represent the basic information that we keep […]

Backing up and verifying files in Mac OS

March 3rd, 2009 by Geoffrey Hing | No Comments

There are some interesting backup tools for system backups (Time Machine) but I want to just be able to copy and verify a directory (and its children).  I’ve heard that the commercial product Retrospect provides copy and verify functionality, but I’m cheap. This is the method that I used.  I’d be interested on hearing feedback […]

hfs+ on linux

February 27th, 2009 by Geoffrey Hing | No Comments

I got a new MacBook from work and need to migrate files from my old Dell notebook running Xubuntu Linux.  Luckily, I had recovered a drive from a bricked machine that was donated to pages that I could use to transfer the files. I don’t like the Fat32 file system, so I formatted the external […]

fixing sound in debian

September 22nd, 2008 by Geoffrey Hing | No Comments

I’m running debian lenny/sid with  kernel 2.6.26-1 on my workstation and for a while, my audio hasn’t been working in most applications (I was most annoyed by the lack of sound in flash), though it has been working in amarok.  I was getting error messages like this when trying to do audio playback.  These particular […]