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
## | |
## Launchpad Editor | |
## Copyright 2011 Hotchkissmade | |
## Released under the GPL | |
## | |
import sqlite3, operator, sys, os | |
try: | |
path = os.path.expanduser("~") + "/Library/Application Support/Dock/" |
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
/** | |
* | |
* fnstraj | GrADS Functions | |
* Copyright 2011-2012 Hotchkissmade | |
* Released under the GPL | |
* | |
* grads.wind - return wind speed and direction. | |
* | |
*/ |
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
[ 'ugrdprs[8][0][85][366]': '10.6', | |
'vgrdprs[8][0][85][366]': '10.6', | |
'ugrdprs[8][1][85][366]': '11.1', | |
'vgrdprs[8][1][85][366]': '11.1', | |
'ugrdprs[8][2][85][366]': '11.7', | |
'vgrdprs[8][2][85][366]': '11.7', | |
'ugrdprs[8][3][85][366]': '13.0', | |
'vgrdprs[8][3][85][366]': '13.0', | |
'ugrdprs[8][4][85][366]': '13.793909', | |
'vgrdprs[8][4][85][366]': '2.006661', |
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> | |
<title>Coordinate Midpoint Calculator</title> | |
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.8.3/jquery.min.js"></script> | |
<script> | |
var RADIANS = Math.PI / 180; | |
var DEGREES = 180 / Math.PI; |
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
/** | |
* | |
* FNSTraj | Worker Process | |
* Copyright 2011-2012 Hotchkissmade | |
* Released under the GPL | |
* | |
*/ | |
var http = require("http"); | |
var fnstraj = require("./predictors/fnstraj.js"); |
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
jQuery.getJSON("http://maps.googleapis.com/maps/api/geocode/json?address=" + latitude + ',' + longitude + "&sensor=true", function( data ) { | |
var components = data.results[0].address_components; | |
for ( level in components ) { | |
if (components[level].types[0] === "locality" || components[level].types[0] === "administrative_area_level_2" || components[level].types[0] === "administrative_area_level_1" ) { | |
locale = components[level].short_name; | |
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
<?php | |
/** | |
* | |
* fnstraj frontend | database wrapper | |
* Copyright 2011-2013 Kyle Hotchkiss | |
* Released under the GPL | |
* | |
* Aiming for API compatibility with fnstraj | |
* located at > fnstraj/library/database.js < | |
* |
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
/** | |
* | |
* fnstraj | Simple CouchDB Wrapper | |
* Copyright 2011-2013 Kyle Hotchkiss | |
* Released under the GPL | |
* | |
* Needs checkup (HEAD) check to verify that we're good to | |
* continue forward with Daemon execution. | |
* | |
*/ |
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
{ | |
"_id" : "1363975475", | |
"_rev" : "1-b4dab98ce01f55526c19733988982552", | |
"analysis" : { | |
"points" : { | |
"burst" : { | |
"index" : 57, | |
"latitude" : 37.43120734417338, | |
"longitude" : -78.55404367043889, | |
"altitude" : 32747.3439370399 |