Skip to content

Instantly share code, notes, and snippets.

Avatar

Brandon Sarà bsara

View GitHub Profile
@bsara
bsara / .gitconfig
Last active Oct 27, 2020
Standard .gitconfig sections
View .gitconfig
[branch]
autosetuprebase = always
[core]
autocrlf = false
ignorecase = false
[push]
default = simple
[pull]
default = simple
@bsara
bsara / git-ssh-auth-win-setup.md
Last active Feb 25, 2021
Setup SSH Authentication for Git Bash on Windows
View git-ssh-auth-win-setup.md

Setup SSH Authentication for Git Bash on Windows

Prepararation

  1. Create a folder at the root of your user home folder (Example: C:/Users/uname/) called .ssh.
  2. Create the following files if they do not already exist (paths begin from the root of your user home folder):
    • .ssh/config
@bsara
bsara / url.regex
Last active Oct 20, 2017
Regex: URLs
View url.regex
(f|ht)tp(s)?://([A-Za-z0-9-]+\.)+[A-Za-z0-9-]+(/[A-Za-z0-9- ./?%&=]*)?
@bsara
bsara / email.regex
Last active Oct 20, 2017
Regex: Email Addresses
View email.regex
[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\.[A-Za-z]{2,}
@jonschlinkert
jonschlinkert / markdown-cheatsheet.md
Last active Feb 5, 2021
A better markdown cheatsheet.
View markdown-cheatsheet.md