Tech Thought

Tech tips, hints, and general musings. PHP, Perl, Mysql, Javascript, AJAX, JSON, Linux, Mac OSX

Entries for August, 2008

How-To: Automatically sync your iTunes library with all your computers

I’ve come across a problem – my main computer (a MacBook Pro) has all my music on it, and is hooked up to my iPhone. But I’ve just got a nice big flat screen TV and its connected to my stereo. So I want to be able to play music/movies I buy on iTunes through [...]

Leave a Comment

iPhone 2.0.2 Available on iTunes Now – Fixes optus iPhone issues?

Apple has just released iPhone firmware version 2.0.2 via iTunes. Simply plug your iPhone into your computer and you will be prompted to update. As usual, all we know at this stage is that it contains bug fixes however hopefully we’ll find out more as time goes on… Update: it’s rumoured that this update will [...]

Leave a Comment

How-To: Redirect to different URL using Javascript or META tags

If you need to redirect from one page to another, you can achieve this with either a META tag redirection or Javascript.  See below for an example.  You should provide a manual link as not all browsers support META tags – and javascript won’t work if its been disabled: <html> <head> <title>Move my domain!</title> <meta [...]

Comments (1)

How-To: Fix Problems with Google Maps and Internet Explorer: Grey Background, Clipping, Off centre etc

We’ve just developed a Google Maps application – all using Firefox – and started to test it in IE.  We were shocked to find that our map looks completely off centre and have a big grey backround across them.  Moving the map with the mouse causes them to clip and look shocking! See below: So [...]

Comments (1)

How-To: Add days to a date with Mysql

A common thing you need to do in mysql is add an interval of time to a date in a query.  Here is a simple example of how to do this: SELECT Risk.* FROM Risk WHERE (Risk.Next_Reminder_Due IS NULL OR Risk.Next_Reminder_Due < DATE_ADD(NOW(), INTERVAL 7 DAY)) This returns all ‘risks’ that either have a Next [...]

Leave a Comment

OS X: Mail Tip – Speedy filing of emails from your inbox

In Mac Mail, I like to file all emails out of inbox when processed. But I have a huge folder tree to traverse to find where to move a messg to. I liked the right-click Move To menu, but its not fast enough. My newly discovered solution: 1. Select message(s) to move 2. Click on [...]

Leave a Comment

WSP Offers Australian Based iPhone Application Development

WSP Online Solutions, a division of WSP Environmental, today launched its Australian based iPhone development services.  iPhone application development is somewhat of a niche market, given that Objective-C (the language used to development native iPhone applications) is not commonly used outside of the Mac community.  As a result, the Australian based iPhone development community is [...]

Leave a Comment

iPhone 2.0.1 Firmware update causes Carrier Update 0xE8000001 Error

I’ve just updated the firmware on my iPhone to version 2.0.1 (after much buzz on the web about its speed improvements).  The update applied fine, and my phone does seem a bit more responsive – however it throws an error regarding my carrier settings update failing each time I connect the iPhone to my computer. [...]

Leave a Comment

How-To: Remotely monitor your server with monit

moint is a fantastic utility that can be installed on Linux or Mac OS X and provides the ability to monitor services running on your server.  These could be apache, mysql, bind or any other service you need to be up and running.  After installing monit, you create a config file containing information about the [...]

Comments (1)