PostsSnippets

ssh

  • Add ssh key to remote server
  • Enable public key authentication

linux

  • Back to previous directory
  • Which process is listening on port?
  • Re-run last command with sudo
  • Trace DNS resolution

macos

  • Clear DNS cache
  • Copy to clipboard

git

  • Debug git ssh problems
  • Revert commit

docker

  • Expose docker container port to host system

react

  • Portal
  • usePrevious

aws

  • Update s3 metadata