Skip to content

Instantly share code, notes, and snippets.

View death667b's full-sized avatar

Ian Daniel death667b

  • Brisbane, Australia
View GitHub Profile
{
"name": "angular2-quickstart",
"version": "1.0.0",
"scripts": {
"start": "tsc && concurrently \"npm run tsc:w\" \"npm run lite\" ",
"lite": "lite-server",
"postinstall": "typings install",
"tsc": "tsc",
"tsc:w": "tsc -w",
"typings": "typings"
@death667b
death667b / fizzbuzz.py
Created June 9, 2016 23:22
FizzBuzz in Python
for x in range (1, 101):
if ((x % 3) == 0) and ((x % 5) == 0):
print "FizzBuzz"
elif ((x % 3) == 0):
print "Fizz"
elif ((x % 5) == 0):
print "Buzz"
else:
print x
@death667b
death667b / gist:f5ef11bbcd07a726183f
Created February 26, 2016 07:06
FreeCodeCamp question
// Setup
var collection = {
2548: {
album: "Slippery When Wet",
artist: "Bon Jovi",
tracks: [
"Let It Rock",
"You Give Love a Bad Name"
]
},