- Michael Crump and Cecil Phillip: Azure Tips and Tricks: Become more Productive with Azure in 20 minutes
- John Papa and Burke Holland: Visual Studio Code Can Do That: Tips & Tricks
- Brian Clark: Deploying Node.js on Azure
- Brian Clark: VS Live Share with Amanda Silver
- Sarah Drasner: Live and (Machine) Learn
- Laurent Bugnion: Mobile apps built with Xamarin, using a serverless Azure Functions back-end
- John Papa: Building full-stack Node.js web apps with Visual Studio Code
- Simona Cotin: Build Node.js APIs using serverless
This file contains hidden or 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
{ | |
"workbench.editor.tabSizing": "shrink", | |
"explorer.openEditors.visible": 0, | |
"window.zoomLevel": 1, | |
"git.confirmSync": false, | |
"prettier.singleQuote": true, | |
"prettier.printWidth": 120, | |
"editor.lineNumbers": "on", | |
"editor.lineHeight": 0, |
This file contains hidden or 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
{ | |
"window.zoomLevel": 4, | |
"editor.formatOnSave": true, | |
"workbench.iconTheme": "vs-seti", | |
"workbench.colorTheme": "Monokai Dimmed", | |
"prettier.singleQuote": true | |
} |
This file contains hidden or 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
{"lastUpload":"2019-10-10T03:00:57.381Z","extensionVersion":"v3.4.3"} |
This file contains hidden or 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
// callbacks | |
foo(params, function (error, fooResult) { | |
bar(fooResult, function (error, barResult) { | |
baz(barResult, function (error, bazResult) { | |
// and on and on... >>>>>>> | |
}); | |
}); | |
}); |
This file contains hidden or 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
server.get('/secure/route', | |
// My short-circuiting middleware "module" | |
function checkAuthorization (req, res, next) { | |
res.send(401, 'Unauthorized'); | |
return next(); | |
}, | |
// My route implementation | |
function routeAction (req, res, next) { | |
res.send(200, { data: 'secure data' }); | |
return next(); |
This file contains hidden or 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
server.get('/secure/route', | |
// My short-circuiting middleware "module" | |
function checkAuthorization (req, res, next) { | |
res.send(401, 'Unauthorized'); | |
return next(false); | |
}, | |
// My route implementation | |
function routeAction (req, res, next) { | |
res.send(200, { data: 'secure data' }); | |
return next(); |
This file contains hidden or 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
server.get('/secure/route', | |
// My short-circuiting middleware "module" | |
function checkAuthorization (req, res, next) { | |
res.send(401, 'Unauthorized'); | |
return next(false); | |
}, | |
// My route implementation | |
function routeAction (req, res, next) { | |
res.send(200, { data: 'secure data' }); | |
return next(); |
This file contains hidden or 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
// Originally provided here: http://pastebin.com/aJna4paJ | |
1. Go to Google Chrome | |
2. Go to any website (works cool on facebook) | |
3. Right click anywhere -> Inspect Element | |
4. Click on the rightmost "Console" tab. | |
5. Copy paste the following * into the console. | |
6. Make sure the volume isn't too loud! | |
7. Press Enter. | |
8. If the audio doesn't play and/or elements on the page don't move then the site has properly implemented a CSP |
NewerOlder