Category: HOWTOs

Step by step guides to help with technical issues that I have worked on over the years.

CSS Hints HOWTOs

CSS Tuesday: Overide Inline Style

How many times have you worked with either someone else’s code or some crazy dynamically generated code that uses inline styles for everything which you need to change or override but cannot for some reason or another? I have seen this a lot with custom applications written by programmers who think they are doing designers […]

Hints HOWTOs Web Development

PHP 4 or PHP 5? You Pick the Flavor

I recently ran into a situation where there were two versions of PHP on a server and I needed to make sure PHP 5 was being used. To pick the version – all you need to do is add the following into your .htaccess file (assuming you do not have access to your httpd config): […]

HOWTOs Web Development

HOWTO: Use RapidSVN for SVN

If you are a web or application developer, there will come a time (hopefully) that you will need to use subversion for your projects. While I use the command line for this – there are some GUI applications that make it easy for people to manage their files using subversion. For this documentation, I have […]

Hints HOWTOs

How to Find Geographical Coordinates

Ever need to find your location using latitude and longitude? Do a search for your destination using Google Maps and then when your destination is in the center of the map – type: into the browser address bar (no http or www) and your coordinates will appear.

Hints HOWTOs HTML/XTML Web Development

Uncheck Checkbox Values

I recently ran into a situation with a custom form where users had a number of checkboxes where the values were saved upon submit. When they went back through the form to make changes, if they unchecked something that was already checked and submitted the form again, the checkbox value would not change (not empty). […]

Hints HOWTOs WordPress

Find and Replace With phpMyAdmin (or using SQL)

Ever need to find and replace something in your WordPress database? (perhaps you changed domain names and have the old domain name or folder structure hard coded into some of your posts) You can easily update your database by using phpMyAdmin or by using the following code in any SQL interface: The first part of […]

Hints HOWTOs Web Development

Undelete Something With SVN

Ever delete something with svn (svn del) and then realize you needed it again? You can get it back by using: svn copy -r HEAD filenameyoudeleted.extension filenameyoudeleted.extension svn copy is the command to get a working copy back -r is short for revision. I used HEAD which will give you the latest in repository. You […]

HOWTOs Web Development

HOWTO Change the SVN Editor

Because I always forget…to change the text editor that svn uses with the commit messages, just type in this command (if you use bash): export SVN_EDITOR=vi *Substitute vi for your editor of choice. **Personally, I once was a pico/nano fan, then I moved to emacs, and now I am a vi person.

HOWTOs Web Development

Switch Repositories (SVN)

In order to take a look at WordPress 2.5 before it was released, I used subversion to check out the latest code available using the instructions given on the WordPress site. Once WordPress 2.5 was released, I wanted to keep my sites using 2.5 and not the bleeding edge releases (2.6) so I needed to […]