node inspect path/to/file.js
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
lets( | |
birthMonth, month(prop("Birthday")), | |
birthDay, date(prop("Birthday")), | |
ifs( | |
or((birthMonth == 3 AND birthDay >= 21), (birthMonth == 4 AND birthDay <= 19)), "♈️ Aries", | |
or((birthMonth == 4 AND birthDay >= 20), (birthMonth == 5 AND birthDay <= 20)), "♉️ Taurus", | |
or((birthMonth == 5 AND birthDay >= 21), (birthMonth == 6 AND birthDay <= 20)), "♊️ Gemini", | |
or((birthMonth == 6 AND birthDay >= 21), (birthMonth == 7 AND birthDay <= 22)), "♋️ Cancer", | |
or((birthMonth == 7 AND birthDay >= 23), (birthMonth == 8 AND birthDay <= 22)), "♌️ Leo", | |
or((birthMonth == 8 AND birthDay >= 23), (birthMonth == 9 AND birthDay <= 22)), "♍️ Virgo", |
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
git config --global core.excludesfile .local.gitignore | |
# Then add .local.gitignore to the file, so it ignores itself | |
# whilst also ignoring everything else you put in the file |
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
const requireModule = require.context('.', false, /^\.\/Cy.+\.js$/) | |
const modules = requireModule.keys().reduce((modules, fileName) => { | |
const moduleName = fileName.replace(/(\.\/|\.js)/g, '') | |
return { ...modules, [moduleName]: requireModule(fileName).default } | |
}, {}) | |
export const components = Object.keys(modules) | |
export default modules |
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
Show hidden characters
{ | |
// This file is required for VSCode to understand webpack aliases | |
"module": "es6", | |
"moduleResolution": "node", | |
"compilerOptions": { | |
"resolveJsonModule": true, | |
"jsx": "preserve", | |
"module": "commonjs", | |
"target": "es5", | |
"sourceMap": 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
[ | |
{ | |
"enabled": true, | |
"updateUrl": null, | |
"md5Url": null, | |
"url": null, | |
"originalMd5": null, | |
"installDate": 1579607673481, | |
"name": "github.com", | |
"sections": [ |
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
var groupedEstimates = {} | |
// get all pipelines | |
var allPipelines = document.querySelectorAll('.zhc-pipeline') | |
allPipelines.forEach((pipeline) => { | |
const key = (pipeline.querySelector('div.zhc-pipeline-header__info') || {}).innerText | |
if (key) { | |
// initialise properties for each pipeline | |
groupedEstimates[key] = {} | |
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
var groupedEstimates = {} | |
// get all pipelines | |
var allPipelines = document.querySelectorAll('.zhc-pipeline') | |
allPipelines.forEach((pipeline) => { | |
const key = (pipeline.querySelector('div.zhc-pipeline-header__info') || {}).innerText | |
if (key) { | |
groupedEstimates[key] = {} | |
// initialise properties for each pipeline | |
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
// Place your key bindings in this file to overwrite the defaults | |
[ | |
{ | |
"key": "ctrl+d", | |
"command": "editor.action.copyLinesDownAction", | |
"when": "editorTextFocus && !editorReadonly" | |
}, | |
{ | |
"key": "ctrl+shift+alt+down", | |
"command": "-editor.action.copyLinesDownAction", |
NewerOlder