Skip to content

Instantly share code, notes, and snippets.

View bsara's full-sized avatar
😱

Brandon Sarà bsara

😱
View GitHub Profile
cinst powershell
cinst pscx
cinst 7zip
cinst git.commandline
cinst posh-git
cinst svn
cinst nuget.commandline
cinst maven
cinst npm
cinst linkshellextension
cinst tortoisesvn
cinst tortoisegit
cinst sourcetree
cinst atom
cinst sublimetext3
cinst powergui
cinst nugetpackageexplorer
cinst winmerge
cinst ilspy
@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 / 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 / TimePreference.java
Last active August 29, 2015 14:06
Android Preference for Selecting Time of Day (12/24 Hour Clock Compatible)
/*
The MIT License (MIT)
Copyright (c) 2015 Brandon Sara (http://bsara.github.io)
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 / HourOfDayPreference.java
Last active August 29, 2015 14:06
Android Preference for Selecting Hour of Day (12/24 Hour Clock Compatible)
/*
The MIT License (MIT)
Copyright (c) 2015 Brandon Sara (http://bsara.github.io)
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 / .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 / 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 / fchat-google.css
Created June 9, 2014 22:25
Firehose Chat "Google" Theme
/* TINY RESET */
#fchat > * {
border: 0;
font-family: sans-serif;
font-size: 100%;
margin: 0;
padding: 0;
vertical-align: baseline;
-webkit-box-sizing: border-box;
@bsara
bsara / .gitignore_global
Last active March 28, 2022 15:10
Global .gitignore
#---------------------------------------#
# General Ignores #
#---------------------------------------#
*~
*.orig
.vagrant
#---------------------------------------#