Archive for the 'Operating Systems' Category

Type a degrees symbol “°” on an iPhone

Fix: You don’t need to enable Japanese input languages or anything like that, just press and hold the zero ’0′ key and a ° symbol will pop up.

Flush DNS Cache on OS X (10.5+)

Open Terminal type “sudo dscacheutil -flushcache” (without double quotes) press Return, you’re done.

Launch Google Chrome Incognito from the terminal or a shortcut in OSX

Problem: Ok not really a problem, but I want to be able to launch Google Chrome straight to Incognito mode from a shortcut. This is useful when logging into multiple bank accounts, Google Apps accounts, or testing session based websites. etc etc etc. Fix: Thankfully the Google Chrome.app can be launched with the –incognito switch [...]

Batch rename file extensions from .jpg to .png in terminal

Problem: A client sent me 164 images with incorrect extensions on them. I needed to change them all from .jpg to .png. Fix: Open up terminal, navigate to the directory containing all the images and type: ls *.jpg | awk ‘{print("mv "$1" "$1)}’ | sed ‘s/jpg/png/2′ | /bin/sh ..that should do it! This one-liner makes [...]

Launch Google Chrome in ‘Incognito’ mode from a shortcut

Niggle: I use Google Chrome’s Incognito window mode regularly to view multiple Google Analytics accounts at the same time on one PC. It’s very useful – it means I don’t have to keep signing in and out of my primary google account – but what annoyed me each time was having to open chrome, then open [...]

How to enable FLV file playback in IIS 6

Problem: This one crops up every-so-often, and a colleague just asked me again, so it’s probably worth posting. When an FLV is loaded into a Flash app, the FLV file is ‘played’ when the SWF or Projector is run. When this is done locally – i.e. you run an SWF from your hard drive, or [...]

Vista Driver for HP Photosmart 1215…

Problem Yesterday my father-in-law needed to hook his old HP Photosmart 1215 Inkjet to Windows Vista Home Edition. HP don’t provide a Vista driver for the 1215… Solution A quick search around the web found that the driver for the Photosmart 7200 works perfectly. He tried it and says it works exactly as it should. [...]