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
| abusaidm.html-snippets | |
| christian-kohler.path-intellisense | |
| cssho.vscode-svgviewer | |
| dbaeumer.vscode-eslint | |
| dsznajder.es7-react-js-snippets | |
| eamodio.gitlens | |
| ecmel.vscode-html-css | |
| EditorConfig.EditorConfig | |
| emmanuelbeziat.vscode-great-icons | |
| esbenp.prettier-vscode |
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
| PROMPT='$(git_custom_status)%{$fg[cyan]%}[$USER@%M][%~% ]%{$reset_color%}%B$%b ' |
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 -eufo pipefail | |
| echo "Running backup of firefly" | |
| file_suffix=$(date '+%Y-%m-%d_%H-%M-%S') | |
| # Backup declarations | |
| declare fire_db="firefly_db_1" |
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
| Back up volume for container | |
| docker run --rm --volumes-from {container name} -v $(pwd):/backup ubuntu tar cvfP /backup/{back up file name}.tar {directory of volume} |
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 -ef | |
| find /home/tom/backups/documents/ -type f -mtime +7 -name '*.gz' -ls | |
| find /home/tom/backups/documents/ -type f -mtime +7 -name '*.gz' -delete |
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 -euf | |
| echo "Running backup of documents" | |
| file_suffix=$(date '+%Y-%m-%d_%H:%M:%S') | |
| declare full_file_name="documents_backup_$file_suffix.tar.gz" | |
| declare identity_param="-i /home/tom/.ssh/id_rsa" | |
| declare external_dir="/home/tom/backups/documents/" |
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
| https://github.com/VundleVim/Vundle.vim | |
| " ================================ | |
| " Welcome to Tom's vimrc file | |
| " ================================ | |
| " -------------------------------- | |
| " Plugins | |
| " -------------------------------- | |
| set nocompatible | |
| filetype off |