Basic vi Commands

Posted in Unix on September 20th, 2009 by phoenixdigital

When editing text files the only stock editor that comes with Unix is vi. While it’s pretty daunting for non-unix people there are really only a few basic commands you need to know.
Read more »

Tags: , , ,

Windows External Drive Backup Batch File

Posted in Programming on September 17th, 2009 by phoenixdigital

I wrote these simple files so that when you plug a usb drive into a PC it will prompt for automatic backup of data. This can be used to backup your USB drive whenever you plugin or to backup a directories on your PC to your USB drive.
Read more »

Tags: , , ,

iPhone 3.1 Jailbreak

Posted in iPhone Hacking on September 15th, 2009 by phoenixdigital

Add this hosts file entry into your system to allow Cydia to cache iTunes auth mechanism. This will enable you to downgrade your firmware in the future. more info
74.208.105.171 gs.apple.com

Currently only Jailbreak is possible on firmware 3.1 the update also upgrades your baseband which is the phonecall and modem component of your iPhone. This component is not downgradable or unlockable at present so unlocking is not possible with 3.1. If you need unlock features then don’t update until a hack is found for the baseband or at least until someone can stop the baseband upgrade happening when updating to 3.1.

If you are unsure of what the baseband is think of the iPhone OS as your computer and the baseband as your ADSL modem. Contained within the 3.1 update is an update to both the OS and the modem.

Currently for Mac users you can use the PWNAGE Tool to jailbreak on 3.1 more info

There will be more tools released in the coming days no doubt

JB Applications
The following are the common jailbreak applications that I use
SBSettings
WinterBoard
MxTube
Flashlight
Five Icon Dock
iRealSMS
Lockinfo
20 Second Lockscreen (works well in combination
with LockInfo)

Tags: , , , , ,

Installing Apache, PHP and MySQL on OSX Leopard

Posted in MySql, OS X Tips, PHP Programming on September 10th, 2009 by phoenixdigital

These instructions may not be 100% complete as I am writing this after the fact. However someone with a basic set of Unix skills can probably fill in the gaps. This post is primarily here to remind me of the basics involved. I will revisit this next time I install everything again from scratch.

Leopard comes with a built in apache server and PHP. All that is required is for PHP to be activated. MySql however is required to be installed.

Read more »

Tags: , , , , , , , ,

Kill SQL Processes in MSSQL

Posted in MSSQL on September 8th, 2009 by phoenixdigital

When trying to restore a database from a backup or perform any operation that requires full access you may be warned there are still users connected. To remove these processes you will need to go to the activity monitor of SQL Server Management Studio.
Read more »

Tags: , , ,

.Net Maintain Page Position on Postback

Posted in C# Programming, VB .Net Programming on September 1st, 2009 by phoenixdigital

A simple but useful option for .NET pages which will keep your position for postback. Place the following in the page definition.

MaintainScrollPositionOnPostback=”true”