Skip to content

Instantly share code, notes, and snippets.

💭
thinking of a status

Daniel Carl Jones dannycjones

Block or report user

Report or block dannycjones

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
View hs-committee-roles-1819.md

Roles

President

The leader of the society. Tasked with setting the vision and leading strategic direction.

  • Always thinking ahead.
  • 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.
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:

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
@dannycjones
dannycjones / euclids.rb
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)
@dannycjones
dannycjones / Daniel Carl VB Splash.vb
Last active Jun 2, 2016
A Simple Console Splash Screen in Visual Basic
View Daniel Carl VB Splash.vb
Module Logo
Sub Print(Optional ByVal wait As Integer = 0)
Dim logo_lines(6) As String
Console.Title = "A Project By Daniel Carl"
Console.ForegroundColor = ConsoleColor.Cyan
logo_lines(0) = " "
logo_lines(1) = " ___ _ __ _____ __"
logo_lines(2) = " / _ \___ ____ (_)__ / / / ___/__ _____/ /"
logo_lines(3) = " / // / _ `/ _ \/ / -_) / / /__/ _ `/ __/ / "
logo_lines(4) = " /____/\_,_/_//_/_/\__/_/ \___/\_,_/_/ /_/ "
@dannycjones
dannycjones / announcements.html
Created Dec 9, 2013
A Fancy, but simple announcements box with animated background.
View announcements.html
<style>
@keyframes animate-bg
{
from {background-position:0px 0px;}
to {background-position:-40px -40px;}
}
@-webkit-keyframes animate-bg
{
from {background-position:0px 0px;}
to {background-position:-40px -40px;}
@dannycjones
dannycjones / Status Box.css
Last active Dec 29, 2015
A Status Box that can be used to manually show the status of sections of your community.
View Status Box.css
/* Modify the code here in order to style the Status Box */
.report_problem {
font-size: 9pt;
color: #1E90FF;
font-style:italic;
}
.status_title {
font-weight:600;
display:none;
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)
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;
View tumblr-redirect.html
<!DOCTYPE html>
<html>
<head>
{MobileAppHeaders}
<meta charset="utf-8">
<title>{Title}</title>
{block:Description}
<meta name="description" content="{MetaDescription}"/>
{/block:Description}
You can’t perform that action at this time.