Category Archives: Tech

Custom JavaScript String Functions

I’ve created some missing native JavaScript String function to trim, convert to camel case, to underscored and to dashed formats. Here is the trim() function (gist page): And the toCamelCase() function (gist page): And the toDashed() function (gist page): And … Continue reading

Posted in JavaScript, Tech | Tagged , , , | Comments Off

Showing selected drop-down option in WordPress archive select menu

I needed to show as selected, the option in the WordPress archives drop-down menu (<select>) corresponding to the current page address. One possibility was to alter the get_archives_link(…) function in the /wp-includes/general-template.php. Doing so meant the modification would get over … Continue reading

Posted in php, Tech | Comments Off

My git frequent commands

I’m writing this only for my own usage, so I have a place to find them when I need them. Do all of the following from within the local git project folder. Initializing a repository Then create your repository on … Continue reading

Posted in git, Tech | Tagged | Comments Off

Why use Google hosted jQuery

Here are the benefits of using the Google hosted jQuery libraries: By using the Google hosted jQuery libraries, since many applications use the Google infrastructure, when someone comes to your application, the Google hosted files may already be loaded into … Continue reading

Posted in HTML, JavaScript, Tech | 1 Comment

iPhones can do anything!

I just downloaded the free WordPress iPhone App, from the iTunes App store, and within two minutes I was writing this post. I’m having a vision of a new world, in the not too distant future, where us humans will … Continue reading

Posted in Tech | 1 Comment

SSH and SCP with keys instead of passwords

I’m writing about this bit of useful shell scripting, mostly so I know where to find it when I might need it again. I needed to set up automatic backups using a shell script in Mac OS X, to copy … Continue reading

Posted in Bash/Shell Scripts, Tech | Comments Off

ZIP Code Nerdiness

I’ve been playing around with some web services, trying to gather ZIP code data, but quickly realized that it would take forever to gather up all of the US ZIP codes—there are just under 80,000 of them. So I bit … Continue reading

Posted in php, Tech | Comments Off