This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// index.js | |
<React.StrictMode> | |
<BrowserRouter> | |
<App /> | |
</BrowserRouter> | |
</React.StrictMode> | |
// App.js - notice how Home is nested in Layout |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
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. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
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. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
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. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
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! |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
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! |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
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. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
n -s "/Applications/Sublime Text.app/Contents/SharedSupport/bin/subl" /usr/bin/subl |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// 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 |
NewerOlder