Skip to content

Instantly share code, notes, and snippets.

@squarism
Last active September 16, 2021 17:07
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save squarism/1856f8eda92a6c6432cea83a8a707d38 to your computer and use it in GitHub Desktop.
Save squarism/1856f8eda92a6c6432cea83a8a707d38 to your computer and use it in GitHub Desktop.

Tool Sharpening List

Keeping track of very general pain points.

  • I'm not using my fish aliases enough.
  • I need to just switch back to zsh though.
  • It'd be cool to have an abbreviation for lock file resolution. It'd take an argument for the lock file name, probably would be great to have it be very smart (file existence, confirmation prompts, preview).

Make a function to do the authorized_keys dance but it takes an argument for the user.

# full path to the user's home with the argument - this is psuedocode
mkdir .ssh
chmod 700 .ssh
touch .ssh/authorized_keys
chmod 600 /home/$user/.ssh/authorized_keys
chown $user:$user /home/$user/.ssh /home/$user/.ssh/authorized_keys
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment