Stopping Ubuntu opening F-Spot when I plug in my iPhone
When I installed Ubuntu, every time I plugged in my iPhone it popped up a prompt asking me what to do about the digital music/photos. After clicking “do nothing” for months I decided to let it open F-Spot to import my photos. This is all well and good, but it now pops up f-spot whenever [...]
Automatic Windows Process Dump Script
I have a laborious task at the moment, of exporting our server process list to see how much memory certain programs are using. I was getting a little bored of remote accessing the server through VNC so decided to use a BAT file to do the work for me. However the problem was, I wanted [...]
CSV file of Windows Process list
If you need a CSV file of the currently running processes in Windows you can use the task manager command line tool. C:> TASKLIST.EXE This will dump the task list to the screen. But there are several options you can use: C:> TASKLIST.EXE /V /FO CSV > filename.csv The above will produce a nicely formatted [...]
PHP App Testing
Think: “What am I testing?” 1) Set-up Instantiate your class Look for dependencies, are there any that need mocking? 2) Exercise We test our real objects that need testing, or mock objects that don’t but are required by SUT (System Under Test) 3) Verify Real object results Expectations of mocked objects 4) Tear down Destroy [...]