Skip to content

Instantly share code, notes, and snippets.

Avatar

Danny Callaghan dannycallaghan

  • London
View GitHub Profile
@dannycallaghan
dannycallaghan / Case 502 - A delicate matter - stage 2
Created Jan 8, 2020
Case 502 - A delicate matter - stage 2
View Case 502 - A delicate matter - stage 2
/*
Officer: 8018788
CaseNum: 502-1-27755867-8018788
Case 502 - A delicate matter - stage 2
We’re hot on the trail kid, and another document has come my way.
It’s a little more tricky to decipher but I know you can do it.
View 601-2-97128180-8018788.js
/*
Officer: 8018788
CaseNum: 601-2-97128180-8018788
Case 601 - Murdering Again - stage 3
Now murders are beginning to occur.
If we can place her near any of the recent crime scenes in the area we should be able narrow down her location.
In the setup function, use a for loop to graph all of the points on the map
View sketch-302-03.js
/*
The case of the slippery Minsky brothers
Stage 4: Gates Memorial Art Museum
Officer: 8018788
CaseNum: 302-3-36685406-8018788
Darn it ! All three Minskys have broken out of the county jail. I told you they were slippery. Word has it that they are planning their biggest heist yet. Tonight they plan to steal multiple priceless artworks from the Gates Memorial Art Museum. I’ve assembled you a team. Head down to the Museum and stop them.
- Edit the spotlight object by creating x and y properties initialised to your location. Also endX and endY properties initialised to one of the Minsky's location.
@dannycallaghan
dannycallaghan / sketch-303-03.js
Created May 17, 2019
Case 303 - The Case of the Crooked Attorney Stage 3 - The Gates Bank
View sketch-303-03.js
/*
Officer: 8018788
CaseNum: 303-2-34839955-8018788
Case 303 - The Case of the Crooked Attorney
Stage 3 - The Gates Bank
I’ve made an appointment for you at the Gates Bank to retrieve your safe deposit box from the vault.
Actually you will break into Torvalds’ one.
View sketch-402-04-new.js
/*
402 - The case of the Why Gang ruby heist
Stage 4 - Fox
Officer: 5980088
CaseNum: 402-3-22317853-5980088
This final Why gang member Fox is the boss of the gang. Fox is particularly
cunning and has hidden herself down this twisted network of alleys known as
vice city. Head into vice city to find her but don’t get lost!
View sketch-402-04.js
/*
402 - The case of the Why Gang ruby heist
Stage 4 - Fox
Officer: 8018788
CaseNum: 402-3-96700118-8018788
This final Why gang member Fox is the boss of the gang. Fox is particularly
cunning and has hidden herself down this twisted network of alleys known as
vice city. Head into vice city to find her but don’t get lost!
View sketch-303-02.js
/*
Officer: 8018788
CaseNum: 303-2-34839955-8018788
Case 303 - The Case of the Crooked Attorney
Stage 3 - The Gates Bank
I’ve made an appointment for you at the Gates Bank to retrieve your safe deposit box from the vault.
Actually you will break into Torvalds’ one.
@dannycallaghan
dannycallaghan / AddSublimeToCLI
Created Feb 20, 2014
Add Sublime Text To CLI
View AddSublimeToCLI
n -s "/Applications/Sublime Text.app/Contents/SharedSupport/bin/subl" /usr/bin/subl
View InstallMongo
// Assuming, of course, you have Homebrew
brew update
brew install mongodb
// To have launchd start mongodb at login:
// ln -sfv /usr/local/opt/mongodb/*.plist ~/Library/LaunchAgents
// Then to load mongodb now:
// launchctl load ~/Library/LaunchAgents/homebrew.mxcl.mongodb.plist
// Or, if you don't want/need launchctl, you can just run:
// mongod
@dannycallaghan
dannycallaghan / SimpleWebServer
Created Jan 24, 2014
Simple web server on OSX
View SimpleWebServer
python -m SimpleHTTPServer 8000