##Symbol Legend
| Symbol | Abbreviation | Name |
|---|---|---|
| ⌥ | Opt | Option |
| ^ | Ctrl | Control |
| ⌘ | Cmd | Command |
| ⇧ | Shift | Shift |
| #!/bin/sh | |
| # Sublime Text 3 install with Package Control (last update: 12 July 2015) | |
| # | |
| # No need to download this script, just run it on your terminal: | |
| # | |
| # $ curl -L git.io/sublimetext | sh | |
| # | |
| # When you need to update Sublime Text, run this script again. |
| [Definition] | |
| actioncheck= | |
| actionstart = | |
| actionstop = | |
| actionban = /bin/bash /etc/fail2ban/slack_notify.sh "Banned _country_ <ip> in the jail <name> after <failures> attempts" "<ip>" > /dev/null 2>&1 | |
| actionunban = /bin/bash /etc/fail2ban/slack_notify.sh "Unbanned _country_ <ip> in the jail <name>" "<ip>" > /dev/null 2>&1 |
| # ***************************************** | |
| # .profile | |
| # | |
| # Includes lots of nice funtions | |
| # and aliases to make your command-line | |
| # experience happy and productive | |
| # | |
| # ***************************************** | |
| # Me and you; we have history, you know? |
| cd repository | |
| git checkout --orphan orphan_name | |
| git rm -rf . | |
| rm '.gitignore' | |
| echo "#Title of Readme" > README.md | |
| git add README.md | |
| git commit -a -m "Initial Commit" | |
| git push origin orphan_name |
| #!/bin/bash | |
| FILE=$1 | |
| if [ -f $FILE ]; | |
| then | |
| echo "File $FILE exists" | |
| else | |
| echo "File $FILE does not exists" | |
| fi |
| ; Create a Tar of All in Directory | |
| tar cvf backup.tar . | |
| ; Untar | |
| tar xvf filename.tar | |
| ; Exclude files |