GitHub

  • Code Highlights are done via Linguist: https://github.com/github/linguist/blob/master/lib/linguist/languages.yml
  • GitHub Pages
    • Example Contribution Guidelines
      • From: https://github.com/aharris88/awesome-static-website-services/blob/master/contributing.md
      • Please ensure your pull request adheres to the following guidelines:
        • Search previous suggestions before making a new one, as yours may be a duplicate.
        • Make an individual pull request for each suggestion.
        • Additions should be added to the bottom of the relevant category.
        • Use the following format: [package](link) - Description.
        • New categories, or improvements to the existing categorization are welcome.
        • Keep descriptions short and simple, but descriptive.
        • Start the description with a capital and end with a full stop/period.
        • Check your spelling and grammar.
        • Make sure your text editor is set to remove trailing whitespace.
        • The pull request should have a useful title and include a link to the App and why it should be included.
      • Thank you for your suggestions!
  • Generic GitHub Intent to Close Issue Message
    • It appears this issue may have been resolved. I prefer contributors have an opportunity to close their own issues. If you feel this issue is resolved, would you mind closing it? If the issue is not resolved or the issue needs some clarification, I'm happy to discuss. Thanks!
  • Get image URL from GitHub profile
  • Example: https://avatars2.githubusercontent.com/u/1474361?v=3&s=460

Generate New GitHub SSH Key

  • Generate SSH key (substitute email with GitHub email): ssh-keygen -t rsa -b 4096 -C "your_email@example.com"
  • Accept Default Location (Press Enter)
  • Enter Passphrase (and write down somewhere safe!)
  • Add new SSH key to ssh-agent: ssh-add -K ~/.ssh/id_rsa
  • Enter Passphrase
  • Copy SSH key to clipboard: pbcopy < ~/.ssh/id_rsa.pub (Just copy EXACT file contents if this command fails)
  • Add SSH key to GitHub account: On GitHub website Account Settings > SSH keys > New SSH key

Sources:

Published