Google Chrome Developer Tools
April 15th, 2010 | 1 comment
The Google Chrome web browser is extremely fast and has pretty much become my primary browser. It has some developer tools baked into the browser similar to the Firebug addon for Firefox. I still tend to gravitate to using Firebug for heavy duty stuff, but the tools in Chrome are good enough that I find myself breaking out Firefox less and less for Firebug. If you are feeling geeky, or want access to some of the newest developer tools for Chrome/Webkit, you can run with the Dev Channel build. It is the most cutting edge build of Chrome, so you always…
jQuery and old Prototype on the same page
July 21st, 2009 | 1 comment
This morning I had to implement an interactive map that allows one to locate local dealers of GPS equipment. The site I needed to do this on is running an extremely old version of prototype.js (version 1.5, circa 2007) and moodom.js (the precursor to MooTools). I didn’t want to use these outdated libraries to create the little interactive app. I would normally use MooTools, but I needed a library I could namespace so that I wouldn’t step on Prototype’s shoes. I grabbed the latest build of jQuery, namespaced it using the jQuery.noConflict(); technique, wrote my code, and included it right before…
Chrome Extensions
June 1st, 2009
Update (7/10/09): I fixed the extensions to work with the new update to Chrome, find them here. Today I decided to convert some of my Greasemonkey Scripts to Chrome Extensions. I converted my Digg AdBlocker, Hacker News OnePage, and Hacker News Comments scripts. It turned out to be quite easy, I barely had to change anything to get them running as Chrome Extensions. I packaged them using the python script Google supplied, so they are easy for anyone to install. To use the extensions, you first need to be running the dev build of Google Chrome, you can get it…
nginx resources
March 25th, 2009
I have been using a relatively new HTTP server called nginx (pronounced “engine-x”) on a project and have been pretty impressed with it. Despite the original documentation being in Russian, the English documentation is getting better and we are beginning to see a lot more resources popping up to help people with nginx. Here are some resources you might find helpful in getting your nginx server up and running… – Official Stuff: Official nginx website: http://nginx.net/ Official nginx English wiki: http://wiki.nginx.org/Main – Installing nginx on Ubuntu Intrepid: Install it really quick – Install nginx using aptitude package manager or Install…
Get rid of your www.
February 1st, 2009
Here’s a handy tip, if you want to remove the www. from your domain and have visitors always see http://mydomain.com, then all you have to do is add 4 lines of code to your .htaccess file (or create a .htaccess file if you dont have one already). Just add: RewriteEngine On RewriteBase / RewriteCond %{HTTP_HOST} !^mydomain.com$ [NC] RewriteRule ^(.*)$ http://mydomain.com/$1 [L,R=301] Just replace “mydomain” with the name of your domain and you’re done. Thats it! Now any time someone goes to www.mydomain.com the www. will be automatically dropped. The one caveat, your server has to be running the apache webserver…
Dreamweaver CS3 Code Coloring
December 22nd, 2008 | 1 comment
There was a submission about “What makes a good programming font?” on HN today and, as usual, the comments on the submission proved more enlighting than the actual linked post (Hacker news has a great community). From the comments I came across some nice programming fonts; Envy Code R and Bitstream Vera Sans Mono. The user who posted about the Vera Sans Mono font also added a picture of it in action here. I liked the syntax highlighting/code coloring of that code screenshot, so naturally I set out to try out something similar with dreamweaver and TextPad. I have to…
msgme: “Exception Error” with external app
December 18th, 2008
The other day I decided to play around with the Msgme SMS platform. My goal was to create a application that lets my wife record the number of hours she works. She just needs something very simple. So my idea was to make a little app that lets her use her cell phone or web browser to indicate start and stop times of when she is working. I was going to tie in the Msgme SMS service to allow her to text “timeStart” or “timeStop”. Msgme allows you to set up keywords that are tied to their SMS number. Then…