Skip to content

Instantly share code, notes, and snippets.

@BWoodfork
BWoodfork / techcohortnotes.md
Last active July 9, 2017 23:55
Tech Cohort Notes

Assignment #4

  1. Review your progress towards your goals, and if applicable, write down how your goals are changing or focusing.
  • My goals are changing in the sense of making smaller goals, so as to reach them easier with my busy schedule. And then buildin upon that succeess.

Assignment #3

  1. This week, track your steps toward each incremental goal you set for yourself. Have you completed your daily goals? Your weekly ones? If not, what stopped you? If so, how did it feel? Is it sustainable? Where will you concentrate your efforts this week?
  • Progress: I was not able to complete any of my weekly/daily tasks since my last update. I am currently in the middle of moving and ramping up on a new client. So my extra free time has been dedicated to those two things. However, I believe I can plan around those things and fit some time in for achieving my goals. My goals are definitely achievable. It's just a matter of proper planning. This week, I will concentrate my efforts on ordering/reading Clojure Applied.
Accountability Partners
Jeff Ramnani
Chris Peake
1. Teach "Concurrency in Clojure" workshop
2. Teach intro to Clojure workshop
3. Teach Clojure + Robots workshop
4. Film 20+ Clojure related screencasts
5. Write at least 20 Clojure related blog posts
6. Assist in finding and being staffed on a Clojure client
@BWoodfork
BWoodfork / country_codes.txt
Last active March 7, 2017 19:56
Collection of country calling codes, matched with their country
[["US & Canada (+1)", "1"],
["UK (+44)", "44"],
["Algeria (+213)", "213"],
["Andorra (+376)", "376"],
["Angola (+244)", "244"],
["Anguilla (+1264)", "1264"],
["Antigua & Barbuda (+1268)", "1268"],
["Argentina (+54)", "54"],
["Armenia (+374)", "374"],
["Aruba (+297)", "297"],
@BWoodfork
BWoodfork / gist:11062668418c432935a5
Created September 1, 2015 00:01
Polymorphism using inheritance in Ruby
class Animal
def sleep
puts "#{self.class} is sleeping."
end
end
class Frog < Animal
def make_noise
"Ribbet Ribbet"
end
def minimax(fake_board, depth = 0, scores = {})
return -1 if fake_board.game_over?
return 0 if fake_board.tie_game?
get_empty_spaces(fake_board).each do |space|
fake_board.fill_space(space, fake_board.token_that_is_up)
scores[space] = -1 * minimax(fake_board, depth + 1, {})
fake_board.spaces[space] = nil
end