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
| 0x0dF897B2388A12694C2BF5CE1BE31825b0117302 |
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
| // -- Avoid excesive nesting | |
| // -- Handle errors at the top of the function | |
| // -- Be explicit about conditionals and name them | |
| // ---- | |
| // ---- worse example | |
| // ---- | |
| function worse(){ |
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 */ | |
| { | |
| "result" : [ | |
| { | |
| "_id" : "Sweet Tooth", | |
| "count" : 2087.0000000000000000 | |
| }, | |
| { | |
| "_id" : "Healthy", | |
| "count" : 2069.0000000000000000 |
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
| user nginx; | |
| worker_processes {{ workers }}; | |
| error_log /var/log/nginx.log; | |
| events { | |
| worker_connections 1024; | |
| accept_mutex off; | |
| } | |
| http { |
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
| { | |
| "generator-angular-fullstack": { | |
| "generatorVersion": "3.3.0", | |
| "endpointDirectory": "server/api/", | |
| "insertRoutes": true, | |
| "registerRoutesFile": "server/routes.js", | |
| "routesNeedle": "// Insert routes below", | |
| "routesBase": "/api/", | |
| "pluralizeRoutes": true, | |
| "insertSockets": true, |
NewerOlder