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
sudo docker rmi $(sudo docker images -qa) | |
sudo docker rm -vf $(sudo docker ps -aq) | |
sudo docker rmi -f $(sudo docker images -aq) | |
sudo docker volume prune -f | |
sudo docker system prune -af |
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
{ | |
"workbench.startupEditor": "none", | |
"extensions.ignoreRecommendations": false, | |
"editor.tabSize": 2, | |
"editor.renderWhitespace": "all", | |
"editor.fontFamily": "'Fira Code', Inconsolata, 'Droid Sans Mono', monospace", | |
"editor.fontLigatures": true, | |
"editor.fontSize": 14, | |
"vscode_custom_css.imports": ["file:///home/matheus/dev/vscode/styles.css"] | |
} |
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
" Make external commands work through a pipe instead of a pseudo-tty | |
"set noguipty | |
" You can also specify a different font, overriding the default font | |
"if has('gui_gtk2') | |
" set guifont=Bitstream\ Vera\ Sans\ Mono\ 12 | |
"else | |
" set guifont=-misc-fixed-medium-r-normal--14-130-75-75-c-70-iso8859-1 | |
"endif |
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
syntax on "enable syntax highlight | |
set nu "line number | |
"line highlight | |
set cursorline | |
" For regular expressions turn magic on | |
set magic |
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
# Files | |
/dev/sdb2 /mnt/files ntfs defaults 0 0 | |
# Windows | |
/dev/sda2 /mnt/windows ntfs defaults 0 0 |
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
[alias] | |
s = status | |
st = status | |
ci = commit | |
co = checkout | |
br = branch | |
lol = log --graph --decorate --pretty=oneline --abbrev-commit | |
lola = log --graph --decorate --pretty=oneline --abbrev-commit --all | |
[color] |
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
# Kill all processes that contains the string from the first parameter. | |
monsterkill() { | |
read -p "Are you sure? " -n 1 -r | |
echo # (optional) move to a new line | |
if [[ $REPLY =~ ^[Yy]$ ]] | |
then | |
ps -ef | grep $1 | grep -v grep | awk '{print $2}' | xargs kill -9 | |
fi | |
} |