01/13/2012. From a lecture by Professor John Ousterhout at Stanford, class CS140
Here's today's thought for the weekend. A little bit of slope makes up for a lot of Y-intercept.
[Laughter]
require 'rrobots' | |
class DeathBot | |
include Robot | |
def tick events | |
turn 2 | |
if got_hit.size > 0 | |
accelerate 1 |
DATABASE = 'mask' | |
CHARACTER_SET = 'utf8mb4' | |
COLLATION = 'utf8mb4_bin' | |
schema = File.open('db/schema.rb', 'r').read | |
rows = schema.split("\n") | |
clean_rows = [] | |
rows.each do |ro| | |
clean_rows << ro.split(",") | |
end |
Facebook: | |
Hey everyone! I recently created a Ruby on Rails crash course for a friend, and I thought there might be other people I know that have been interested in learning programming. | |
You can watch the video here: | |
https://www.youtube.com/watch?v=4zrHEJe8030 | |
Tag someone in the comments that you think might be interested as well. | |
Reddit: |