Convert TTF fonts to WOFF2 for the web

So you want to put a non-websafe font on your site and you don’t like any of the Google options? You can convert any TTF into a WOFF2 for the web using a command line tool!

Google maintains free software (MIT) command-line utilities to compress and decompress WOFF2 files. This will convert from TTF to WOFF2 for you!

woff2_compress myfont.ttf


SSH Key Login

I can never remember how to do this, so here’s the simple step-by-step for logging-in from client$ to server$

Create your key

client$ ssh-keygen
Generating public/private rsa key pair.
Enter file in which to save the key (/home/user/.ssh/id_rsa):
Enter passphrase (empty for no passphrase):
Enter same passphrase again:
Your identification has been saved in /home/user/.ssh/id_rsa.
Your public key has been saved in /home/user/.ssh/
The key fingerprint is:
b2:ad:a0:80:85:ad:6c:16:bd:1c:e7:63:4f:a0:00:15 user@host
The key's randomart image is:
+---[RSA 2048]----+
|           . o + |
|         = X * . |
|      . O @ = . .|
|     + o X O . + |
|   . = S * = o   |
| . ..o . . o .   |
|     + .o. E     |
|      + ...o.    |
|     . . ooo+.   |

Copy the key to the server

client$ ssh-copy-id user@server
user@server's password:


client$ ssh user@server
Last login: Tue Apr 22 11:35:41 2019 from