sudo add-apt-repository ppa:gnome-terminator
sudo apt-get update
sudo apt-get install terminatorTerminator should be setup as default now. Restart your terminal (shortcut: "Ctrl+Alt+T").
| # EditorConfig is awesome: http://EditorConfig.org | |
| # top-most EditorConfig file | |
| root = true | |
| # All PHP files MUST use the Unix LF (linefeed) line ending. | |
| # Code MUST use an indent of 4 spaces, and MUST NOT use tabs for indenting. | |
| # All PHP files MUST end with a single blank line. | |
| # There MUST NOT be trailing whitespace at the end of non-blank lines. | |
| [*] |
| #!/bin/bash | |
| # Check if ran with root permissions | |
| if [ `id -u` -ne 0 ]; then | |
| printf "The script must be run as root! (you can use sudo)\n" | |
| exit 1 | |
| fi | |
| function arrayContains { | |
| local e match="$1" |
| //generates a random password of length minimum 8 | |
| //contains at least one lower case letter, one upper case letter, | |
| // one number and one special character, | |
| //not including ambiguous characters like iIl|1 0oO | |
| function randomPassword($len = 8) { | |
| //enforce min length 8 | |
| if($len < 8) | |
| $len = 8; |