• Happy Coding

Archive for August, 2007

Tagzania: tagging the planet

Tagzania is about tags and places. If you register and log in, you can add places, points, to create and document your maps. When you add a point, you may tag it with keywords. That way, Tagzania is not only a place to build and keep your own maps, shared territories are created as well.

AideRSS

AideRSS is an intelligent assistant that saves time and keeps you on top of the latest news. We research every story and filter out the noise, allowing you to focus on what matters most.

snippets about… Virtual Earth Development

Virtual Earth Development

Build your own Simpsons characters

see simpsonizeme.com :)

Read the rest of this entry »

Regular Expressions with TextMate

Just needed to replace some difficult strings in a huge text-file and found this site which explains how to use regular expressions with my favorite editor TextMate.

This small regular expression surrounds for example the value-attributes of elements with quotes, if the value has the length 2.

Find: value=(..)
Replace: value="$1"

Features of Rails 2

Opening Keynote: David Heinemeier Hansson

snippets about… Multiple hosts for assets in Rails

Multiple hosts for assets in Rails

  • One other quick win Rails 2.0 will give you is multiple hosts for assets. Browsers will only have two concurrent connections open for any single host, but an easy way around that is to use multiple subdomains that resolve to the same domain. [...]
  • config.action_controller.asset_host = ‘assets%d.YOUR_DOMAIN.com’
  • Now, if your page has lots and lots of assets (javascript includes, linked stylesheets, images, and so forth) page download times will decrease when you’re able to fool the browser into thinking it’s talking to multiple hosts (which, again, get 2 concurrent requests each), while it is in fact only talking to a single host. [...]