This file contains 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
javascript: (function() { var styleEl = document.getElementById('css-layout-hack'); if (styleEl) { styleEl.remove(); return; } styleEl = document.createElement('style'); styleEl.id = 'css-layout-hack'; styleEl.innerHTML = '* { background:#000!important;color:#0f0!important;outline:solid%20#f00%201px!important;%20background-color:%20rgba(255,0,0,.2)%20!important;%20}\%20%20%20%20%20*%20*%20{%20background-color:%20rgba(0,255,0,.2)%20!important;%20}\%20%20%20%20%20*%20*%20*%20{%20background-color:%20rgba(0,0,255,.2)%20!important;%20}\%20%20%20%20%20*%20*%20*%20*%20{%20background-color:%20rgba(255,0,255,.2)%20!important;%20}\%20%20%20%20%20*%20*%20*%20*%20*%20{%20background-color:%20rgba(0,255,255,.2)%20!important;%20}\%20%20%20%20%20*%20*%20*%20*%20*%20*%20{%20background-color:%20rgba(255,255,0,.2)%20!important;%20}\%20%20%20%20%20*%20*%20*%20*%20*%20*%20*%20{%20background-color:%20rgba(255,0,0,.2)%20!important;%20}\%20%20%20%20%20*%20*%20*%20*%20*%20*%20*%20*%20{%20background-color:%20rgba(0,255,0,.2)%20!import |
This file contains 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 override the defaultsauto[] | |
[ | |
{ | |
"key": "shift+cmd+'", | |
"command": "workbench.action.terminal.new" | |
}, | |
{ | |
"key": "ctrl+shift+`", | |
"command": "-workbench.action.terminal.new" | |
}, |
This file contains 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
Vue.mixin({ | |
computed: { | |
$routeRoot() { | |
if (this.$route && this.$route.matched.length > 0) { | |
return this.$route.matched[0].instances.default | |
} | |
} | |
} | |
}); |
This file contains 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
{ | |
"compilerOptions": { | |
"lib": ["ES2020"], | |
"target": "ES5", | |
"module": "CommonJS", | |
"outDir": "./dist", | |
"baseUrl": "./src", | |
"strict": true, | |
"declaration": true | |
}, |
This file contains 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.sideBar.location": "right", | |
"workbench.iconTheme": "material-icon-theme", | |
"window.zoomLevel": 0, | |
"terminal.external.osxExec": "bash", | |
"editor.lineHeight": 33, | |
"editor.fontFamily": "'Operator Mono', Menlo, Monaco, 'Courier New', monospace", | |
"editor.fontLigatures": true, | |
"breadcrumbs.enabled": true, | |
"editor.fontSize": 15, |
This file contains 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 alias.amend "commit --amend --no-edit" | |
git config --global alias.update "pull --rebase origin develop" | |
git config --global alias.nah "! git reset --hard && git clean -df" | |
git config --global alias.commit-crime "commit -n" | |
git config --global alias.alias "! git config --get-regexp ^alias\. | sed -e s/^alias\.// -e s/\ /\ =\ /" | |
git config --global alias.arrange "rebase -i develop" | |
git config --global alias.recent "branch --sort=-committerdate" # most recent branches | |
git config --global alias.stash-unstaged "stash save --keep-index -u" | |
git config --global alias.undo-commit "reset HEAD~ --soft" |
This file contains 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
// @ts-check | |
/** | |
* @param {number[]} numbers | |
*/ | |
function sum(...numbers) { | |
return numbers.reduce((result, addition) => result + addition, 0); | |
} | |
sum(1, 2, 3, 4); // OK |