Archive for the ‘Linux’ Category

Migrate from SourceForge SVN Repository

Monday, October 27th, 2008

Today I had to migrate a project from its SourceForge SVN repository to a new standalone machine. Here’s how I did it:

First, dump the SourceForge repository to your local machine:

mkdir PROJECTNAME
cd PROJECTNAME
#Add –progress and -v for more detail during transfer
rsync -az PROJECTNAME.svn.sourceforge.net::svn/PROJECTNAME/ .

Now you need to convert the data into an SVN dump file:

svnadmin dump . > ~/PROJECTNAME.dump

You can then import this dump into a new SVN repository:

svnadmin load /path/to/new/repo/PROJECTNAME/ < ~/PROJECTNAME.dump

You can combine those last two steps into one too:

svnadmin dump . | svnadmin load /path/to/new/repo/PROJECTNAME/

Copied this from here.

Crossfire r10000 and Related Progress

Monday, October 6th, 2008

This weekend I had the honor of checking in r10000 for Crossfire.

It was checkin number 802 for me personally.

I’ve been updating all the maps x & y entrance coordinates so that when a DM teleports to the map they enter the map in the same spot a player does.  Also, I have been updating all the map difficulty level to something that is hopefully reasonable.  I guess time will tell.

Out of approximately 2800 maps, I have about 800 maps to go before I am done with this round.

Playing with python

Monday, September 29th, 2008

1643A629-33FD-49E9-86B1-8DADE41BEDD2.jpg
Show some interesting videos on showmedo regarding virtualenv and PasteScript. Go check out percious’ tutorial.

The problem is I always forget how to initial setup all this up, so I’m going to do a quick documentation of it all.

$ virtualenv projectname --no-site-packages
$ cd projectname
$ source bin/activate
$ easy_install pastescript
$ mkdir src
$ cd src
$ paster create  mypackage
$ cd mypackage
$ python setup.py develop

Dell Service Tag

Wednesday, September 17th, 2008

skitched-20080729-220246.png
I hate Dell, but people buy them because they are cheap, and cheap :-P
Here’s how to get the service tag from on linux.

# dmidecode | grep Serial\ Number | head -n1

Setup my showmedo account

Saturday, August 2nd, 2008

basictheprogram -.png
Been finding some really greate screencasts on ShowMeDo. My Page will give you more details.

Cool stuff.

Intuit and Linux?

Saturday, August 2nd, 2008

7662AB5D-28AA-4530-916E-8982F5AE5D84.jpg
Intuit and Linux? I hope not.

I use Quickbooks on Windows daily and it’s piece of crap.

Going to try QB on OSX to see if I can get more stability out of the software.

Dell sucks? BIOS upgrade and OS Recovery

Tuesday, July 29th, 2008

skitched-20080729-220246.png
Working on a Dell System Workstation 670 with a raw drive. The original drive crashed and burned.

So starts the pain.

I reach for the recovery cdrom, nadda, customer doesn’t have it. So I go to Dell’s web site and 3 hours later I have an iso to burn.

Boot the newly minted cdrom.

I get some weird error about CPUID is limited. So I do some Googlefu and find that the problem might be related to an old BIOS.

Jump into CMOS and find “BIOS Version A06 (09/12/05)” ZOMG! 2005!? Back to Dell’s crap difficult to navigate web site and find a BIOS upgrade from 2006.

Downloaded the .exe, instructions say put it on the C:, run DOS and execute the .exe. Ahhh, remember raw drive, no OS!

Ok, no DOS/Windows, so it says put the .exe on a floppy (WTF!) and boot from the floppy. When was the last time you bought a Dell with a floppy drive?

Download a DOS bootable iso image! Fark with the iso and get the BIOS update .exe onto the image. Munch it, burn it, and boot it.

BIOS .exe wants r/w media! Arrgh! Stupid!

Gave up for now. Will attempt to get a bootable windows iso image and make sure it has usb drivers and put the BIOS .exe on the usb pen drive and see if I can get this to work.

I really hate Dell and windows.

The irony, debian etch netinstall boots and installs just fine. Ditto for ubuntu hardy. Go figure.

Linghu’s signature

Wednesday, July 2nd, 2008

Linghu’s stats are finally adequate enough to create a sig, posting it for the world to see.

Great Tool!

Wednesday, May 21st, 2008

Offline NT Password & Registry Editor.png
I really don’t like running windows and when I have to I seem to forget the Admin password. Nice linux bootable ISO to the rescue. Check out Offline NT Password & Registry Editor

Wordpress 2.5

Wednesday, April 30th, 2008

Upgraded to wordpress 2.5, testing to make sure things are working.