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
$('#pictures').hover(function() { | |
$('div.overlay-background' & 'div.overlay').slideDown('slow', function() { | |
//Animation Complete | |
}); | |
}); |
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/bin/ruby -w | |
require 'net/http' | |
require 'rexml/document' | |
url = "http://#{ARGV[0]}.tumblr.com/api/read" | |
xml_data = Net::HTTP.get_response(URI.parse(url)).body | |
if(xml_data) | |
doc = REXML::Document.new(xml_data) | |
a = doc.root.elements["posts/post/"].attributes["url"] | |
print a + "\n" | |
else |
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 video = document.getElementById('video'); | |
var rewind = document.getElementById('rewind'); | |
var playpause = document.getElementById('playpause'); | |
video.addEventListener('play', playing, false); | |
video.addEventListener('pause', paused, false); | |
playpause.addEventListener('click', playPauseToggle, false); | |
function playPauseToggle(e) { | |
if (playpause.value == 'Play') { |
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> | |
<html> | |
<head> | |
</head> | |
<body> | |
<video id="video"> | |
<source src="debacle_720p.mp4"> | |
Video Not Supported |
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
<?php | |
//This will try to get all of the 4sq events for a given user | |
$url = "http://api.foursquare.com/v1/history?l=250"; | |
$username = "your@4sqemail.here"; | |
$password = "hahapasswordgoeshere"; | |
//Add header for Basic AUTH SICK PLAINTEXT | |
$context = stream_context_create(array( | |
'http' => array( |
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/ruby | |
require 'net/http' | |
require 'rexml/document' | |
require 'uri' | |
include REXML | |
BASE_URL = 'api.foursquare.com' |
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/bin/ruby -w | |
require 'rubygems' | |
require 'net/http' | |
require 'rexml/document' | |
include REXML | |
API_KEY = 'KEY GOES HERE' | |
LASTFM_USER = 'USERNAME GOES HERE' |
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
#index | |
%h1="Crash Log Symbolicator" | |
#step.one | |
%span.steplabel="Please Choose A Build." | |
%select.dsym | |
%option{:value => 0}="Please Make A Selection" | |
- dsyms.each do |dsym| | |
%option{:value => dsym}= dsym | |
#step.two | |
%span.steplabel="Upload Your Crash Log Below." |
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
-(void)keyDown:(NSEvent *)theEvent{ | |
[super keyDown:theEvent]; | |
NSLog(@"DOWN: %i", theEvent.keyCode); | |
switch (theEvent.keyCode) { | |
case 13: | |
case 126: | |
[[MissileCommandCenter sharedCommandCenter] upTurret]; | |
break; |
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
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/libtool: -dynamic not specified the following flags are invalid: -ObjC | |
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/libtool: file: /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS5.1.sdk/usr/lib/libxml2.dylib is a dynamic library, not added to the static library | |
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/libtool: file: /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS5.1.sdk/usr/lib/libxml2.dylib is a dynamic library, not added to the static library | |
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/libtool: for architecture armv6 object: /Users/bmiche200/Library/Developer/Xcode/DerivedData/XAny-gwmyneclgvjdhsbjwnjtotvidpwl/Build/Products/Debug-iphoneos/libOmnitureAppMeasurement.a(OMAppMeasurement.o) truncated or |
OlderNewer