Skip to content

Instantly share code, notes, and snippets.

Joseph Huttner jhuttner

Block or report user

Report or block jhuttner

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
We couldn’t find that file to show.
View gist:564503
This is for the VIMers, the SVNers, the hundred dollar billas.
View datetimepicker_issue56.html
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "">
<html lang="en" xmlns="">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>Adding a Timepicker to jQuery UI Datepicker</title>
<meta name="Description" content="jQuery Timepicker Addon. Add a timepicker to your jQuery UI Datepicker. With options to show only time, format time, and much more." />
<meta name="Keywords" content="jQuery, UI, datepicker, timepicker, datetime, time, format" />
<link rel="stylesheet" media="all" type="text/css" href="" />
View gist:837205
[color "diff"]
meta = yellow bold
frag = magenta bold
old = red bold
new = blue bold
View unbind.js
var unbind = function($tab, by_type) {
* var types = {
* 'click': ['#selector_one', '#selector_two'],
* 'delegate': ['#selector_three'],
* 'live': ['#selector_four']
* }
* unbind($geoTab, types);
for (var i in by_type) {
jhuttner /
Created May 27, 2011
Make Juniper Network Connect suck less
CNT=`ps -ef | grep -e Network | grep -v grep | wc -l`
if [ $CNT -eq 1 ]; then
kill `ps -ef | grep -e Network | grep -v grep | awk '{print $2}'`
/Applications/Network\\ Connect &
jhuttner /
Created May 31, 2011
Drain the battery on your computer, via the Command Line.
# If you have an n-core machine, open n terminals and run this script in each one.
def fib(n):
if n == 1 or n == 0:
return 1
return fib(n-1) + fib(n-2)
jhuttner / store
Created Jun 7, 2011
Store last command to mac buffer
View store
echo "Wait...."
history > /tmp/store
cat /tmp/store2 | pbcopy
You can’t perform that action at this time.