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
| { | |
| // Editor Related Settings | |
| "editor.wordWrap": "off", | |
| "editor.cursorStyle": "line", | |
| "editor.lineNumbers": "relative", | |
| "editor.autoClosingQuotes": "always", | |
| "editor.suggestSelection": "first", | |
| "editor.autoClosingBrackets": "always", | |
| "editor.autoSurround": "languageDefined", | |
| "editor.defaultFormatter": "dbaeumer.vscode-eslint", |
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
| class Node { | |
| constructor(value) { | |
| this.value = value | |
| this.left = null | |
| this.right = null | |
| } | |
| } | |
| class Tree { | |
| constructor() { |
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
| # Docker | |
| # remove all containers | |
| alias ddc='docker rm -vf $(docker ps -a -q)' | |
| # remove all images | |
| # alias ddi='docker rmi -f $(docker images -a -q)' | |
| # ps all | |
| alias dps='docker ps --all' |
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
| #!/bin/bash | |
| function pullImage() { | |
| docker pull $1 | |
| } | |
| function createVolumeName() { | |
| docker volume create $1 | |
| } |
NewerOlder