Galengrover - galengrover.com - Galen Grover

Latest News:

Prevent committing to master with git hooks 25 May 2012 | 01:18 pm

Currently, my git workflow consists of two branches: master and dev. The master branch is the last state of my code that was verified to work 100%. The dev branch is what I branch off of to fix bugs, ...

Serving fonts with @font-face 13 Nov 2011 | 08:20 am

@font-face allows you to use any font on your web page. It is supported by all major browsers, and has actually been supported by Internet Explorer for a long time. To use @font-face, first you have ...

How to make a custom ringtone or text message sound for iPhone IOS 5 8 Oct 2011 | 08:07 pm

Add the audio file to your iTunes library Right click the file in your library and click “Create AAC Version” Drag the newly create file from your library onto your desktop Change the extension of ...

AJAX Requests and PHP 9 Sep 2011 | 05:28 am

Recently I’ve seen a lot of questions on stackoverflow about how to detect/respond to AJAX requests. It’s actually quite simple. Most of the major players in the javascript framework will send a speci...

Managing sensitive data in git projects 18 Aug 2011 | 10:35 am

Many of my projects have files that contain usernames/passwords for various services (e.g. MySQL). For a public project on Github, this is unacceptable. Here is a solution: Make a duplicate of the fi...

Linking GitHub commit messages to issues 20 Mar 2011 | 09:33 am

When performing a GitHub commit you can link the commit message to an issue: Adding this closes will close the issue and link the commit message to the newly closed issue. Alternate syntaxes: Here’...

Changing the marker icon in a Google Fusion Table 12 Nov 2010 | 04:27 pm

By default, when displaying a Fusion Table, the marker icon is a small red dot. To get a normal marker icon follow these steps: Go into the admin of your Fusion Table In the menu go to Visualize > M...

Making wordpress parent navigation items unclickable with jquery 19 Jul 2010 | 11:17 am

I’m developing a new site that has a navigation that is built dynamically via wordpress’ wp_list_pages function Navigation items that have submenus (css dropdowns) are still clickable, but for this w...

Accessing dictionaries inside lists with Django templates 3 Jun 2010 | 05:15 am

Today while working on the new SVO I ran into an issue with the coding of breadcrumbs. I wanted to pull the breadcrumb code out of each page template and put it into the header template. This is what...

CSS & Javascript image preloader 22 Mar 2010 | 12:55 pm

While building a photo gallery for a client I ran into an issue where the photos took too long to load and clicking thumbnails before all the photos loaded resulted in ugly transitions. My solution w...

Recently parsed news:

Recent searches: