Skip to content

Instantly share code, notes, and snippets.

@ggongaware
ggongaware / creds.sh
Created April 29, 2019 15:23
DB Login
mysql -u admin -pyuGr3nn@cSyrTecin -h prod-db1.telmate.com credit_card_db
@ggongaware
ggongaware / fizzbuzz.rb
Created August 14, 2012 17:26 — forked from earlonrails/fizzbuzz.rb
FIZZ BUZZ! This is to make sure that no one (myself mainly) has to figure out the fizz buzz problem anymore!
(1..100).each do |x|
str = ((x%3) == 0 ? "fizz" : "") + ((x%5) == 0 ? "buzz" : "")
puts str.empty? ? x : str
end