04
Apr
2013
david

Troubleshoot Drupal Cronjobs

I ran across this gem of a drush script while troubleshooting a Drupal cron job that wouldn’t run successfully:

26
Aug
2011
david

Bash One-liner to Remove Old Kernels in Ubuntu

I had 800MB of space taken up by old kernels, header files, and kernel modules. On most modern systems, this is no big deal. On my netbook, with it’s 30GB ssd, every gig is precious.

11
Aug
2011
david

Setting up Ruby 1.9.2 and Rails 3.0.9 using RVM

 Ruby Version Manager (rvm) is a shell function that lets you easily switch between versions of ruby (and their corresponding gems). These instructions walk you through installing rvm, ruby, and rails on linux for a single-user setup (files kept in ~/.rvm). Following these instructions as root should set everything up for a multi-user installation.

23
Jun
2011
david

Installing recent versions of drush on Ubuntu

There’s a ppa repository that has drush 4.4 at https://launchpad.net/~brianmercer/+archive/drush.

You can add it from the commandline using:
sudo add-apt-repository ppa:brianmercer/drush; sudo apt-get update;
Then install it from the commandline using: sudo apt-get install drush

22
Jun
2011
david

SimpleTest API Docs

I couldn’t find any decent API documentation for the SimpleTest drupal module, so I regenerated them using Doxygen and posted them here.

API docs for the SimpleTest framework itself are found here.

10
Jun
2011
david

Vanity Metrics vs. Actionable Metrics

Reading up on what makes useful metrics, I ran across this quote:

“There’s nothing wrong with [tracking hits, unique visits, etc] per se, but at the end of the day, there are really only 2 measurements worth knowing:

  • Did your prospects activate?
  • Did your new users come back?”

(http://blog.500startups.com/2011/02/08/build-a-killer-product-faster-the…)

11
Feb
2011
david

The Importance of Caching

Even a minimal amount of caching can greatly boost your site’s performance. Here’s a comparison on dmwl.net of no caching vs. drupal:

23
Jan
2011
david

Getting Clockworkmod to Work on the Samsung Fascinate

With a rooted phone, you can use ROM Manager (from the android market) to install Clockworkmod and backup your phone.  Unfortunately, with the Samsung Fascinate, you have to do some mucking around in the command line before Clockworkmod can install itself.

http://forum.xda-developers.com/showthread.php?t=804248

07
Jan
2011
david

Learning a New Field

  1. Definitions & Terminology
  2. Fundamentals
  3. Concepts & Big Picture (how does everything tie together)
  4. Ask questions!
  5. Assumptions (derivating helps you understand what assumptions are being made)
Subscribe to dmwl RSS