Skip to content

Instantly share code, notes, and snippets.

View bsara's full-sized avatar
😱

Brandon Sarà bsara

😱
View GitHub Profile
@bsara
bsara / _unit-conversions.scss
Last active January 18, 2018 18:48
Sass Unit Conversions
// ----
// Sass (v3.4.13)
// Compass (v1.0.3)
// ----
////
/// @group Unit Conversions
/// @author Brandon Sara <brandon.sara@ldschurch.org>
////
@bsara
bsara / DotNET.gitattributes
Last active September 2, 2018 13:36
.gitattributes File for .NET Projects
# Project
* text eol=crlf
# .NET Framework
*.dll binary diff=exif
*.exe binary diff=exif
@bsara
bsara / TimeZonePreference.java
Last active May 25, 2020 18:31
Android Preference for Selecting a Time Zone
/*
The MIT License (MIT)
Copyright (c) 2014 Brandon Dale Sara
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
@bsara
bsara / email.regex
Last active March 28, 2022 15:06
Regex: Email Addresses
[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\.[A-Za-z]{2,}
@bsara
bsara / CRLF.gitattributes
Last active March 28, 2022 15:08
General .gitattributes File with Windows Line Endings (CRLF)
# Project
* text eol=crlf
# Language Diffs
*.cs diff=csharp
*.css diff=css
@bsara
bsara / atom_context-menu_uninstall.reg
Created May 13, 2015 17:22
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]
@bsara
bsara / atom_context-menu_install.reg
Created May 13, 2015 17:21
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"
@bsara
bsara / sublime-text_context-menu_uninstall.reg
Created May 13, 2015 17:21
Remove Sublime Text from Windows Explorer Context Menu
Windows Registry Editor Version 5.00
[-HKEY_CLASSES_ROOT\*\OpenWithList\sublime_text.exe]
[-HKEY_CLASSES_ROOT\*\shell\0_SublimeText]
[-HKEY_CLASSES_ROOT\Directory\Background\shell\1_SublimeText]
[-HKEY_CLASSES_ROOT\Directory\shell\1_SublimeText]
[-HKEY_CURRENT_USER\Software\Classes\Applications\sublime_text.exe]
@bsara
bsara / sublime-text-2_context-menu_install.reg
Created May 13, 2015 17:20
Add Sublime Text 2 to Windows Explorer Context Menu
Windows Registry Editor Version 5.00
[HKEY_CLASSES_ROOT\*\OpenWithList\sublime_text.exe]
[HKEY_CLASSES_ROOT\*\shell\0_SublimeText]
@="Open with Sublime Text"
"Icon"="\"C:\\Program Files\\Sublime Text 2\\sublime_text.exe\",0"
@bsara
bsara / sublime-text-3_context-menu_install.reg
Created May 13, 2015 17:19
Add Sublime Text 3 to Windows Explorer Context Menu
Windows Registry Editor Version 5.00
[HKEY_CLASSES_ROOT\*\OpenWithList\sublime_text.exe]
[HKEY_CLASSES_ROOT\*\shell\0_SublimeText]
@="Open with Sublime Text"
"Icon"="\"C:\\Program Files\\Sublime Text 3\\sublime_text.exe\",0"