Author Archives: randall
Extracting First and Last name from a single field in a drupal content-type
It is possible to extract the first or last name from a single field in a drupal content-type using the computed_field module. Here were my steps, taken from the drupal structure guide : install computed_field and dependencies % drush dl … Continue reading
Expanding LVM Partition on Ubuntu 8.04 LTS with VMWare
power off VM edit settings in vmware client to expand hard drive to desired size (i went from 15G to 40G) power on VM parition the expanded area (/dev/sda3 in my case) fdisk /dev/sda Create a physical volume for LVM: … Continue reading
reset snow leopard firewall to defaults
originally from http://www.google.com/url?sa=t&source=web&cd=1&ved=0CBIQFjAA&url=http%3A%2F%2Fforums.macrumors.com%2Fshowthread.php%3Ft%3D406592&ei=MNVWTNWbFYq8sQOh4aXaAg&usg=AFQjCNEedaVs_julrXp8dLwD0CWg31aMUA “It sounds like a bad Application Firewall configuration (missing the exceptions that allow configd, mDNSresponder, and racoon). Restore from the defaults:” sudo cp /usr/libexec/ApplicationFirewall/com.apple.alf.plist /Library/Preferences/com.apple.alf.plist
No-Click Hover Links using Drupal & Nice Menus
I encountered a problem while viewing a Drupal site with Nice Menus on an Android whereby you could not get to the submenu when clicking on the parent links. On an iPhone a single-tap is taken 1) set URL for … Continue reading
Ways to disable emailed output or mail alert by crontab
Prevent the sending of errors and output by crontab For a entry-by-entry method to prevent the sending of errors and output, add any one of the following at the end of the line for each cron job to redirect output … Continue reading
The Chork :: Chopsticks & Fork
The Chork :: Chopsticks & Fork. See you later spork.
Zen Theme and Nice Menus – CSS Block Padding Issue
this fix was originally found here (http://www.1drupal.com/content/zen-theme-and-nice-menus-block-padding-issue) but i’m reposting in case that site goes away… when using a customized Drupal Zen Theme, and Nice Menus instead of the standard Primary Navigation Menu extra padding can appear above or below … Continue reading
Graphing wind speed and direction using rrdtool and Wunderground.com XML Feeds
Create windspeed RRD data file: rrdtool create sbwind.rrd \ –start 1127253600 \ DS:wind:GAUGE:600:U:U \ DS:gust:GAUGE:600:U:U \ RRA:MIN:0.5:1:600 \ RRA:MIN:0.5:6:700 \ RRA:MIN:0.5:24:775 \ RRA:MIN:0.5:288:797 \ RRA:AVERAGE:0.5:1:600 \ RRA:AVERAGE:0.5:6:700 \ RRA:AVERAGE:0.5:24:775 \ RRA:AVERAGE:0.5:288:797 \ RRA:MAX:0.5:1:600 \ RRA:MAX:0.5:6:700 \ RRA:MAX:0.5:24:775 \ RRA:MAX:0.5:288:797 Create … Continue reading
Cannot complete WindowsXP repair/install in Safe Mode, Setup continually retarts from black Safe Mode screen
if you receive the message “Cannot complete WindowsXP repair/install in Safe Mode, Setup continually retarts from black Safe Mode screen.” while trying to repair a broken Windows XP installation here are the steps to resolving the problem, as found at … Continue reading