Erik A. Hanson's Weblog

Archive for the 'My Software' Category

A Ruby Client for Angular

Posted: Thursday, November 19th, 2009    Tags: My Software, Ruby, Web development

Here’s a little Ruby client for storing data in Angular, a system for creating simple database-backed web apps extremely easily.

#!/usr/bin/ruby

require ‘rubygems’
require ‘httpclient’
require ‘json’

class Angular
def initialize(username, password, library)
@http = HTTPClient.new
@library = library
post(“/login”, :email => username, :password => password)
end

[...]

AppleScripts for Creating Podcast Playlists in iTunes

Posted: Monday, March 16th, 2009    Tags: AppleScript, My Software

I have a 2nd generation iPod Shuffle that I use with the super-awesome Arriva iPod headphones:

I love these headphones because I can wear them at the gym without having to deal with wires. I actually bought the shuffle because of these headphones. At the gym, I like to start out by listening to a few [...]

Introducing JS Dev Tools

Posted: Saturday, February 28th, 2009    Tags: Javascript, My Software, Web development, jsdevtools.com

I created a site called JS Dev Tools (jsdevtools.com) to keep track of useful Javascript development tools and libraries.
Check out the site, subscribe to the feed, and suggest your favorite tools and libraries.

My time zone solution: RelativeDate.js and ServerTime.js

Posted: Wednesday, October 31st, 2007    Tags: Javascript, My Software, Ruby on Rails, Web development, wshlst.com

For my wshlst.com project, I needed to show when each item or comment was created or edited. My initial implementation was to just show the time and date of the change, but people who aren’t in the same time zone as my server didn’t like the fact that it showed a different time zone.
I contemplated [...]

wshlst.com: A Webapp With A Pure-Javascript UI

Posted: Thursday, October 25th, 2007    Tags: Javascript, My Software, Web development, wshlst.com

I created a little wish list website called wshlst.com for my family to use. (Read more about it here.) I worked on it a little bit before Christmas last year, and a little bit again this year.
It’s been a lot of fun to write, and one reason is that the entire UI is written in [...]

Introducing wshlst.com

Posted: Wednesday, October 24th, 2007    Tags: My Software, wshlst.com

wshlst.com is a wish list website I created for my family to use.
It differs from other wish list sites in a few ways: it’s group-oriented, it allows people to add items to other peoples’ wish lists (secretly, if desired), and it allows people to discuss wish list items (again, secretly, if desired). The result [...]

A Mac OS X Web Browser for JavaScript Testing

Posted: Sunday, October 2nd, 2005    Tags: Javascript, My Software

I was playing with a very JavaScript-heavy web page and wanted my automated tests to use a real web browser. I tried running them inside Safari, but it’s a bit annoying to have my tests take control of my browser. Plus, there were caching issues. So I wrote a very simple web browser.