How To

How To Restore Drupal from backup on a linux server

This is part 2 to the previous How To (how to backup drupal using linux)
If you followed the previous tutorial to create your backups, then this tutorial will allow you to quickly restore Drupal to the previous version.


How to backup and upgrade drupal to latest version on a linux server using ssh and simple shell commands

If you use Drupal you will be both pleasantly surprised and frustrated by the frequency of updates and security patches.

This How To will help you quickly backup and upgrade your Drupal installation via ssh and simple shell commands.
You must have ssh access to your server in order to follow this tutorial.


How-to switch from Windows to Linux.

Switching from Windows to Linux can seem a daunting task. Hell switching from any OS to any OS can seem daunting and invoke fear and frustration into anyone. This post is my attempt to minimize both the fear and frustration.

There are several things you will need to do in order to make a smooth transition from Windows to Linux. Many of these steps are equally important and of course importance changes based on individual taste / needs, so the order of steps presented here are simply my recomendation.


How to write shell scripts in Perl

First a really quick Perl tutorial.

What is Perl?

Perl is a great language for almost anything. The syntax is consice and Perl makes simple things simple and makes hard things possible or so the motto goes.
Perl is one of the best languages there is for manipulating text and also makes an excellent glue language because Perl allows you to choose your quote opperater, supports here documents, and has built in regular expressions.  Perl also has a bad reputation for looking like line noise for the same reasons listed above.


How to JailBreak the iPhone 3g 2.1 using Windows

This is the best and easiest to follow method for jailbreaking the iPhone 3g on Windows.
Disclaimer: Jailbreaking your iPhone could void your waranty.
I am in no way responsible to any damage that may result by following this tutorial, so proceed at your own risk!

This method works really well and does not require any patches to get iTunes working.

Before you start, make sure you are running iTunes 8 and make sure your iPhone is running version 2.1
To see what version your iPhone is running goto Settings / General / About on your iPhone.


How to backup your N800 in Linux

First you need to be able to login to your N800 as root. just install the openssh package and it will ask for new root pass you have to ssh root@localhost to get root on the N800 Now, from your linux box, lets say you want to backup your n800 to /backups/n800/ from a terminal type
mkdir backups/n800
now login to your n800 Make sure you are not connected to the n800 via USB
ssh root@n800ip
where n800ip is the ip address of your n800 I didn't have any luck with rsynch or scp because of looped symlinks so use the tar across network method
tar -cf

CVS list revisions

Most CVS gui's like Cervisia and Tortoise have this built in.
Doing this from a terminal is a little more difficult.
Unfortunately you have to check out the module before you can get information about it (really?)


mp3splt

mp3split is an awesome command line utility to split long audio files using silence detection.
It takes some playing around with to get used to all the options, but it is extremely powerful.

dvgrab / ffmpeg capture / compression

Recently I volunteered to record video for the DrupalCamp Seattle 2008. It quickly dawned on me that to record 10 hours of video, bring it home and capture it to disk and then compress it would take 30+ hours. Also, that wouldn't be anywhere close to live and they were hoping to post the video as soon as possible. Since I am only running Linux on my laptops now, I decided to see what could be accomplished via command line tools in Linux. I quickly stumbled on ffmpeg and dvgrab. DVgrab can capture raw dv from firewire and has features for detecting scenes when capturing from tape.

HowTo Setup a Wildcard SSL Cert in CPANEL / WHM running Apache 2

After reading several blogs saying this was not possible I almost gave up on this, but finally got it working - wohoo!