I finally got around to cleaning up my Google Chrome version of Hacker News OnePage. You can install it for your Chrome browser over at the Google Chrome Extensions gallery. Install Hacker News OnePage for Google Chrome: https://chrome.google.com/extensions/detail/plldnnbdlbgbiknjebohmlggcbicghlj Check out the source code: http://tdupree.com/chrome/chrome_onepage/chrome_hn_onepage_source.zip

read more

Hacker News OnePage for Google Chrome

September 16th, 2009 | 1 comment

EDIT: Check here for updates to the Google Chrome Hacker News OnePage extension. Google just recently released Chrome v3.0, and the developer builds in the dev channel now have extensions turned on by default (no need to append –enable-extensions to the exe target).  The extensions system for Chrome is getting nicer and nicer (just check out chrome://extensions in your Chrome browser).  I have a working version of Hacker News OnePage that I have tested with dev channel build 4.0.206.1.  I assume that it will also work fine with the new 3.0 stable release if you have extensions enabled. Install Hacker…

read more

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…

read more

EDIT: Check here for updates to Hacker News OnePage A new update to Chrome brought a better packaging system for extensions, but also broke all the extensions packaged with the old system.  So here are the new Hacker News and Digg extensions that will work with chrome. Hacker News OnePage (install): Provides users with the ability to browse Hacker News articles and comments without leaving the page. source – manifest Digg AdBlocker (install): Removes ads from digg. source – manifest

read more

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…

read more

DSS Creative Labs

June 1st, 2009

Over at DSS Creative we usually have a couple projects running in the background that are just for fun or satisfy a particular need.  We call these our Labs projects.  A while ago we created a url shortening service and just recently we made a domain name lookup service.  Go ahead and check out our DSS Labs page!

read more

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…

read more

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…

read more

About one and half years ago I wrote a Greasemonkey script for removing the ads from digg.com.  Today that script reached 2,000 installs!  Grab my Digg AdBlocker script and check out the other scipts I have made.

read more

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…

read more