October 2009
6 posts
Put a dent in the universe
To truly be inspired for great work, you need to know that you’re making a difference. That you’re putting a meaningful dent in the universe. That you’re part of something that’s making a difference and that your role in that something is significant.
This doesn’t have to be grand at all. You don’t have to be looking for the cure for cancer. It could be done by a waitress at a neighborhood cafe...
My plea to you today is to start a side project. Scratch your own itch. Be...
– Chris Wanstrath, http://gist.github.com/6443
1 tag
The hard part for us avant-garde post-modern artists is deciding whether or not...
– Calvin to Hobbes
1 tag
You’re not your job. You’re not how much money you have in the bank....
– Tyler Durden, Fight Club
2 tags
Euler Project - Problem 1
# Project Euler: Problem 1
# Use Module:Enumerable
# Sum some numbers (5..10).inject { |sum,n| sum+n }
# find the sum of all multiples of 3 and 5 below 1000
puts (1...1000).select { |n| n % 3 == 0 or n % 5 ==0 }.inject { |sum,n| sum+n }