A Smörgåsbord of gray gooey stuff from my brain
When the fog doesn't roll in, we have the most amazing sunsets here.
If you like the song, be sure to buy it on iTunes or Amazon.
Awesome! A contest was held to see who could write the best AI algorithm to get Mario through the levels. Check it out.
Today I had to rig up a method for defining symlinks in Capistrano. I never really liked how the ln command worked to begin with; I think of symlinks in terms of:
Alias A targets File B
To make this easier I wrote up this method:
def link(link)
source, target = link.keys.first, link.values.first
run "ln -nfs #{target} #{source}"
end
Which reads as:
link "alias_a" => "file_b"
I love finding these little ways that make my code more readable.