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").
| def pairwise_dist (A, B): | |
| """ | |
| Computes pairwise distances between each elements of A and each elements of B. | |
| Args: | |
| A, [m,d] matrix | |
| B, [n,d] matrix | |
| Returns: | |
| D, [m,n] matrix of pairwise distances |
| # ---------------------------------- | |
| # Colors | |
| # ---------------------------------- | |
| NOCOLOR='\033[0m' | |
| RED='\033[0;31m' | |
| GREEN='\033[0;32m' | |
| ORANGE='\033[0;33m' | |
| BLUE='\033[0;34m' | |
| PURPLE='\033[0;35m' | |
| CYAN='\033[0;36m' |
| #!/usr/bin/env python3 | |
| # Get your files that Gmail block. Warning message: | |
| # "Anti-virus warning - 1 attachment contains a virus or blocked file. Downloading this attachment is disabled." | |
| # Based on: https://spapas.github.io/2014/10/23/retrieve-gmail-blocked-attachments/ | |
| # Instructions: | |
| # Go to your emails, click the arrow button in the top right, "Show original", then "Download Original". | |
| # Move the files to the same directory as this program, then run it. | |
| import sys |