Skip to content

Instantly share code, notes, and snippets.

wilkinsbrian

Block or report user

Report or block wilkinsbrian

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@wilkinsbrian
wilkinsbrian / fizzbuzz.rb
Created Jul 13, 2014
Ruby FizzBuzz with If Statement
View fizzbuzz.rb
def fizzbuzz(n)
if (n % 3 == 0)
puts "Fizz"
end
if (n % 5 == 0)
puts "Buzz"
end
if !((n % 3 == 0) || (n % 5 == 0))
puts n
end
View convertMkv
#!/bin/bash
############################################################
# Recursively peruses a directory and converts MKV files
# to MP4 for streaming to Xbox360.
#
# @author: Ticean Bennett
# @url: http://ticean.com
# @see: http://trac.handbrake.fr/wiki/CLIGuide#options
#
# @param file The complete file path.
You can’t perform that action at this time.