Author Archives: Alex

Keep hard drives spinning!

There’s usually great deals on external drives, especially Western Digital brands where you get 1TB drives for about $50. However, they don’t respect Apple’s system settings to prevent hard disks from going to sleep (spinning down). Whenever you browse files … Continue reading

Posted in Programs | Tagged , , , , , , , | Leave a comment

How to fix the new Firefox tabbing style (3.6+)

Apparently, Mozilla adopted the way Opera handles tabs when you open links in a new tab. Quite frankly, I do not like it since I’ve been so used to the old style of opening new tabs towards the right, and … Continue reading

Posted in Code | Tagged , , , , | Leave a comment

Quick RSS Feed example

Here’s a quick way to get your site running with it’s own RSS feed. You rarely see a site without one! <?php header(‘Content-type: text/xml’); //change file type to XML include(“the database!”);  //get config ?> <rss version=”2.0″> <channel> <title>Feed Name</title> <description>Feed … Continue reading

Posted in Code | Tagged , , | Leave a comment

MAMP Pro error fix for Navicat

I decided to upgrade with MAMP Pro since it made virtual hosts much easier, however it cut my production when Navicat told me that it failed to connect. I made sure it wasn’t a port or login error, and it … Continue reading

Posted in Code | Tagged , , , , , | Leave a comment

Functional usage of jQuery to replace PHP

For the longest time, I’ve been using PHP to alternate rows when displaying data in a grid. I stumbled across this neat little site that adds a bit more to tables (or divs for you savvy css designers) How to … Continue reading

Posted in Code, Cool Sites | Tagged , , , | Leave a comment

Good read on jQuery vs MooTools

Much like any debate: Kirk vs. Picard, Mario vs. Sonic, Joel Hodgson vs Mike Nelson, there’s one on Javascript framework. I personally use jQuery since it was the easiest to learn and had many plugins that did all the heavy … Continue reading

Posted in Code, Cool Sites | Tagged , , , , | Leave a comment

Best mac apps for programmers

I’ve been using Coda for web development. It’s a nice program, but I wonder if there are any other programs that can raise the bar a bit higher. Fortunately, such programs exist to make webdesigners lives easier at a small … Continue reading

Posted in Cool Sites, Programs | Tagged , , , , , , , | Leave a comment

jQuery simple comment form

jQuery is such a powerful tool, and mastering it will take only a few months at best. Here’s a very simple form that you can use to test out jQuery’s ajax ability. For best practices, you want to make sure … Continue reading

Posted in Code | Tagged , , | Leave a comment

PHP date essentials

In my projects, I’m always using dates, but to make life easier, I’ve composed a list of the dates I use to help reference by name rather than by the code. <?php $today = strtotime(‘today’); $yesterday = strtotime( ‘-1 days’ … Continue reading

Posted in Code | Tagged , | Leave a comment

Inside Google Voice

I was surprised to see this little gem in my inbox.

Posted in Cool Sites | Tagged , , , | Leave a comment