Skip to content

Instantly share code, notes, and snippets.

Keybase proof

I hereby claim:

  • I am benstafford on github.
  • I am benstafford (https://keybase.io/benstafford) on keybase.
  • I have a public key whose fingerprint is AD45 DFA6 8BC6 0B1B 2DB4 5616 A8E7 7820 ECFB CA39

To claim this, I am signing this object:

Overall Goals

Ruby

  • Programming basics (if necessary)
  • Primary types - String, Array, Enumerable, etc
  • OO

Rails - lecture and build an app iteratively with TDD

  • CRUD
  • Auth
@benstafford
benstafford / gist:5966516
Last active December 19, 2015 13:59
dig results (with trace)
; <<>> DiG 9.8.3-P1 <<>> signup.webschoolcincy.com +trace
;; global options: +cmd
. 82363 IN NS f.root-servers.net.
. 82363 IN NS b.root-servers.net.
. 82363 IN NS k.root-servers.net.
. 82363 IN NS e.root-servers.net.
. 82363 IN NS m.root-servers.net.
. 82363 IN NS a.root-servers.net.
. 82363 IN NS h.root-servers.net.
. 82363 IN NS i.root-servers.net.
@benstafford
benstafford / gist:4122319
Created November 21, 2012 00:43
Deathbot
require 'rrobots'
class Deathbot
include Robot
def tick events
@turn_speed = 2 if @turn_speed.nil?
@time_turned = 0 if @time_turned.nil?
if (!events['robot_scanned'].empty?)
accelerate -1
@benstafford
benstafford / CSFeatures.md
Created June 5, 2012 15:38
coffeescript features

CoffeeScript Features

Probably not comprehensive, and in no particular order...

integer literal1Y
feature nameexampleinclude?
string interpolation“a#{b}”Y
assignmenta = bY
single-line comment# commentY