Archive for January, 2010

Dropbox is awesome

If you haven’t gotten Dropbox, get it now. Dropbox is a backup tool that lets you sync your files between multiple computers. You simply install the software on all computers you want to sync your files on. Then simply drag and drop your files into a folder that Dropbox software creates on your desktop and voila the files are now also on your other computers. No more need for a usb stick.

Need another reason to get it? Consider this situation, all you computers crash (days, months, years after installing Dropbox) and you loose all your work, all you have to do is download Dropbox again on your new operating system and the files are there again just like before. Visit Dropbox here and get 2GB free plus bonus 250mb for total of 2.25GB free.

Get a sense of safety by using one of my new favorites programs, Dropbox.

WordPress and Google Maps

Are you having issues implementing your Google map API into WordPress?

Problem
Wordpress inserts <p> tags to every line and therefore your JavaScript does not execute the way it should.

Solution(kind of)
Insert <?php remove_filter (‘the_content’, ‘wpautop’); ?>? at the beginning of <?php the_content(); ?> of your template file. This will remove <p> tags on every page of your blog. This solution is not great however your Google Map API JavaScript will work.

Best Solution
Download the PHP Execution plugin and install it in the plugins folder. This plugin allows you to? execute php code in your posts/pages. Once you have installed this plugin, go to your post/page and insert <?php remove_filter (‘the_content’, ‘wpautop’); ?> at the beginning or anywhere before the map JavaScript code. Then insert your Google maps API JavaScript. Your code should work as it did on a regular html page without affecting the format on other pages of your blog.