Category Archives: technology

Notes on software engineering topics, plus occasional rants.

No NIC on a Windows 7 VMWare image

Today I ran into trouble configuring a Windows 7 guest on a Linux host: Windows 7 couldn’t find an appropriate driver for the virtual NIC. The solution was in this forum post. Basically, I had to manually edit the VMWare image’s .vmx file (while the virtual computer was turned off) and add the following line:

Deploying Fat Free CRM to Heroku

I just finished deploying a Fat Free CRM install with all the under-development plugins to Heroku. Starting out with Saturn Flyer’s write-up, I learned a few things along the way, and now I have a cool Rails-based sales app to play with. Working with a read-only filesystem The biggest stumbling block I had was realizing

How to Extract Craigslist Locations with Nokogiri

Solace is a web app I created to search multiple Craigslist locations for the same query. It uses YQL to make the search, but in order to generate the YQL queries I first needed to generate a list of all valid Craigslist locations. Update: Full source code for Solace is now available on GitHub. There

CiviCRM Views 2 integration with a remote CiviCRM database

Note: This is an outdated, unmaintained, archived post. Proceed with caution. The Views integration module released with CiviCRM as of version 2.2.8 works best if your CiviCRM and Drupal databases reside on the same server and are accessible by the same username and password. However, there are cases when this will not be so: Your CiviCRM

Linux: Remove all empty files from a directory

One-liner to remove all empty files from a directory: % ls -s | grep -e ‘^ 0′ | sed ‘s/^…//’ | xargs -n1 rm -v Or these two, suggested by Jameson Williams on the Portland Linux/Unix Group (http://www.pdxlinux.org/): 1. find . -empty -maxdepth 1 -delete 2. find * -prune -empty -exec rm {}\;

Problems and Solutions to Problems: Views 2, CiviCRM, and Drupal 6

The following is a quick run-down of problems you might run into using Views 2 integration with CiviCRM 2.2.3 and Drupal 6 (or higher): Update (11/20/2011): This is an outdated, unmaintained post. Proceed with caution. Update (12/24/09): I recently added a new issue to this list, after updating a site to Drupal 6.15: CCK fields

Vim for Thunderbird: Muttator extension External Editor extension

In my quest for the Holy Grail of daily Internet use (IE, how to get vim-style keybindings and modular editing with everything), I finally — at 6 a.m. this morning — was delivered. Update (11/28/2011): This post is out of date and no longer maintained. Here are the steps I suggest as a method for recovering

Even Better GNU Screen

GNU Screen is one of my favorite applications because of its simplicity and usefulness. And, as a fairly new user, I am constantly discovering features and awesome ways to interface it with my systems. Following are some tips and links I’ve picked up that have vastly improved my screen experience, including how to save region

CiviCRM 2.2.3: Fatal error in custom code after upgrade

The upgrade to CiviCRM 2.2.3 changed the sequence of data returned by the civicrm_contact_get() function in api/v2/Contact.php. If you’ve written any code against the CiviCRM API that uses this function, then 2.2.3 will probably break it. Errors will likely show up anywhere that you depend on the array returned by civicrm_contact_get(). You will need to