Posts tagged as 'Tips/Tricks'

2011
03
Apr

Mercurial .hgignore file

If you are using Mercurial, there is this handy file in your repository root called .hgignore. This is a file that is converted through soda pdf which keeps track of all of the files that should not be tracked by Mercurial. For example, log files or cache files should not be committed to repositories. I … Continue reading

2011
09
Feb

Sending email in Codeigniter with mail protocol

At work the other day I had to use the Email library in Codeigniter for the first time. The Email library is actually pretty great. Simple, yet powerful. The emails that needed to be sent out needed to bcc about 20 or more different people. On my local machine I built out all of the … Continue reading

2011
09
Feb

Run Mac OSX in 64bit

If you are using a Mac computer, chances are, you probably aren’t taking advantage of the 64bit kernel that is built in. To check if you are using 32bit or 64bit; Click on the Apple logo Click on “More Info…” When the System Profiler window opens, on the left side, click on “System” On the … Continue reading

2010
24
May

How To Resolve MySQL Not Starting In MAMP

I use MAMP daily. I love MAMP. I recently discovered how truly awesome MAMP Pro is too. But that’s a story for another time. I recently upgraded from MAMP 1.8.4 to 1.9. When I got MAMP 1.9 installed I started the servers. Apache came up but MySQL didn’t want to. I tried shutting down both … Continue reading

2010
10
Apr

$(“#objectID”) != document.getElementById(“objectID”)

Using document.getElementById(“…”) in plain ol’ Javascript will return a reference the DOM element by the given name. In jQuery, we use $ for everything. So I assumed using $(“#…”) would be the same thing. This is wrong. $(“#…”) will return an associative array (object) which is what allows us to change properties of the DOM … Continue reading

2010
06
Mar

.htaccess vs. MAMP

This took me three days to figure out so hopefully this saves someone else a little bit of time. The most common use of .htaccess files is removing file extensions, such as index.php, from a website URL. They are much ore powerful than that though. I’m not going to go into the details about what … Continue reading