Tony Lea

Howdy, Welcome to My Blog

February 16, 2012

Getting to know your MediaTemple (dv) server

Written by Tony Lea - 4 minute read

So, you finally upgraded from a Grid/Shared server and moved to a Dedicated Virtual (dv) server. MediaTemple sure knows how to entice people with their fancy graphics and awesome looking server images. Now, I know you didn't purchase this server just...

February 14, 2012

Impress JS - Truly Impressive Javascript

Written by Tony Lea - 1 minute read

If you haven't had a chance to checkout Impress JS yet, then I would highly recommend doing so. What is Impress JS? Why... Thanks for asking. Impress JS is a light-weight javascript library for displaying presentations in your web browser. The Impres...

February 6, 2012

Coda - The ultimate web development tool

Written by Tony Lea - 1 minute read

So, when I first switched to a mac, the IDE that fell in my lap was Coda. I was absolutely amazed at what this wonderful IDE app could do for me. I had heard a lot of people talking and praising TextMate so I decided to venture over to TextMate and s...

February 2, 2012

Why's Poignant Guide to Ruby

Written by Tony Lea - 1 minute read

You're a PHP programmer and you know all about the latest and greatest frameworks. You are also pretty good with Wordpress themes and plugins. PHP seems to be the language for you... But, there's one framework... Or better yet 'language' that you ke...

November 10, 2011

Wordpress Multi-site from Sub-domain to Sub-directory

Written by Tony Lea - 1 minute read

As many of you may know since Wordpress 3.0+ it is pretty easy to turn your single wordpress site into a multi-user or multi-wordpress site. If you are unsure of how to change from a single site to a multi-site, you can check out this article for How...

November 9, 2011

Creating a simple PHP login without a database

Written by Tony Lea - 2 minute read

So, what if you want to create a simple PHP script without having to create a new database for a simple admin log-in to gain access to a certain page. Well, in this post I will run you through a 1 page php file that will allow you to have a log-in pa...

November 7, 2011

Creating a Jquery Exit Popup

Written by Tony Lea - 1 minute read

Isn't it super annoying when you visit a website and upon closing the page a Javascript alert Pops up and asks you if you really want to leave or stay on the site. Instead a less annoying way of doing this would be to use Jquery and when the users cu...

June 24, 2011

jQuery Horizontal Scrollbars

Written by Tony Lea - 1 minute read

We all know that horizontal scrollbars are hideous. So, wouldn't it be nice if we had a simple way to represent horizontal overflow? Well, thanks to a few javascript functions and some dinking around, I have put together a jQuery plug-in that will sh...

June 16, 2011

Expand your short URL's

Written by Tony Lea - 1 minute read

When working on a project I found that I needed a simple solution that would allow me to expand or unshorten a short URL. I'm sure you know what short URL's look like: http://bit.ly/mwyBzI Anyway, there are several ways to do this. My first attempt ...

June 10, 2011

PHP Detect if non-english

Written by Tony Lea - 1 minute read

If there ever comes a time when you wish to detect whether a string has english characters or not... There is a very simple way of representing this in PHP. Here is a PHP function which will return true if the string contains english characters or i...

1 2 3 4 5 6 7 8 9 10 11 12 13