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
| 1. Open the query URL in your browser with the search term you want to use | |
| An example URL searching for dogs: https://www.instagram.com/web/search/topsearch/?context=blended&query=dog&rank_token=0.5831184414520498&include_reel=false | |
| 2. Copy the code in the "script.js" file | |
| 3. Open up your browser dev tools and go to the console | |
| 4. Paste in the code and hit Enter |
- 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(); |