Skip to content

Instantly share code, notes, and snippets.

View micahlt's full-sized avatar
💻

Micah Lindley micahlt

💻
View GitHub Profile
@micahlt
micahlt / gds.html
Created December 19, 2018 16:56
AHS hackers created by micahlt - https://repl.it/@micahlt/AHS-hackers
Empty file
@micahlt
micahlt / main.rb
Created September 13, 2018 18:55
0.7.2 Laser created by micahlt - https://repl.it/@micahlt/072-Laser
# Welcome
puts "TextCalC Light 0.71, forked from @micahlt"
def runit
puts "Enter expression"
prob = gets
prob = prob.split
if prob[1] == "*" then
puts prob[0].to_i * prob[2].to_i
if gets.chomp == "again" then
runit
@micahlt
micahlt / main.rb
Created September 13, 2018 15:24
Verifiable Spry Keychain created by micahlt - https://repl.it/@micahlt/Verifiable-Spry-Keychain
# # Welcome message
puts "Hello! Welcome to TextCalc 0.7"
# Define calculator function
def runcalc
# Ask for operator
puts "Add, subtract, divide, multiply, or grow exponentially?"
opor= gets.chomp
if opor == "add" then
# Adding
puts "1st Number"
@micahlt
micahlt / main.rb
Created September 13, 2018 11:41
0.7.4 created by micahlt - https://repl.it/@micahlt/074
# # Welcome message
puts "Hello! Welcome to TextCalc 0.7"
# Define calculator function
def runcalc
# Ask for operator
puts "Add, subtract, divide, multiply, or grow exponentially?"
opor= gets.chomp
if opor == "add" then
# Adding
puts "1st Number"