fork the system!

Using Git to patch drupal modules

As a Drupal Developer, I often find myself needing to submit patches back to One easy way to do this is to use git. Because git is a distributed version control, it can just be used locally. This is perfect for making a quick patch.

Here is how I go about doing it. I enter the module dir (this is one of the nice things that I do not have to worry about getting it from cvs). then I init git and add the files i need (or all for good measure) and do a commit

git init && git add * && git commit -m "start"

grep history (gp)

I wrote a little bash function to help me find past commands that I have run. It just greps history and comes back with unique entries. I am sure there is a better way to do it (that has been done already) but this is my way.

function gh ()
  history |sed -e 's/^ *[0-9]* //' | grep $1 |sort | while read line; do
    if [ "$line" != "$old" ]; then
      echo $line

after putting this in my .bashrc

I can now do things like
>gh cd
and it will list all of the directories into which i have changed

Created Drupal Module for Parsing all fields of RSS

I wrote the FeedAPI exhaustive parser for a phase2 project. The other parser in the drupal feedAPI, only parsed the core atom and RSS fields leaving alot of data behind. The FeedAPI Exhaustive Parser, goes and gets the rest and makes it available to rest of drupal.

First Blog post for phase2

I made my first post on my new company (Phase2technology) today, kind of neat to be posting from elsewhere on the web (with someone editing your content!).

Tag Heterarchical Tree

Off and on I have been playing around with the idea of a heterarchy tree for navigating through content, and I want to talk some more about it.

A heterarchy is a system of organization replete with overlap, multiplicity, mixed ascendancy, and/or divergent-but-coexistent patterns of relation (wikipedia)

Syndicate content