Archive for the 'Programming' Category

Autocomplete using tab in windows command line prompt

Wednesday, March 12th, 2008

One of my bug-bears for years has been the lack of auto-completing in the windows CMD promt.
I have always used *nix tools like cygwin to provide this.
Now I find out that this has been built in for years….
It was simply disabled.
The fix is very easy. A Registry edit:
HKEY_CURRENT_USER/Software/Microsoft/Command Processor/CompletionChar= 9
Thats it.
This is a microsoft fix. [...]

SSH Tunneling for mySQL GUI tools from Windows to a production Linux server

Saturday, March 1st, 2008

I thought I might add another simple tip.
When I am messing around with a wesite… I spend a lot of my time creating, editing and manipulating the databases.
Any commercial Hosting Service, worth their salt, will block port 3306 to mysql.
It is a simple and basic security measure, that must be left in place.
So I [...]

Getting KCacheGrind for xDebug on Windows with KDE

Friday, February 29th, 2008

As I am playing around with xDebug, I need a profile file GUI. I tried WinCacheGrind, but as it is two years out of date, I wished to try KCacheGrind as well.
So, how do you install a Linux KDE application on windowsXP?
As it turns out, quite easily.
Here’s how…
1. download the installer to C:\KDE4 from here:
http://download.cegit.de/kde-windows/installer/
2. [...]

Simple tricks for Windows Programming automation using batch files

Friday, February 29th, 2008

I thought I might mention a few of the simple tricks I use when I am developing…
Keyboard assigned Shortcuts
I often need to restart apache very regularly, ie: every other minute.
This is a real bore when I have to find either a GUI or and command prompt. So I set up shortcuts in windows..
I create batch [...]

How Microsoft caused apache & php_mysql.dll to fail…using VISTA (dwmApi.dll)

Wednesday, February 27th, 2008

The Background
Last week I discovered I had quite a few viruses etc.. on my laptop. So I needed to reformat the hard-drive and re-install WindowsXP before I started my new job.
Now before I did all this, I made sure I had a complete back-up of everything off the machine. NB: this is my main development [...]

Why Git

Wednesday, February 20th, 2008

I suppose the first thing you should do is watch the videos.
Here is Linus Torvalds explains GIT philosophy to googleTech:

WPvideo 1.10

Download!

And Randal Schwartz with more details about using GIT

WPvideo 1.10

Download!

You should now know enough to realise why GIT….
If you are still in egypt… de nile… then here are some thinking points.
these are coming as soon [...]

Finding a working PHP eBay API…

Thursday, July 19th, 2007

If you are trying to understand the eBay communication APIs, then you have commited yourself to a BIG leaning curve.
As I have walked the walk already(I worked for eBay), I hope my experiences can help those who follow me up this monumental path..
All eBay programming APIs are designed to talk to the exposed eBay services. [...]

Byting the hand that feeds you…