If you setup your iPhone and iPad to connect to Google as an Exchange server, you get instant push notifications of mail and sync your calendars and address book. And in my experience it works great. But syncing under Mac OS X can sometimes be slow to update. So I wrote this little program to force an update immediately. It’s been useful to me, so I thought I put it here if someone else needed it.
Tag Archives: mac
Geotag your DSLR images using your iPhone GPS and a Mac
Geotag images using an iPhone
One of the nice things about modern camera phones and even some regular cameras uses GPS to tag photos and embed the coordinates in the pictures EXIF data. But wouldn’t it be great if you could do that with your fancy DSLR camera photos as well? Programs like iPhoto, Aperture and the upcoming Adobe Lightroom 4 can show you your pictures on a map. Many online photo sites like Flickr also uses the GPS data in the pictures to display them on a map. Continue readingAsus PA246Q ProArt Professional monitor review

Asus PA246Q ProArt Professional monitor
To be able to really get the most out of your images, you need a color accurate monitor. You usually have to pay a lot of money to get a good monitor that’s factory calibrated and uses a IPS panel, a panel type that is better at showing correct colors than the more common (and cheaper) TN panels. But there are some reasonably priced monitors. One of them is the Asus PA246Q ProArt monitor. It’s factory calibrated and even ships with a printout of the calibration result from the factory. You can set the monitor to sRGB or Adobe RGB 1998 color space directly on the front controls of the monitor. It’s also has fairly high resolution with 24″ size 1920×1200 pixels.Continue readingiPad, useless expensive toy?
After buying my 32G 3G iPad I was a bit worried that it would become yet another victim of my impulsiveness. The first day with it, I was convinced that I’d get bored within the week and having it ending up on my mountain of cool but never used electronics. But during the weeks I’ve used it, it’s becoming indispensable. Checking out Twitter with Twitter for iPad. Reading news on FlipBoard (which has the most beautiful design of all news readers), answering mails, making plans with OmniFocus for iPad, chatting with IM+ and using the calendar (naturally synced to Google Calendar) for booking appointments. It’s now an essential part of my daily life. I’m also starting to hate the noise of my Macbook. With the iPad, it’s really quiet.
My favorite commands in .bash_profile on Mac OS X
Here’s some additions to my .bash_profile for making life easier. I especially like that completion now ignores case. Makes navigating the file system so much faster. Givem a spin.
export HISTCONTROL=erasedups export HISTSIZE=10000 shopt -s histappend set completion-ignore-case on
DNS problems with Snow Leopard 10.6
I’ve had some bizarre problems with my DNS today. I checked /etc/resolv.conf but everything looked ok. Checked the settings dialog for my network and at first glance, that one seemed ok as well.

But normally there should be a dimmed version of the DHCP assigned values there.

Just select the empty one and press the minus sign. Sneaky little bug there!

Save your settings and you should be good to go.
Getting Perian 1.1.4 to work Snow Leopard 10.6 to work
There’s a problem with getting Perian to work in Snow Leopard. But there’s a quick fix outlined here, but If the PreferencePane is installed to only the current user, you need to paste the following into the terminal:
cd cd Library/PreferencePanes/Perian.prefPane/Contents/Resources/Components cp Perian.zip ~/Downloads cp CoreAudio/A52Codec.zip ~/Downloads cp QuickTime/AC3MovieImport.zip ~/Downloads cd ~/Downloads unzip AC3MovieImport.zip unzip A52Codec.zip unzip Perian.zip sudo mv Perian.component/ /Library/QuickTime/ sudo mv AC3MovieImport.component/ /Library/QuickTime/ sudo mv A52Codec.component/ /Library/Audio/Plug-Ins/Components/
MAMP WordPress and Error establishing a database connection
I’ve installed MAMP on my Mac to do some changes to my blog. I tried to set the WordPress wp-config.php file to connect to localhost:8889, but got an error that It could not connect to the database. After replacing localhost:8889 to 127.0.0.1:8889 it works. My quick guess is that permissions for the root user is set to allow connections 127.0.0.1, but not localhost. Anyway, it works now.
My wp-config.php file looks like this:
define('DB_NAME', 'wordpress'); /** MySQL database username */
define(‘DB_USER’, ‘root’);
/** MySQL database password */
define(‘DB_PASSWORD’, ‘root’);
/** MySQL hostname */
define(‘DB_HOST’, ’127.0.0.1:8889′);
