September 2007
August 2007
The glory of great men should always be measured by the means they have used to...
– Francois de La Rochefoucauld
Bush's Vietnam Blunder - washingtonpost.com →
Ruby: wc -l as fast as C.
I found this to be very very interesting:
cfp:~ > cat a.rb && ruby a.rb Documents/words.txt && wc -l Documents/words.txt
require ’benchmark’ big_file = ARGV.shift || ‘/usr/share/dict/words’ Benchmark.bm do |x| x.report(’streaming’) do lines = 0 File.open(big_file).each_line do |line| lines += 1 end end ...
Assorted CSS samples on Phrogz.net →
some really good stuff in there!
BIKE-POWERED WASHING MACHINE →
Ask the Doctor: The medical risks of doping →
*really* scary stuff!
err.the_blog.find_by_title('I'm Paginating Again') →
pagination pagination - why art thou such a biatch…
A DRYr acts_as_taggable?
The acts as taggable gem (http://taggable.rubyforge.org/) is very cool stuff.
One file of highly reusable code. My only gripe with it is that each model
you intend to tag requires it’s own join table for the HABTM relationship to
function. Today I got to thinking about that and rolled out an approach that
uses a single table and some STI (single table inheritence) trickery.
We...
Undo branches in vim →
This plugin allows to name a spot in your code ‘:UTM spot_before_a_ton_of_edits’, make a bunch of edits and, if you hose something, to come back with ‘:UTG spot_before_a_ton_of_edits’. Great Stuff!
Sentenc.es - A Disciplined Way To Deal With Email →
sentences or less. It’s that simple.
Chicklet Creator - Create RSS Feed Subscription... →
Clark And Michael →
To crush yoah enemies, see dem driven befoah you, and to hear de lammentation of...
– Conan
Meat Drinks →
PREPACKAGED NEWS →
Javascript Best Practices →
Smalltalking about Ruby: And this week,... →
I do not fear computers. I fear the lack of them.
– Issac Asimov
You can get much further with a kind word and a gun than you can with a kind...
– Al Capone
AT&T Censors Pearl Jam →
jQuery Reference Widget →
Sexual predators.
Date: August 9, 2007 9:55:29 AM MDT Subject: Lost in translation Morning Boys, I was reading Cycling news today and this badly translated article made me laugh. Thought you would enjoy it, too. This is Marco Pantani mom talking about the junior bike camp they ran recently. She must have been having a good time with those young boys: The mother of the former Tour de France winner added...
Javascript: Ruby's inspect() functionality for js... →
craigslists gets heavy with Oodle →
Skype Emoticons & Flags Cheatsheet →
CU CSCI Senior Project - MIDaS →
stumbled on this the other day… hard to imagine i once wrote piles of java!
Link Building Articles From Linking Expert Eric... →
Ruby: Crawling filesystem efficiently
Question: how would i go about surfing a whole directory instead of using a Dir.glob(*/**) Basically how would i do it using the Find method. I need to surf the entire file system and pull up my total number of files that arnt an actual directory.
Answer:
require ’rubygems’ require ’alib’ ### gem install rubygems count = 0 ...
jQuery: » Zebra Table Showdown →
I want to open an ssh connection to another machine and pass in the sudo...
– Eric Hodel