- Open
terminal.app
- ⌘ + space bar
- Enter & select
terminal.app
- Copy, paste & submit with enter:
(Backups bookmarks/passwords, deletes other Chrome files that might cause the 💥)
mkdir ~/ChromeBackUp && cp -R ~/Library/Application\ Support/Google/Chrome/Default/Bookmarks ~/ChromeBackup && cp -R ~/Library/Application\ Support/Google/Chrome/Default/databases ~/ChromeBackup/databases && rm -rf ~/Library/Application\ Support/Google/Chrome/Default
- Delete Google Chrome in Applications directory
- Open
Finder
- Menu bar
Go > Applications
- Open
- Download Chrome via Safari
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
/* | |
* Stripe WebGl Gradient Animation | |
* All Credits to Stripe.com | |
* ScrollObserver functionality to disable animation when not scrolled into view has been disabled and | |
* commented out for now. | |
* https://kevinhufnagl.com | |
*/ |
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
[ | |
{ | |
"key": "ctrl+alt+o", | |
"command": "workbench.action.openRecent" | |
}, | |
{ | |
"key": "ctrl+alt+w", | |
"command": "workbench.action.closeFolder" | |
}, | |
{ |
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
// ./plugins/prefetch.js | |
export default ({ app, store }) => { | |
app.router.afterEach(() => { | |
Object.keys(store.state) | |
.filter((x) => !['app', 'menu'].includes(x)) | |
.filter((x) => !store.state[x].fetched) | |
.forEach((x) => store.dispatch(`${x}/list`)) | |
}) | |
} |
The validator (./lib/env/validator.js
) is reponsible for handling and validating environment variables. The schema listed in ./lib/env/schema.js
defines which variables are required, what are their defaults, which regex pattern is required and how to transform the passed values.
For this purpose the schema is an object of objects with the following properties:
-
name <string>
Define the name of the instance variable which exposes the transformed value.
E.g.name="port"
enables access viaenv.port
. -
[required=false] <boolean>
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
[ | |
{ | |
"type": "section", | |
"text": { | |
"type": "mrkdwn", | |
"text": "Hiya, it's me, *Erna*. The next lunch date will be next Thursday.\nThat's a tiny reminder 😉.\n\nWanna join and get to know new people?:curry:" | |
} | |
}, | |
{ | |
"type": "actions", |
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
const glob = require('fast-glob'); | |
const info = require( 'npm-registry-package-info' ); | |
const paths = glob.sync('**/package.json', { | |
ignore: ['**/node_modules/**/package.json'], | |
deep: 5 | |
}); | |
paths.forEach(path => { | |
const { dependencies, devDependencies, peerDependencies } = require(`${process.cwd()}/${path}`); |
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
{"lastUpload":"2021-09-17T08:29:49.148Z","extensionVersion":"v3.4.3"} |
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
/** | |
* @function | |
* @private | |
* | |
* @description | |
* Check if passed item is an object | |
* | |
* @param {*} item The item to be checked | |
* @returns {boolean} The passed item is an object | |
*/ |