Posts
These are the posts
A Deep Dive Into Fixed Point Arithmetic: Part 1
Numbers are cool. Did you know there are a lot of them? They can go like, really big. Huge, even. On top of that, add in a minus and you practically doubled the amount there are! What’s more? Take any two of them, say, 1 and 2, and you’ll find there are lots of numbers between these numbers.
Like, one-and-a-half (1.5)? sure! 1.51? why not! π over 2? let me check… yes!
Man, numbers… what can’t they do?
Re-laying Pipe Through SSH
You can easily and securely copy your ssh public key to a remote host using shell commands. This is far simpler than using files or even your system clipboard for that task. Here’s the one-liner:
cat ~/.ssh/id_rsa.pub | ssh myself@other-pc.local 'cat - >> ~/.ssh/authorized_keys'
The first part is straight forward: We pipe the contents of the user’s public key file to the ssh command.
cat ~/.ssh/id_rsa.pub # writes the contents to standard out.
Then, remember that you can pass a shell command to ssh which will be executed on the remote computer before the connection is closed again.