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
<html> | |
<head> | |
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"> | |
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.4/jquery.min.js"></script> | |
<script> | |
var accumulatedX = null; | |
var accumulatedY = null; | |
var smoothing = 0.95; |
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
# Install ZeroMQ | |
sudo brew install zmq | |
easy_install pyzmq | |
[0] http://www.zeromq.org/bindings:python | |
# Install OpenCV | |
sudo brew install opencv |
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
def _fetch(self, url, retry_count, **kwargs): | |
"""Calls urlfetch.fetch with retry count""" | |
try_count = 0 | |
times = [] | |
response = None | |
while try_count < retry_count: | |
try: | |
try_count += 1 | |
# Fetch the url |
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
Lowest: | |
(31) bUGs BUgs bUGS bUgS bLAnk BlAnK BlANK BLank buGS bugS bUGS bUGs dCao2 ; from hashbreaker | |
(31) lINeS lInUX ligHTtpD lIb leheY LIBRaRY libcRyPt linK layer LeSK linus laYOuT \j|39 ; from dariencrane | |
(31) LehEy LENGtH layoUt liB liGhTTpD liFo lISp lIBRARy LInk LIBcRYpt LesS lAYER =@zT= ; from seibert |
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
################################################################################ | |
# | |
# Copyright 1993-2006 NVIDIA Corporation. All rights reserved. | |
# | |
# NOTICE TO USER: | |
# | |
# This source code is subject to NVIDIA ownership rights under U.S. and | |
# international Copyright laws. | |
# | |
# NVIDIA MAKES NO REPRESENTATION ABOUT THE SUITABILITY OF THIS SOURCE |
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
ExternalInterface.addCallback("fonts", fonts); |
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
public function fonts():Array { | |
return Font.enumerateFonts(true).sortOn("fontName", Array.CASEINSENSITIVE); | |
} |
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
<!-- element for SWF to load into --> | |
<div id="font-detect-swf"></div> | |
<script src="javascripts/jquery-1.2.6.pack.js"></script> | |
<script src="javascripts/swfobject.js"></script> | |
<script src="javascripts/font-detect.js"></script> | |
<script> | |
$(document).ready(function() { | |
var fontDetect = new FontDetect("font-detect-swf", "flash/FontList.swf", function(fd) { |
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
NSDateFormatter *rfc1123DateFormatter = [[[NSDateFormatter alloc] init] autorelease]; | |
[rfc1123DateFormatter setFormatterBehavior:NSDateFormatterBehavior10_4]; | |
[rfc1123DateFormatter setLocale:[[[NSLocale alloc] initWithLocaleIdentifier:@"en_US"] autorelease]]; | |
[rfc1123DateFormatter setTimeZone:[NSTimeZone timeZoneForSecondsFromGMT:0]]; | |
[rfc1123DateFormatter setDateFormat:@"EEE, dd MMM yyyy HH:mm:ss zzz"]; |
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
[Session started at 2008-12-30 00:10:13 -0800.] | |
2008-12-30 00:10:15.772 TestExceptionIPhone[8493:20b] Debug enabled | |
2008-12-30 00:10:15.830 TestExceptionIPhone[8493:20b] #0 0x92c5614b _NSExceptionSetRubyToken() (/System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation) | |
#1 0x9657ce3b objc_exception_throw() (/usr/lib/libobjc.A.dylib) | |
#2 0x92c55f2b +[NSException raise:format:arguments:] (/System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation) | |
#3 0x92c55f6a +[NSException raise:format:] (/System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation) | |
#4 0x002350 +[TestExceptionIPhoneAppDelegate applicationDidFinishLaunching:] (/Users/gabe/Library/Application Support/iPhone Simulator/User/Applications/586E48B6-B758-4DBD-A534-D6927DA74583/TestExceptionIPhone.app/TestExceptionIPhone) | |
#5 0x30a4e01a +[UIApplication performInitializationWithURL:asPanel:] (/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator2.2.sdk/System/Libra |