Per @samali0996 's comment below: https://gist.github.com/pjobson/6b9fb926c59f58aa73d4efa10fe13654?permalink_comment_id=4487157#gistcomment-4487157
The new WSL Win10/11 should support this natevly. Thanks for posting the update!
Per @samali0996 's comment below: https://gist.github.com/pjobson/6b9fb926c59f58aa73d4efa10fe13654?permalink_comment_id=4487157#gistcomment-4487157
The new WSL Win10/11 should support this natevly. Thanks for posting the update!
| { | |
| "compilerOptions": { | |
| // project options | |
| "lib": [ | |
| "ESNext", | |
| "dom" | |
| ], // specifies which default set of type definitions to use ("DOM", "ES6", etc) | |
| "outDir": "lib", // .js (as well as .d.ts, .js.map, etc.) files will be emitted into this directory., | |
| "removeComments": true, // Strips all comments from TypeScript files when converting into JavaScript- you rarely read compiled code so this saves space | |
| "target": "ES6", // Target environment. Most modern browsers support ES6, but you may want to set it to newer or older. (defaults to ES3) |
| import time | |
| from http.server import BaseHTTPRequestHandler, HTTPServer | |
| HOST_NAME = 'localhost' | |
| PORT_NUMBER = 9000 | |
| class MyHandler(BaseHTTPRequestHandler): | |
| def do_HEAD(self): | |
| self.send_response(200) |
| console.log("Usage Syntax: scanScope(objectToScan, 'scanFor', ['whatToIgnore']); %c(whatToIgnore is optional and can be a string, or an array of strings) (scanScope can be shortened to ss)", 'color: red'); | |
| var abortAtLevel = 20, | |
| callStack = 0, | |
| errArray = [], | |
| funArray = [], | |
| scanLoop = function (whatToScan, scanValue, whatToIgnore, parentTree) { | |
| scanValue = scanValue.toLowerCase(); | |
| if (Array.isArray(whatToIgnore)) { | |
| whatToIgnore.forEach(function (ignoreVal) { | |
| ignoreVal = lowerCase(ignoreVal); |