This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| \curl -sSL https://get.rvm.io | bash -s stable --ruby | |
| xcode-select --install | |
| gem install nokogiri -- --use-system-libraries --with-xml2-include=/usr/include/libxml2 —with-xml2-lib=/usr/lib/ | |
| gem install rails |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| let faceCards = [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13] | |
| let faceNames = [undefined, "Ace", "Two", "Three", "Four", "Five", "Six", "Seven", "Eight", "Nine", "Ten", "Jack", "Queen", "King"] | |
| let cards = [ | |
| ["Spades", faceCards], | |
| ["Clubs", faceCards], | |
| ["Hearts", faceCards], | |
| ["Diamonds", faceCards] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| var suits = ["Hearts", "Diamonds", "Spades", "Clovers"]; | |
| var faces = ["Ace", 2, 3, 4, 5, 6, 7, 8, 9, 10, "Jack", "Queen", "Kings", "Joker"] | |
| var deck = []; | |
| for(suit of suits){ | |
| for(face of faces){ | |
| deck.push(face + " of " + suit); | |
| } | |
| } | |
| function checkIfShuffled(deck) { | |
| count = 0; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Q4 Focus: | |
| Full Stack - Auth, Db, 90 minute crud app, Build & Burn Angular | |
| Comp Sci Unit 0,1,2,3,4,5 | |
| Capstone (on hold, but you could start gathering ideas) | |
| Whiteboard Interviews Practice, Practice, Practice, Cracking the Code | |
| Career / Job / Placement |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| gibbon = Gibbon::Request.new | |
| data = Hashie::Mash.new gibbon.lists.retrieve(params: {"count": "200"}) | |
| lists = data.lists | |
| lists.each {|list| puts list.name + ' : ' + list.id} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # create lists in mailchimp using gibbon gem (not currently inthe docs) | |
| lists = [ | |
| "Climbing", | |
| "Fly Fishing", | |
| "Gear" | |
| ] | |
| gibbon = Gibbon::Request.new | |
| lists.each do |list| |