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
| #!/usr/bin/env bash | |
| set -euo pipefail | |
| VERSION="1.1.0" | |
| SCRIPT_NAME="docker-clean" | |
| SCRIPT_URL="https://gist.githubusercontent.com/broisnischal/4e8c5a7430e7a47eb7d5855762f471da/raw/docker-clean.sh" | |
| # Colors | |
| RED="\033[0;31m" | |
| GREEN="\033[0;32m" |
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
| # Stop all running containers | |
| docker stop $(docker ps -q) | |
| # Remove all containers | |
| docker rm -f $(docker ps -aq) | |
| # Remove all images | |
| docker rmi -f $(docker images -aq) | |
| # Remove all volumes |
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
| # If you come from bash you might have to change your $PATH. | |
| # export PATH=$HOME/bin:$HOME/.local/bin:/usr/local/bin:$PATH | |
| # Path to your Oh My Zsh installation. | |
| export ZSH="$HOME/.oh-my-zsh" | |
| # Set name of the theme to load --- if set to "random", it will | |
| # load a random theme each time Oh My Zsh is loaded, in which case, | |
| # to know which specific one was loaded, run: echo $RANDOM_THEME | |
| # See https://github.com/ohmyzsh/ohmyzsh/wiki/Themes |
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
| root = true | |
| [*] | |
| charset = utf-8 | |
| indent_style = space | |
| indent_size = 4 | |
| end_of_line = lf | |
| insert_final_newline = true | |
| trim_trailing_whitespace = true |
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
| { | |
| "singleQuote": true, | |
| "trailingComma": "all", | |
| "tabWidth": 4, | |
| "semi": true, | |
| "printWidth": 100 | |
| } |
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
| # .tmux.conf | |
| set -g mouse on | |
| setw -g mode-keys vi | |
| unbind C-b | |
| set -g prefix C-a | |
| bind C-a send-prefix | |
| bind | split-window -h | |
| bind - split-window -v |
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
| # .bashrc | |
| export PATH=$HOME/bin:/usr/local/bin:$PATH | |
| alias ll='ls -la' | |
| alias gs='git status' | |
| alias gc='git commit -m' | |
| # Enable colors in terminal | |
| export CLICOLOR=1 | |
| export LSCOLORS=GxFxCxDxBxegedabagaced |
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
| { | |
| "deno.lint": true, | |
| "deno.format": true, | |
| "deno.enable": true, | |
| "deno.unstable": true, | |
| "terminal.integrated.env.linux": {}, | |
| "console-ninja.featureSet": "Community", | |
| "editor.fontFamily": "Consolas", | |
| "editor.fontWeight": "300", | |
| "editor.fontSize": 13, |
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
| [ | |
| { | |
| "key": "ctrl+n", | |
| "command": "explorer.newFile" | |
| }, | |
| { | |
| "key": "ctrl+shift+n", | |
| "command": "explorer.newFolder" | |
| }, | |
| { |
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
| [user] | |
| email = [email protected] | |
| name = broisnischal | |
| [alias] | |
| st = status -sb | |
| co = checkout | |
| ci = commit -m | |
| lg = log --oneline --graph --decorate --all | |
| ca = commit --amend --no-edit |
NewerOlder