Skip to content

Instantly share code, notes, and snippets.

David Dangerfield ddanger

Block or report user

Report or block ddanger

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
ddanger / keybindings.json
Created Jun 28, 2019
My VS Code Keybindings
View keybindings.json
{ "key": "cmd+1","command": "workbench.action.openEditorAtIndex1" },
{ "key": "cmd+2","command": "workbench.action.openEditorAtIndex2" },
{ "key": "cmd+3","command": "workbench.action.openEditorAtIndex3" },
{ "key": "cmd+4","command": "workbench.action.openEditorAtIndex4" },
{ "key": "cmd+5","command": "workbench.action.openEditorAtIndex5" },
{ "key": "cmd+6","command": "workbench.action.openEditorAtIndex6" },
{ "key": "cmd+7","command": "workbench.action.openEditorAtIndex7" },
{ "key": "cmd+8","command": "workbench.action.openEditorAtIndex8" },
{ "key": "cmd+9","command": "workbench.action.openEditorAtIndex9" },
ddanger / settings.json
Last active Jul 8, 2019
My VS Code User Settings
View settings.json
"breadcrumbs.enabled": true,
"diffEditor.renderSideBySide": true,
"editor.insertSpaces": true,
"editor.formatOnPaste": false,
"editor.formatOnSave": false,
"editor.formatOnType": false,
"editor.minimap.enabled": false,
"editor.minimap.maxColumn": 80,
"editor.minimap.renderCharacters": false,
View vuex-async-module-builder.js
* Create a Vuex store module to represent states for an asynchronous API getter.
* Includes defaultState, actions, and mutations for a standard value gotten via asynchronous call.
* See defaultState() function for list of states included.
* Usage:
* Assuming we have an async call to get documents (getDocuments) which takes a payload object as an arg, here's what we can do:
* ----- store.js -----
You can’t perform that action at this time.