Skip to content

Instantly share code, notes, and snippets.

$(document).ready(function() {
var topspeed = 1;
var midspeed = 1;
var bgspeed = 1;
var bgfactor = .1;
var distanceFactor = 1.2;
var useDistance = true;
if (!$.browser.webkit) {
@johnkoht
johnkoht / gist:1613646
Created January 15, 2012 00:51
Oi'vangelist API
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<meta name="language" content="en" />
<title>kohactive | a creative digital company</title>
<meta name="robots" content="noindex,nofollow " />
@johnkoht
johnkoht / gist:1613511
Created January 15, 2012 00:13
Oi'vangelist API
$.ajax({
type : 'GET',
url : 'http://twitvangelist.kohsrv.net/leaderboard/combined.json', // this will give you the combined tweets and leaderboard
dataType : 'JSONP',
jsonpCallback : 'callbackfunction',
success : function(results) {
console.log(results.top3); // this will give you the top 3 from the leaderboard
console.log(results.tweets); // this will give you the a list of tweets with the hashtag