Skip to content

Instantly share code, notes, and snippets.

View bsara's full-sized avatar
😱

Brandon Sarà bsara

😱
View GitHub Profile
@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 / monitor-temp.sh
Created October 30, 2014 20:48
Raspberry Pi Raspbian CPU Temperature Monitoring Script
#!/bin/bash
echo "Press [ctrl+c] to end monitoring"
echo ""
while true
do
vcgencmd measure_temp
sleep 3s
done
cinst tortoisesvn
cinst tortoisegit
cinst sourcetree
cinst atom
cinst sublimetext3
cinst powergui
cinst nugetpackageexplorer
cinst winmerge
cinst ilspy
cinst powershell
cinst pscx
cinst 7zip
cinst git.commandline
cinst posh-git
cinst svn
cinst nuget.commandline
cinst maven
cinst npm
cinst linkshellextension
@bsara
bsara / vs.gitignore
Last active March 28, 2022 15:09
.gitignore File for Visual Studio Projects
#---------------------------------------#
# Project Ignores #
#---------------------------------------#
#---------------------------------------#
# IDEs & Editors Ignores #
#---------------------------------------#
# Sublime Text
@bsara
bsara / standard.editorconfig
Last active May 24, 2017 22:53
EditorConfig (Standard)
root = true
[*]
charset = utf-8
continuation_indent_size = 2
end_of_line = lf
indent_size = 2
indent_style = space
insert_final_newline = true
trim_trailing_whitespace = true
@bsara
bsara / android.gitattributes
Last active June 26, 2017 18:08
.gitattributes File for Android Projects
# Project
* text eol=lf
*.cmd eol=crlf
*.cpp diff=cpp
*.h diff=cpp
*.java diff=java
@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 / 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"
@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"