“Support for password authentication was removed on August 13, 2021.” – Github You have many options to authenticate with GitHub Why use SSH Authentication? (docs.github) How to setup SSH Authentication? Note: The HTTPS and SSH addresses are different
All posts in Command line
rsync with python without extra files
Your goal is to send your python project to your server from your local machine. Your python project includes a ton of files you wouldn’t want to send to a server so a simple rsync is not enough. Option 1: rsync with a bunch of exclude flags Option 2: Shell Function Option 3: Shell script
How to download and examine a file on the command line
How to download a file on the command line You have many choices but two popular ones are curl and wget. Example with curl: Now you have a file at your current directory! How to examine a file on the command line Get the permissions and size of the file (ls -lh) Look through the…
Setting up zsh on new computer
zsh is the new MacOS default From Catalina zsh is the default shell on Mac (apple). If you need to manually change your shell: You will be updating your config A LOT in the beginning, so the most important aliases are these. Option: Easy mode: download oh-my-zsh Skip the configuration and use a prebuilt framework:…