Tech Stuff for Product Folks (WIP)
Passwordless SSH
Tired of typing your password everytime you login into a server. Behold passwordless SSH!
Step 1: Generate a key pair, if not done already
ssh-keygen -t rsa
Step 2: Upload the key pair to the remote server
Ensure the .ssh
directory exists on the server before running the next command
ssh-copy-id user@somedomain
Homebrew
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
sshpass
If automation is needed when using SSH password authentication, then a simple tool called sshpass
is indispensable.
sshpass -p my_password sftp username@host
jq
Pretty print JSON on the terminal
echo '{"foo": "bar"}' | jq .
Charles Proxy
Charles is an HTTP proxy / HTTP monitor / Reverse Proxy that enables a developer to view all of the HTTP and SSL / HTTPS traffic between their machine and the Internet.