Skip to content

Instantly share code, notes, and snippets.

View mturch's full-sized avatar
🏠
Working from home

mturchin mturch

🏠
Working from home
  • North Carolina
  • 04:03 (UTC -04:00)
View GitHub Profile
@mturch
mturch / git-ssh-auth-win-setup.md
Created March 28, 2022 15:04 — forked from bsara/git-ssh-auth-win-setup.md
Setup SSH Authentication for Git Bash on Windows

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
@mturch
mturch / markdown-cheatsheet.md
Created March 28, 2022 15:06 — forked from jonschlinkert/markdown-cheatsheet.md
A better markdown cheatsheet.
@mturch
mturch / email.regex
Created March 28, 2022 15:06 — forked from bsara/email.regex
Regex: Email Addresses
[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\.[A-Za-z]{2,}
@mturch
mturch / url.regex
Created March 28, 2022 15:07 — forked from bsara/url.regex
Regex: URLs
(f|ht)tp(s)?://([A-Za-z0-9-]+\.)+[A-Za-z0-9-]+(/[A-Za-z0-9- ./?%&=]*)?
@mturch
mturch / .gitconfig
Created March 28, 2022 15:07 — forked from bsara/.gitconfig
Standard .gitconfig sections
[branch]
autosetuprebase = always
[core]
autocrlf = false
ignorecase = false
[push]
default = simple
[pull]
default = simple
@mturch
mturch / win10_remove-preinstalled-apps.ps1
Created March 28, 2022 15:07 — forked from bsara/win10_remove-preinstalled-apps.ps1
Removes all unneeded pre-installed apps from Windows 10
Get-AppxPackage *3dbuilder* | Remove-AppxPackage
Get-AppxPackage *bingfinance* | Remove-AppxPackage
Get-AppxPackage *bingnews* | Remove-AppxPackage
Get-AppxPackage *bingsports* | Remove-AppxPackage
Get-AppxPackage *bingweather* | Remove-AppxPackage
Get-AppxPackage *getstarted* | Remove-AppxPackage
Get-AppxPackage *officehub* | Remove-AppxPackage
Get-AppxPackage *onenote* | Remove-AppxPackage
Get-AppxPackage *people* | Remove-AppxPackage
Get-AppxPackage *photos* | Remove-AppxPackage
@mturch
mturch / LF.gitattributes
Created March 28, 2022 15:08 — forked from bsara/LF.gitattributes
General .gitattributes File
# Project
* text eol=lf
# Language Diffs
*.cs diff=csharp
*.css diff=css
@mturch
mturch / CRLF.gitattributes
Created March 28, 2022 15:08 — forked from bsara/CRLF.gitattributes
General .gitattributes File with Windows Line Endings (CRLF)
# Project
* text eol=crlf
# Language Diffs
*.cs diff=csharp
*.css diff=css
@mturch
mturch / atom_context-menu_uninstall.reg
Created March 28, 2022 15:08 — forked from bsara/atom_context-menu_uninstall.reg
Remove Atom Editor from Windows Explorer Context Menu
Windows Registry Editor Version 5.00
[-HKEY_CLASSES_ROOT\*\OpenWithList\atom.exe]
[-HKEY_CLASSES_ROOT\*\shell\1_Atom]
[-HKEY_CLASSES_ROOT\Directory\Background\shell\2_Atom]
[-HKEY_CLASSES_ROOT\Directory\shell\2_Atom]
[-HKEY_CURRENT_USER\Software\Classes\Applications\atom.exe]
@mturch
mturch / atom_context-menu_install.reg
Created March 28, 2022 15:08 — forked from bsara/atom_context-menu_install.reg
Add Atom Editor to Windows Explorer Context Menu
Windows Registry Editor Version 5.00
[HKEY_CLASSES_ROOT\*\OpenWithList\atom.exe]
[HKEY_CLASSES_ROOT\*\shell\1_Atom]
@="Open with Atom"
"Icon"="\"C:\\opt\\atom\\atom.exe\",0"