Archive for the ‘Misc’ Category

Lately I’ve come across some online formatting tools that have been very helpful. I like these because they work regardless of what IDE you use, what operating system, etc. They work from any computer that has internet access. Handy when you are troubleshooting on a remote machine.

Here is one for formatting XML: http://www.shell-tools.net/index.php?op=xml_format

And one for JSON from the same site: http://www.shell-tools.net/index.php?op=json_format

Here is a SQL one that helped me out a lot tonight: http://www.dpriver.com/pp/sqlformat.htm

I fed it a horrible looking, very complex query and it made it easily readable. 🙂

I’ve released an update to my Craigslist Spam Buttons greasemonkey script. (If you don’t know what this is about, see my original post).

This new version works completely differently, it flags items in the background using a hidden iframe. This should fix the problems people were having with the old version. Special thanks to Steve Sweet for his help on this version.

I’m not 100% sure this is working perfectly yet, so please try it out and let me know what you think.

Update 10/29/2008 – this is now working great! And it keeps the [spam] links marked as visited, even after reloading the page, so you can see which posts you’ve already marked.

The latest version can always be downloaded from http://userscripts.org/scripts/show/7399

Last weekend was my annual company dinner. We had a wonderful meal at Colton’s Woodfired Grill. Several awards were handed out, and somehow I was chosen to receive the grand prize – Uber Geek of the Year. I was told my achievements that led up to this were:
Continue reading ‘Ryan takes home the trophy – Uber Geek of the year’ »

Tonight I published an update to my Craigslist Spam Buttons greasemonkey script. (If you don’t know what this is about, see my earlier post). I’ve had some feedback on the script, and I was able to incorporate those requests. Now the [spam] buttons are displayed at the front of item link. And when you click on the link, a request is made in the background to mark the item as spam. You no longer have to jump to the flag-spam page, then click the continue browsing button to get back to where you were. Instead the [spam] button changes to a red check mark to indicate that it has been marked.

This is more difficult than you would think, you can’t just do a simple AJAX request because your browser will only make requests to the same site you are on. In this case you are browsing on yourcity.craigslist.org, but the flag-spam page is on flag.craigslist.org.

The greasemonkey extension does provide a built in method to make http calls to external sites, but that would break my Opera compatibility. So instead I load the flag-spam page as the src of a JavaScript-created image object.

It was fun to figure out, I really enjoy programming in JavaScript.

You can get the script from userscripts.org. Here is a screen shot:

Craigslist spam buttons, v1.1

Check out this awesome pumpkin carving done by my boss, Mark Kruger. It’s a perfect depiction of our company logo.


CFWT Pumpkin
(click the image for a hi res picture)

Here is the actual logo: