MAMP and Drupal Version Control API

I recently installed the Version Control API Drupal module to give it a test run. Unfortunately it did not work right out of the box. I was getting the following error when trying to refresh my svn logs through my sandbox Drupal site running in MAMP:


dyld: lazy symbol binding failed: Symbol not found: _iconv_open
Referenced from: /usr/lib/libaprutil-1.0.dylib
Expected in: /Applications/MAMP/Library/lib/libiconv.2.dylib

dyld: Symbol not found: _iconv_open
Referenced from: /usr/lib/libaprutil-1.0.dylib
Expected in: /Applications/MAMP/Library/lib/libiconv.2.dylib

After some googling for a while, it became apparent that the svn binaries that are installed by XCode Tools just needed to be updated.

svn add - excluding the files directory

I use bash script that I found on GotDrupal for adding and removing files from svn using a regular expression. I normally use the command for simple tasks, like the ones shown in the video on GotDrupal, but today I used a regular expression that took me a few minutes to get working.

I wanted to add everything in my local development environment to the svn repository except for the files directory. The first thing I did was add my Drupal install non recursively, then with my handy svngrep command added the rest of the directories, except for the files directory.


svn add -N drupal
cd drupal
svngrep '^\?.*[^( files$)].*$' add

Using AppleScript for Automation

For the couple past months I've been working really hard to streamline my process of Getting Things Done by implementing automation into my workflow. One way I am accomplishing automation is by using AppleScript. With AppleScript I can automate tasks that I would normally have to use my keyboard and mouse to accomplish. Even if the original task only takes me 15 seconds to accomplish, by writing an AppleScript I can turn a 15 second task into a 1 second task by executing a trigger in Quicksilver that will fire my AppleScript. Not only am I boosting my productivity by saving time to finish a given task, I'm also saving energy by automating mundane work that I really don't want to do any way. A quick way for me to lose momentum and energy in my day is doing mundane, repetitive work.

It's been a while

It's been a while since I've actually used this site, so I'm deciding to break the cycle by posting something. It's been a crazy 8 months. I've learned and used some pretty cool stuff the past 8 months including jQuery, AppleScript, XML, SOAP, Web Services, and of course Drupal.  I even went back to school at VVC at night to finish up some general studies so that I might one day get a Bachelors Degree.  I just need to complete two more classes at VVC to transfer to CSUSB as Junior.  Not sure when I'm going to finish those classes, but hey, I'm closer to getting a degree, hooray.

MAMP and PDFlib

I mainly use MAMP when developing web applications locally. MAMP is great because you can easily switch from PHP4 to PHP5, it's very easy to configure, and everything is built into one package.  However I do have a second development environment setup on my machine.  I also use the package that Marc Liyanage made available, but I only use this environment if I am dealing with PDFlib, because PDFlib does not work with MAMP.  It's lame having projects in two different development environments depending on if I need PDF support.

Got a Soekris 4801

I've been keeping my eye on embedded computers lately, particularly the Soekris 4801.  Well, I finally bought one.  These little computers are really cool.  You can install Linux or BSD on these little devices and pretty much have them do whatever you want.  I didn't get a hard drive with mine, I'm going to use an old 512 MB Compact Flash card to hold the OS, which will be more than enough room for what I'll be using it for.

You can use these embedded systems for a variety of things, but I am going to install m0n0wall on this device. As it says on the m0n0wall web site:

Polycom 501 Contact Directory

I finally found the format of the directory.xml file for my Polycom 501 IP phone after searching the web for about a half hour looking for it. Where better place to keep the format than in the Polycom Admin Guide.  I found an entry on voip-info.org, but it didn't mention all the XML elements I could use. So being the curious guy that I am, I had to know all the options available to me.

I'm reposting the doc page here so google can index it, and if I forget and need a reminder of what the XML elements are Google might lead me back here.

 

Getting ready for BADCAMP

Well I just arrived here in Berkeley after about 7 hours in the car with my wife and two toddlers. We bought portable DVD screens that mount on the back of the front passenger head restraints before we started our journey. The screens worked great for the first six hours of the trip, but the last hour on the road was a little crazy with my son. Luckily he fell asleep about 10 minutes after I turned off the screens.

I'll be attending BADCAMP at the UC Berkeley campus this weekend. It's an “un-conference” based on community knowledge, sharing and collaboration.  I look forward to meeting a lot of people and learning a lot while I'm here.

OmniFocus and the power of AppleScript

If you've heard of GTD and you're an a mac, than you've probably heard of OmniFocus by OmniGroup. I've been using the Sneaky Peak of OmniFocus for quite some time now since I switched from iGTD after a couple weeks of use in that program. I must say that I've really enjoyed using OF. It just has that macness quality to it where it looks good and works even better.

Share your keyboard and mouse with other computers

I recently heard about a really cool open source software program on Leo Laporte's radio show "The Tech Guy". It's called Synergy. The software allows you to share the keyboard and mouse of one computer with other computers, and it does this all through software, no hardware needed. The typical way of doing this in the past was by installing a hardware KVM switch that you physically hooked your keyboard and mouse up to (and video, if you want), and then had to either physically press a button on the switch, or press a hot-key on the keyboard to have your keyboard and mouse switch to the other computer.

Prod


Dev

Spanish