Instantly share code, notes, and snippets.

💭
thinking of a status

# Daniel Carl Jonesdannycjones

💭
thinking of a status
• Sort options
Created Apr 5, 2018
View hs-committee-roles-1819.md

## Roles

### President

• Always looking for opportunities to pursue. e.g. MLH have released a new workshop, how should we act on this?
• ‎Always looking for ways to improve the society as a whole. What could we improve on for our next event?
• Delegate across the committee as equally as possible, ensuring no one person is burdened with too much work.
Created Apr 10, 2017
View keybase.md

### Keybase proof

I hereby claim:

• I am dannycjones on github.
• I am dannycjones (https://keybase.io/dannycjones) on keybase.
• I have a public key ASDEcdspZKj73gUaEZ40ryBrnpGmOZh0tJA_WpvR6Cnj1Ao

To claim this, I am signing this object:

Created Oct 25, 2016
View FizzBuzz.hs
 fizzBuzz :: [Int] -> [String] fizzBuzz listOfNumbers = [fizzify x | x <- listOfNumbers] where fizzify :: Int -> String fizzify num | fizz && buzz = "FizzBuzz" | fizz = "Fizz" | buzz = "Buzz" | otherwise = show num where fizz = num `mod` 3 == 0
Last active Jun 2, 2016
An implementation of Euclid's algorithm in Ruby finding the highest common factor for two numbers.
View euclids.rb
 def euclids(a, b) # Euclid's Algorithm quotient = a / b remainder = a % b # modulo puts "#{a} = #{quotient}(#{b}) + #{remainder} [hcf(#{a}, #{b})]" return b if remainder.zero? euclids(b, remainder) end def hcf(a, b) euclids(a, b)
Created Oct 17, 2015
View harlemShake.js
 /* Credit to https://gist.github.com/commadelimited/4958196 for the first section (slightly modified) */ function harlemShake() { function c() { var e = document.createElement("link"); e.setAttribute("type", "text/css"); e.setAttribute("rel", "stylesheet"); e.setAttribute("href", f); e.setAttribute("class", l); document.body.appendChild(e)
Created Oct 17, 2015
View specialRep.js
 console.info("specialRep Javascript Loaded."); var specialRepUsers = []; var specialRepInterval; function UserObj(memberID, repMsg, background, prob) { this.memberID = memberID; this.repMessage = repMsg; this.bgColor = background; this.prob = prob;
Created Oct 16, 2014
View tumblr-redirect.html