Programming

Anything related to manipulating computers to act in the way we want them to.

Hard Drive Click of Death Fix

My buddy had a laptop die, seems his mother board was fried one way or another.. I got a usb enclosure for the hard drive so he could have his data, at first it mounted fine, then it suddenly stopped. At first I thought it was the enclosure (or hoped it was) but upon some testing realized the hard drive was doing the horrible click of death.

Drupal 6 Flash interface via Views, Views Node Feed, and XML (w/ Imagecache bonus)

We are making a flash 'headline widget' that reads from a view and I had the job of getting the information 'to' flash. XML was my first thought but eventually started solving via flashvars. flashvars was clunky and ugly, though we did get it working.

Something inspired me to go the XML route even after it was "solved", which should have been the obvious choice in the first place. I came across http://drupal.org/project/views_node_feed which unfortunately wasn't ported to 6. Fortunately, someone had written a patch (http://drupal.org/node/298695#comment-1256975) which worked.

Seeing if your drupal core is hacked

I have been hired to debug someone's drupal installation as their previous developer basically stopped talking to them. They are in pretty rough shape, they have a couple custom modules that are working together, a lot of the code is broken, stuff is really jacked up.

Facebook Application for feeding my blog's RSS to facebook

I followed the tutorial here and it seemed to work like a charm!

The only edit I made that wasn't recommended was to edit the number of items being displayed in rss.php

I will likely make other customizations as I go along, but it was very simple up to this point.

Creating a zen subtheme in drupal 6 with ssh and vi

This tutorial assumes you have ssh access to your site (or are local) and can use wget and tar. If you already have zen installed and just want to make a subtheme, skip to secion 2.

Secion 1- Installing Zen

SSH into your site, cd to /path/to/drupal/sites/all/themes

If you haven't installed any custom themes you will need to make the themes folder:

cd /path/to/drupal/sites/all
mkdir themes

Ubutntu Studio 8.10

I just received a Dell Vostro 220 I bought about a week ago from dell. I needed a new computer for the new office, and dell had these computers for a very good deal.

My only gripe is that I was forced to buy Vista, which amounts to $100. My machine was $409 dollars, including a 22" Monitor. Nearly a quarter of that went to Microsoft, and, as I had no intention of ever even booting into Vista, I am slightly annoyed.

Syndicate content