My 2016 Gists
Over the year I have collected a lot of gists of things that I constantly am looking up. If you’re not familiar with what a gist is start here. Basically it’s like pastebin but for code and other snippets that might be useful for saving for later or sharing with other coders.
At any rate though here are a few of the ones that I cobbled together to save myself some googleing.
How to add your ssh keys in one line
Cygwin ctrl+arrow key fix
Add the following lines to ~/.inputrc (C:\cygwin\home<username>.inputrc):
Set execution mode of a script using git
Change execution mode of a shell script so that it doesn’t get changed after git pull
Convert all files in a directory to Unix format
-
Set up dos2unix
-
Run the following in the directory