Skip to content

Instantly share code, notes, and snippets.

@marioharper
marioharper / vscode-keybindings.json
Created March 27, 2019 00:22
vscode keybindings
[
// Toggle between terminal and editor focus
{ "key": "ctrl+`", "command": "workbench.action.terminal.focus" },
{
"key": "ctrl+`",
"command": "workbench.action.focusActiveEditorGroup",
"when": "terminalFocus"
}
]
@marioharper
marioharper / vscode-settings.json
Last active March 27, 2019 03:37
vscode settings
{
"editor.minimap.enabled": false,
"editor.rulers": [80],
"editor.tabSize": 2,
"terminal.integrated.fontFamily": "Roboto Mono for Powerline",
"workbench.colorTheme": "One Dark Pro Bold",
"workbench.iconTheme": "vs-seti",
"workbench.panel.defaultLocation": "right"
}
@marioharper
marioharper / clean-docker.sh
Last active July 31, 2023 12:44
Stop all docker processes, remove all containers, remove all images
# stop all processes
docker stop $(docker ps -aq)
# remove all containers
docker rm $(docker ps -aq)
# remove all images
docker rmi $(docker images -aq)
# delete all volumes