Dariusz Mydlarz·Oct 3, 2020Stop using curl -u “user:password”!Passing credentials as command parameters can be a big security risk. But happily there is a solutin for it!
Dariusz Mydlarz·May 13, 2020How To Efficiently Download Remote Directories and Files to local machine?Use rsync.
Dariusz Mydlarz·Apr 21, 2020How To Display Count of Changed Files And Lines in Git to Terminal?--no-pager prints directly to standard output
Dariusz Mydlarz·Apr 17, 2020How To Connect to Remote Database from a Local Database Client?Use SSH Tunnelling.
Dariusz Mydlarz·Feb 28, 2020How To Append Text To File From Standard Input With cat CommandYou can safely append text from standard input in a terminal to a file with cat command like this.
Dariusz Mydlarz·Feb 28, 2020How To Install ZSH Docker Completion on macOS Catalina (Official)Installing Docker completion for ZSH on macOS Catalina doesn’t work out of the box as stated in the official docs.A response icon4A response icon4
Dariusz Mydlarz·Sep 25, 2019How To Clean Local Git Branches That Were Removed On The Remote?There isn’t a simple command to clean your local git branches that were removed on the remote, but… we can create a one!A response icon1A response icon1
Dariusz Mydlarz·Sep 6, 2019How To Set Up SSH So You Aren’t Asked For Password?ssh-copy-id can be used to easily append your id_rsa.pub to ~/.ssh/authorized_keys on the remote server.
Dariusz Mydlarz·Sep 3, 2019How To Count JSON Array Length from Command Line?jq can be used in order to efficiently count JSON Array Length from command line.