Blogs for July, 2008

Connecting to localhost on a Windows virtual machine

So here’s my environment: I’m running Fedora on my laptop, with Apache, PHP, MySQL, Postgres and Ruby on Rails for my web development work. I then use VirtualBox to install a Windows XP virtual machine for browser compatibility testing.

Problem: How do I get my XP virtual machine (the guest) to see my Fedora’s localhost (the host)?  continue ...

Topics: 

Quick SVN script for automatically adding and deleting files

Here’s a quick bash script for automatically adding and deleting files in subversion. Don’t you hate having to list each one individually? Or getting all those messages that say, “the file has already been added” when you just do svn add my/directory/*. Even more of a pain if you selectively delete a bunch of files.

I use this small little script. It’s a huge time saver.  continue ...

Event Distribution: Create a custom span of events

For the Brown University Featured Events website, I needed to develop a means to use their events for other purposes around the Brown.edu websites. I ultimately created a basic way of exporting iCal, RSS and HTML of a selected span of events.  continue ...

Keep your code out of the database when developing in Drupal

As I’ve mentioned before, version control with Drupal is tricky because a lot of configuration changes are stored in the database. Version control is vital because you should be maintaining multiple workspaces so you do not work on production. The last thing you want to do, then, is to make this worse by putting PHP in your nodes and blocks.  continue ...

Events are complicated beasts

The event distribution website for Brown University is has been live for awhile now. Although it looks rather simple, the back end is quite robust (plus since it’s summer, there are no events. I posted this a little too late, oops!).  continue ...

Subscribe to Blogs for July, 2008