Simon Willison’s Weblog

Subscribe

Tuesday, 24th November 2009

Woof—simply exchange files (via) Ultra simple file sharing for local networks: run “woof filename” to start a local web server which will serve up that file, just once, and then terminate. Can also serve up an entire directory as a compressed archive. Written in Python, as a single script which you can drop in to your ~/bin. “woof -s” serves the script itself, so you can easily pass it to someone who has a file you want.

# 8:44 am / commandline, filesharing, python, woof

Request Routing With URI Templates in Node.JS. I quite like this approach (though the implementation is a bit “this” heavy for my taste). JavaScript has no equivalent to Python’s raw strings, so regular expression based routing ala Django ends up being a bit uglier in JavaScript. URI template syntax is more appealing.

# 9:06 am / django, javascript, node, python, regex, uritemplates

2009 » November

MTWTFSS
      1
2345678
9101112131415
16171819202122
23242526272829
30