Skip to content

Instantly share code, notes, and snippets.

View bsara's full-sized avatar
😱

Brandon Sarà bsara

😱
View GitHub Profile
@bsara
bsara / hosts
Created August 21, 2014 22:21
Parental Control via Hosts File (Blocks Ads, Pornographic Sites, Gambling Sites, & Risky Sites)
This file has been truncated, but you can view the full file.
############################################
# Generated by: JRummy Apps Inc. #
# Like us on Facebook #
# http://www.facebook.com/JRummyApps #
############################################
# hosts.adblock - romtoolbox
127.0.0.1 0.r.msn.com
127.0.0.1 000-search.net
@bsara
bsara / .bash_aliases
Last active March 28, 2022 15:09
Useful Bash Aliases
# Misc
alias oh="nemo . 2>/dev/null"
alias ohh="nautlius . 2>/dev/null"
alias cls=clear
alias lsa="ls -al"
alias ..="cd .."
alias ...="cd ../.."
# Google Chrome
@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
@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 / 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"
@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 / 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 / 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 / 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