This file contains hidden or 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 | |
/** | |
* | |
* jQuery.whatchaDoin | iCal Proxy | |
* Copyright (c) 2010 Kyle Hotchkiss [Productions] | |
* ALL RIGHTS RESERVED | |
* | |
*/ | |
if ( $_SERVER['HTTP_X_REQUESTED_WITH'] === 'XMLHttpRequest' ) { |
This file contains hidden or 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
function getOffset() { | |
/* Get the offset for moving the nav */ | |
var width = $(document).width(); | |
var margin = (width - 720) / 2; | |
var offset = $(".place.display").offset(); | |
var position = $(".places").css("marginLeft"); | |
position = parseInt(position.substring(0, position.indexOf("p"))); | |
console.log(position); | |
This file contains hidden or 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/env python | |
## | |
## Backup for Wordpress | |
## By Hotchkissmade / Kyle Hotchkiss | |
## | |
import time, os | |
# ------------- # | |
# Configuration # |
This file contains hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 < | |
* |
OlderNewer