Making git a bit easier on me

So lately I have been having all kinds of issues forgetting to do a git pull before doing a git push. Decided to make sure that doesn't happen any more.
#!/bin/bash
# This little script just makes it easier to do all of the git things I do all at once,
# so instead of typing git add file1.fl file2.fl etc, then git pull, then
# git commit -m "blah blah blah", this let's me just type:
# gp "My commit message" all.my files.etc

args=("$@")

if [[ ${args[0]} == '--help' || ${args[0]} == '-h' || ${args[0]} == '/?' ]]; then
  echo "Usage: gp "Your commit message in quotes" filetocommit.ext file2tocommit.ext etcToCommit.ext"
  exit
fi

for (( i=1; i<$#;i++)); do
  git add ${args[i]}
done
git commit -m "${args[0]}"
git pull
git push

Setting up pdftotext and search_files on a shared host (Bluehost)

So this week I had to get search_files module for Drupal 6 running on a shared host, Bluehost, for one of my customers. I had promised that we would be able to search his PDF files, but I didn't realize that search_files, as well as search_attachments modules require a Linux command line utility named pdftotext to be installed.

I did request that Bluehost install it on my box and was told that anything requiring root access wasn't going to happen.

Fine, maybe I can run it myself, after all, I did get SVN running on Bluehost, how hard could it be?

VirtualBox OSE on Kubuntu

Here are a couple of pointers on getting VirtualBox OSE running on Kubuntu from my recent install.

VirtualBox OSE

Powered by Drupal, an open source content management system