This file contains 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
bottles = 100 | |
original_bottles = bottles | |
while bottles > 1 | |
bottles -= 1 | |
case | |
when bottles > 2 | |
puts "#{bottles} bottles of beer on the wall, #{bottles} bottles of beer.\nTake one down, pass it around, #{bottles - 1} bottles of beer on the wall." | |
else | |
puts "#{bottles} bottles of beer on the wall, #{bottles} bottles of beer.\nTake one down, pass it around, #{bottles - 1} bottle of beer on the wall." |
This file contains 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
card_number = "4929735477250543" | |
total_number = 0 | |
valid = false | |
# 4929735477250543 | |
# other numbers when checked are either: | |
# | |
# valid1 = "5541808923795240" | |
# valid2 = "4024007136512380" | |
# valid3 = "6011797668867828" | |
# or |
This file contains 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
require 'pry' | |
class CreditCheck | |
attr_accessor :input | |
attr_accessor :numerizer | |
attr_accessor :multiplier | |
attr_accessor :sum | |
attr_accessor :reducables | |
attr_accessor :validater | |
attr_accessor :converter |
This file contains 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
Portrait of a Language as a Young Program | |
* Brief Intro of Matz | |
--Why make a new language | |
--Birth of Coral, err Ruby | |
--Early days, 3 version updates in 2 days | |
--Mailing list which persists today | |
* What Ruby Has | |
--What did it derive from other languages |
This file contains 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
Dark Patterns | |
* Basic Responsibilites of a Developer | |
--Make clean code: This stuff isn't poorly coded, just evil | |
--Satisfy your boss | |
--Don't be a scumbag | |
* What something should look like | |
--Ars Technica | |
--Pretty sign up form |
This file contains 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
Trollin' Aint Easy :sunglasses: | |
* Define Trolling | |
--Trolling, Trawling, Trowling. | |
--Everyone's a Troll! | |
* Why Trolling Isn't Inherently Bad | |
--Everyone's a Troll! (Chemicals are everwhere, don't be scared kids) | |
--Harmful Trolling Looks Like This |
This file contains 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
Ads | |
* My Story -beginning | |
--Running a LAN center: Good Game | |
--Facebook Ads/Adsense... pricey, but couldn't hurt right? | |
--Fake users whaaa? | |
* Why Invalid Click Why | |
--Explain concept of Click Fraud | |
--Scripters gonna script, Michael Anthony Bradley |
This file contains 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
BIG O | |
* Krita's right, DSA | |
--Landau's Symbol: basically rate of growth == order | |
--Knowing what we're measuring: Complexity vs Performance | |
--How to read Big O notation | |
* Krita's right, DSA | |
--Landau's Symbol: basically rate of growth == order | |
--Knowing what we're measuring: Complexity vs Performance |
This file contains 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
BIG O | |
* Krita's right, DSA | |
--Landau's Symbol: basically rate of growth == order | |
--Knowing what we're measuring: Complexity vs Performance | |
--How to read Big O notation | |
* Krita's right, DSA | |
--Landau's Symbol: basically rate of growth == order | |
--Knowing what we're measuring: Complexity vs Performance |
This file contains 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
BIG O | |
* Krista's right, DSA | |
--Landau's Symbol: basically rate of growth == order | |
--Knowing what we're measuring: Complexity vs Performance | |
--O vs Theta vs Omega | |
--Cases for and cases against significance of Big O | |
--How to read Big O notation | |
* LLLLLIVE coding |
OlderNewer