Monthly Archives: December 2009

Create an iPhone ringtone on Mac

This “how to” will guide you through the process of making an iPhone ringtone from a mp3 file using free tools on Mac OS X. I’m pretty sure most of those steps can as well be reproduced on Windows, since … Continue reading

Posted in How to’s | Tagged , | 1 Comment

“Building boot caches” error when changing startup disk

Once I tried to change the default startup disk on my Mac running Snow Leopard and the following error appeared: “you can’t change the startup disk to the selected disk. Building boot caches on boot helper partition failed”.

Posted in Solutions | Tagged | 5 Comments

“Failed to expand the files” error

Getting “failed to expand the files” while installing Canon camera software, such as ZoomBrowser Ex? Just turn off your antivirus.

Posted in Solutions | Tagged , | Leave a comment

BBEdit preview shows raw PHP code

If your BBEdit preview shows raw PHP code, go to “Preferences” and configure a “HTML web-site” with “Use local preview server” ticked.

Posted in Solutions | Tagged , | Leave a comment

Launch character palette using AppleScript in Snow Leopard

tell application “CharacterPalette” to activate There is an issue though: the new character palette doesn’t get “bound” to any of the applications, therefore double-clicking a symbol doesn’t paste it automatically to the text field. You’d have to drag-and-drop. I’m posting … Continue reading

Posted in Programming | Tagged | Leave a comment

Restrict page access to authorized MODx managers only

A while ago I needed to create a private zone with documentation, accessible only by the MODx managers. In order to restrict access I wrote a simple snippet, which you can now use as well.

Posted in Programming, Releases | Tagged | Leave a comment

Add an <option> to a <select> using Mootools

var newoption = new Option(“option html”, “option value”); try { $(‘myselect’).add(newoption, null); } catch (err) { $(‘myselect’).add(newoption); } To select the newly created option: newoption.setProperty(‘selected’, ‘selected’);

Posted in Programming | Tagged , | Leave a comment