Archive for the ‘Web Development’ Category

Update to CSP Bookmarklet

Thursday, January 20th, 2011

It was pointed out to me that my CSP bookmarklet was using a feature added in ECMAScript 5, Object.keys, and thus did not work in older browsers. I added a bit of code to address this: Object.keys = Object.keys || function(obj) { var keys = []; for (var key in obj) { if (obj.hasOwnProperty(key)) keys.push(key); [...]

Content Security Policy Recommendation Bookmarklet

Thursday, October 14th, 2010

I wrote a bookmarklet that analyzes the content on the current page and recommends a Content Security Policy based on the types of content it finds on the page and the sources of that content. The implementation also takes into account resources that are dynamically added to the page by JavaScript. For instance, today I [...]

Sharing Links

Friday, May 28th, 2010

Sometimes I make a tool that I use for a while and then wonder if it’s something others will find useful too. Here’s one of them… For a while I was sharing links on my home page by linking to the feed of stories I’ve upvoted on Reddit, but that has become less satisfying as [...]

RSS Feed Monitor – Update

Sunday, September 24th, 2006

I updated the RSS Feeds Monitor I wrote in Python last month to enable database logging as well as a debug mode which prints output to the console. Both the new code and the old code are available.

PHP Texas Hold ‘Em

Monday, September 18th, 2006

I’ve been quite obsessed with poker lately. Between the WSOP and the WPT, it’s not hard to pick up poker strategy from TV. Along those lines, I decided to write a web-based poker game. For now, the game deals hands of Hold ‘Em and picks out the best 5 card poker hand. Eventually I’d like to expand the game to include computer players and allow multiple human players to play against each other online. Feel free to check out the source.

RSS Feed Monitor

Tuesday, August 22nd, 2006

I wrote a Python script that monitors RSS feeds for specified keywords and then sends emails to notify you of new posts.

My eBay Watch List

Sunday, April 2nd, 2006

I made my first foray into the immense eBay API. Using eBay’s authentication token technology, I wrote a function that allows web developers to print the items from a user’s My eBay without using their site credentials. Check out the write-up.