This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This is for the VIMers, the SVNers, the hundred dollar billas. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
\ 'token=%s', |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> | |
<html lang="en" xmlns="http://www.w3.org/1999/xhtml"> | |
<head> | |
<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="http://trentrichardson.com/examples/timepicker/css/ui-lightness/jquery-ui-1.8.6.custom.css" /> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[color "diff"] | |
meta = yellow bold | |
frag = magenta bold | |
old = red bold | |
new = blue bold |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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) { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
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}'` | |
fi | |
/Applications/Network\ Connect.app/Contents/MacOS/Network\ Connect & |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/local/bin/python | |
# 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 | |
else: | |
return fib(n-1) + fib(n-2) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
ssh local pbcopy - |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
PUT AS TWO SEPARATE SCRIPTS: store.sh, and store.py. | |
USAGE: ./store.sh | |
#/!bin/bash | |
echo "Wait...." | |
history > /tmp/store | |
/home/jhuttner/store.py | |
cat /tmp/store2 | pbcopy |
OlderNewer