Tony Lea

Howdy, Welcome to My Blog

June 30, 2012

Keeping your Node Server running Forever

Written by Tony Lea - 1 minute read

Yeah, it's really cool that you can start your node server from a terminal window by typing 'node server.js', but then you close the terminal or disconnect and your node server is no longer running... Well, wouldn't it be great if you were able to ke...

June 28, 2012

What is NPM?

Written by Tony Lea - 1 minute read

When getting started with Node JS you may hear the term NPM being used often (usually lowercase 'npm'). What exactly is it and how can you use it? Well... npm stands for Node Package Manager and it is an online repository for open source Node.JS p...

June 16, 2012

A Simple Node Example

Written by Tony Lea - 3 minute read

Here is a simple Node JS example that I hope will help someone's journey with getting started with Node JS a little easier. First off, I thought I would explain in the simplest form what Node JS is and what it does. I am by no means a Node JS expert,...

May 20, 2012

Rails Authentication With Devise

Written by Tony Lea - 1 minute read

The Devise Gem makes it really easy to create a full authentication app with Ruby on Rails. In the video below, I will walk you through setting up and installing the Devise Gem on your rails app. Below the video are all the commands and code that I u...

May 19, 2012

Rails Todo App with Scaffolding

Written by Tony Lea - 1 minute read

In this quick video I wanted to demonstrate how quickly and easy it can be to create a small todo list app using Ruby on Rails. Below is the short video which will show you how you can create a todo list app in about 60 seconds. Run the following ...

April 4, 2012

5 Excellent Tools for Finding the Perfect Domain

Written by Tony Lea - 2 minute read

Doesn't it seem like all the good '.com' domains are taken? I love coming up with new ideas, but when it comes to finding a new domain name it becomes impossible to find an available domain that fits the shoes for my new website project. Shouldn't fi...

April 4, 2012

How to detect radio box change with jQuery

Written by Tony Lea - 2 minute read

I'm constantly finding myself searching Google when I need to find out how to detect when a radio box has been changed using jQuery, and sometimes I have to search down a couple results til I finally find one that works. So, since this may come up ag...

April 3, 2012

How to talk to the parent page from an iframe

Written by Tony Lea - 1 minute read

Somtimes you need a way to communicate with an iframe. Talking directly to the iframe can be done by sending parameters via the src URL, but what if you need a simple way to pass something from an iframe to the parent page? Well, the simplest way to ...

March 15, 2012

Infinite Scroll Loading Image and Text

Written by Tony Lea - 1 minute read

So, many of you may have heard about the amazing jquery plug-in called 'Infinite-Scroll'. If you haven't you need to check it out here. Anyway, when I was trying to incorporate this plug-in to my site, it was very easy; however, I could not for the ...

March 2, 2012

Animating a Sprite with jQuery

Written by Tony Lea - 1 minute read

Animating a sprite with jQuery is very simple. I have created a simple sprite animation to show you how this is done. I have used a png image of Mario from the SNES 'Super Mario World'. You can see what the image looks like below: Check out the demo...

1 2 ... 10 11 12 13 14 15 16 17 18 19