Tony Lea

Howdy, Welcome to My Blog

July 26, 2013

5 Things Only Developers will find funny

Written by Tony Lea - 1 minute read

So The newest article by buzzfeed has been getting a lot of... 'buzz' (sorry for the lame reference)... Anyway they have done a good round-up of some things that developers will find funny. That's cool, but there are also some things in that article ...

June 21, 2013

How to add a new column to the database using migrations

Written by Tony Lea - 1 minute read

Using migrations in laravel 4 allows users to keep a version control of their database. If you aren't familiar with migrations I'll give you a quick rundown. A migration is a file that creates, updates, or removes tables and columns in your applicati...

June 19, 2013

Renaming Database Tables in Laravel 4

Written by Tony Lea - 1 minute read

Lets say you've been digging Laravel Migrations and you run into an instance where you need to rename your table. Would you manually change the migrations you already created to reflect the new table name, rollback all your environments and then migr...

June 11, 2013

How to Open Sublime Text via Terminal

Written by Tony Lea - 1 minute read

Back when I was using TextMate I was easily able to navigate to a directory in terminal and type 'mate .' and open up a specific file or directory in TextMate. Well with Sublime Text 2 you can do this as well. Here's how to do it using a Bash Shell. ...

November 15, 2012

PHP the difference between single and double quotes

Written by Tony Lea - 1 minute read

I've been programming in PHP for nearly 10 years, and I would consider myself to be fairly competent with the language. It's funny that some of the simplest things that I would program in PHP I would just accept certain aspects instead of looking fur...

October 21, 2012

What are the best tools/languages for Web Development?

Written by Tony Lea - 1 minute read

Do you often wonder if the framework, language, or tools you use will reflect the outcome of your web project? Sometimes we can get so caught up in what to use for our latest idea that it can distract us from the thing that's really important... crea...

September 27, 2012

How to get Memory and CPU usage in PHP

Written by Tony Lea - 1 minute read

So, a couple weeks ago I experienced heavy server overloads on an app due to so many concurrent users. There may have also been some code clean up that was necessary. Either way it was kind of a headache, but also a learning experience. So upon searc...

September 25, 2012

Detect if your browser supports WebSockets

Written by Tony Lea - 1 minute read

WebSockets are great for creating a bi-directional connection between the server and the client. It's also great for making some awesome real-time and interactive web apps. The only downfall with WebSockets is that they are not supported by all brows...

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...

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