Skip to content

Instantly share code, notes, and snippets.

Avatar
😱

Brandon Sarà bsara

😱
View GitHub Profile
@bsara
bsara / Emberjs-ExtendedTextArea.html
Last active Aug 29, 2015
An extended version of the Ember.TextArea component. Extended features include: onClick Actions, and auto focus on page load.
View Emberjs-ExtendedTextArea.html
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<title>Ember.js - Extended Text Area</title>
<script type='text/javascript' src="http://code.jquery.com/jquery-2.0.3.min.js"></script>
<script type='text/javascript' src="http://cdnjs.cloudflare.com/ajax/libs/handlebars.js/1.2.1/handlebars.min.js"></script>
<script type='text/javascript' src="http://builds.emberjs.com.s3.amazonaws.com/tags/v1.4.0/ember.min.js"></script>
<link rel="stylesheet" type="text/css" href="http://necolas.github.io/normalize.css/3.0.0/normalize.css">
@bsara
bsara / Emberjs-ExtendedTextField.html
Last active Aug 29, 2015
An extended version of the Ember.TextField component. Extended features include: onClick Actions, and auto focus on page load.
View Emberjs-ExtendedTextField.html
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<title>Ember.js - Extended Text Field</title>
<script type='text/javascript' src="http://code.jquery.com/jquery-2.0.3.min.js"></script>
<script type='text/javascript' src="http://cdnjs.cloudflare.com/ajax/libs/handlebars.js/1.2.1/handlebars.min.js"></script>
<script type='text/javascript' src="http://builds.emberjs.com.s3.amazonaws.com/tags/v1.4.0/ember.min.js"></script>
<link rel="stylesheet" type="text/css" href="http://necolas.github.io/normalize.css/3.0.0/normalize.css">
@bsara
bsara / fchat-google.css
Created Jun 9, 2014
Firehose Chat "Google" Theme
View fchat-google.css
/* 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 / hosts
Created Aug 21, 2014
Parental Control via Hosts File (Blocks Ads, Pornographic Sites, Gambling Sites, & Risky Sites)
View hosts
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
@bsara
bsara / HourOfDayPreference.java
Last active Aug 29, 2015
Android Preference for Selecting Hour of Day (12/24 Hour Clock Compatible)
View HourOfDayPreference.java
/*
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 / TimePreference.java
Last active Aug 29, 2015
Android Preference for Selecting Time of Day (12/24 Hour Clock Compatible)
View TimePreference.java
/*
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 / monitor-temp.sh
Created Oct 30, 2014
Raspberry Pi Raspbian CPU Temperature Monitoring Script
View monitor-temp.sh
#!/bin/bash
echo "Press [ctrl+c] to end monitoring"
echo ""
while true
do
vcgencmd measure_temp
sleep 3s
done
View boxstarter-work1
cinst tortoisesvn
cinst tortoisegit
cinst sourcetree
cinst atom
cinst sublimetext3
cinst powergui
cinst nugetpackageexplorer
cinst winmerge
cinst ilspy
View boxstarter-work0
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 / sublime-text_context-menu_uninstall.reg
Created May 13, 2015
Remove Sublime Text from Windows Explorer Context Menu
View sublime-text_context-menu_uninstall.reg
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]