How To

How to clear the iOS and Mobile Webkit HTML5 Canvas

Took me forever to find this, but hopefully you found this post faster:
You can either use “context.clearRect(0, 0, canvas.width, canvas.height);” Which I found only worked sometimes, and best in desktop version of the browser.
What I did was the width trick (setting the canvas width to itself clears EVERYTHING), and since I had also drawn lines [...]

Canvas, HTML5, How To

How to setup an Arduino board with LEDs - Blink Morse Code

Got my hands on my first Arduino project this weekend. My friend was nice enough to lend me an Arduino Duemilanove board with a couple starter supplies.
I did a little enhancement on the basic turn an LED on/off by giving it a string of char representing morse code and making it blink to that.
Here is [...]

Arduino, How To

How to write HTML and CSS for a Facebook Page

Mashable released an awesome post on this:
HOW TO: Design and Program a Facebook Landing Page
I would keep these 2 important things in mind:

Externally load all your images and css with absolute URLs
Write HTML and CSS just like normal except you can add specific facebook tags in to enhance your content
Yes, you can make forms.

How To

How to Save Over $500 When Hiring a Web Designer or Developer

Most people looking to hire a web designer want a kick-ass website that makes them money. They want a return on their investment but are surprised that it definitely costs minimum $2,000 to get a nice website.
So how do you save money and get a website you love that makes you money?
Easy.
1. Go Buy Your [...]

How To, Small Business Online Marketing

How to Unmute an iPod Touch or iPad

All of a sudden the other day my ipod touch’s internal speaker just decided to mute itself. Either that or I somehow muted it. Couldn’t find how to un-mute it anywhere online but I figured it out. Hopefully this orks for iPad’s as well.
Solution 1: Some people said it was the headphone jack was stuck [...]

How To

How to See Your Running Rails Log in Passenger?

When someone switches over from script/server to Passenger when starting with Ruby on Rails one of the biggest things that they miss is seeing the log output in Terminal. But it’s not too hard to get back.

Open a New Tab in Terminal
In Terminal, At the root of you rails project type: tail -f log/development.log
Leave this [...]

How To, Ruby on Rails

How to Speed up your Website - Best Practices

Google just released their best practices for speeding up website loading and responsiveness. Check it out, no doubt you will learn something new.
Make your Website Faster - Google
As a front-end guy I am for sure looking at:

Optimizing Images
Optimizing Javascript Code
Improving Website Performance with Page Speed
User Experience and Website Performance
Don’t Make Me Click - UI Design [...]

How To