VV's Corner
my collection of random thoughts, how-to's and code snippets
RSS
  • About

Getting started with Google Geo (Maps, Mapplets & Earth) APIs

By admin On October 19, 2008 · Add Comment
There is a great quantity of quality resources to help get you started on making your first geo mashups. This page links to all those great resources from one easy location. Google Maps API Google Streetview API Google Mapplets API Google Earth API Google Earth Google Maps API Get started with the Google Maps API [...]
[Continue Reading...]

User-friendly 404 pages

By admin On August 26, 2008 · Add Comment
If a user types in or follows a URL that does not exist on a website they are usually taken to a 404 (page not found) page.  Returning a standard 404 page to your user tends to provide a less-than-optimal user experience and may cause you to lose them altogether.  A solution is now at [...]
[Continue Reading...]

Using the Google Static Maps API to include maps in your emails

By admin On August 11, 2008 · Add Comment
The Google Maps API is a great way to utilise Google’s Maps platform on your own website. The standard Maps API, however, does not work in e-mails as it is reliant on JavaScript which most (if not all) e-mail clients block. Luckily there is a solution thanks to the Google Static Maps API. The Static [...]
[Continue Reading...]

Python: Inserting characters into a string

By admin On August 3, 2008 · Add Comment
Disclaimer: I’m a Python newbie … if you know of a more efficient way let me know! I needed to take a sequence of 4 digits (eg 1145) and modify it to look like clock-time (eg “11:45″). After a bit of online (what else?) research I decided to take the approach of converting the integer [...]
[Continue Reading...]

Python: removing repeated values in a list

By admin On July 29, 2008 · 1 Comment
PLAIN TEXT CODE: list = ['one', 'two', 'three', 'one', 'one', 'four', 'two'] #convert the list into a set.  An element can only exist once within a set set = set(list) #convert the set back into a list type list = list(set) print list Are those variable names confusing? Let's look at that example again: PLAIN [...]
[Continue Reading...]

Testing your regular expression Goal URLs for Google Analytics

By admin On July 28, 2008 · Add Comment
Your dilemma: You want to create a Google Analytics Goal that defines a Goal URL using a regular expression match.  But how do you test it without having to wait 24 hours for your Google Analytics reports to be updated? Help is at hand: Regular expressions can be tested using the search box in Google Analytics [...]
[Continue Reading...]

Google Analytics and Troubleshooting AdWords Auto-Tagging

By admin On July 15, 2008 · Add Comment
When reading your AdWords reports in Google Analytics, there are many possible reasons why there may be discrepancies between Google Analytics visits and AdWords clicks.  If you see wildly different numbers for visits and clicks, the likely culprit is that the AdWords auto-tagging parameter is being stripped from the landing page URL. What happens when [...]
[Continue Reading...]

Triggering the Source Code view of the current page using JavaScript

By admin On March 29, 2008 · Add Comment
I was recently writing a demo to showcase the new Google Language API, and in my demo I did the usual thing of instructing users to View > Page Source in order to view the source code and comments. I know this is less than ideal, because it forces users to have to process the [...]
[Continue Reading...]

Recommended Mozilla Firefox add-ons (aka extensions, aka plugins)

By vinoaj On July 30, 2007 · Add Comment
This is a list of my "must-have" Mozilla Firefox add-ons. If you can recommend anything similar or better, be sure to drop me a comment. Page Analysis & SEO Minimise Nuisance Bookmark Management Download Management Productivity Web Development & Design Security Functional Extensions Tab Management Add-Ons Management Page Analysis & SEO About This Site Bookmarks [...]
[Continue Reading...]

scp Usage

By vinoaj On July 25, 2007 · Add Comment
Secure File Copy (scp) allows you to copy files between hosts using the SSH protocol. To copy from a remote host to your current host PLAIN TEXT PERL: scp -r user@remotehost:path/to/remotefiles localtarget   #-r recursive copy #you will be prompted for user's password @ remotehost To copy files from your current host across to the [...]
[Continue Reading...]
← Previous Entries
  • Recent Posts

    • Getting started with Google Geo (Maps, Mapplets & Earth) APIs
    • User-friendly 404 pages
    • Using the Google Static Maps API to include maps in your emails
    • Python: Inserting characters into a string
    • Python: removing repeated values in a list
  • Tags

    adwords analytics api auto-tagging autotagging earth gclid geo google google maps api static google webmaster tools 404 widget list mapplets maps python regex regular expressions set street streetview string view
  • Share
  • About
Build a website with PageLines