Skip to content

Instantly share code, notes, and snippets.

{
   "version":1401822251,
   "rows":[
     {
         "name":"Aalborg Airport",
         "iata":"AAL",
         "icao":"EKYT",
         "lat":"57.092781",
         "lon":"9.849164",
         "country":"Denmark",
{
"version":1401459539,
"rows":[
{
"Name":"1Time",
"Code":"T6",
"ICAO":"RNX"
},
{
"Name":"ABSA Cargo",
{
"version": 4,
...
"northamerica": {
"tl_y": 75,
"tl_x": -180.0,
"br_y": 3.0,
"br_x": -52,
"subzones" : {
"na_n" : {"tl_y":72.82,"tl_x":-177.97,"br_y":41.92,"br_x":-52.48},
{
"3832ffa":[ <---- THIS IS THE "[Flight ID]"
"A42DBC",
41.3647,
-71.8897,
205,
24000,
340,
"1422",
"T-KBOS4",
{
"krk.fr24.com":300,
"bma.fr24.com":350,
"db8.flightradar24.com":350
}
@davidmurray
davidmurray / gist:71885bd167979309d10f
Created October 27, 2014 00:11
Find the first icon list view with an empty spot
static SBIconListView *MTGetFirstAvailableIconListView()
{
SBRootFolderController *rootFolderController = [[%c(SBIconController) sharedInstance] _rootFolderController];
SBRootFolderView *rootFolderView = [rootFolderController contentView];
// Attempt to find a model that has an available spot.
for (SBIconListView *view in [rootFolderView iconListViews]) {
if (![[view model] isFull]) {
return view;
}
@davidmurray
davidmurray / gist:1531416
Created December 29, 2011 02:56
ruby error
/Users/lol/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:in `require': cannot load such file -- plugins/thermostat/siriThermostat (LoadError)
from /Users/lol/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:in `require'
from start.rb:2:in `<main>'
Davids-MacBook-Pro:SiriProxy davidmurray$
@davidmurray
davidmurray / gist:3138052
Created July 18, 2012 18:53
SBAppContextHostManager iOS 5.0
/**
* This header is generated by class-dump-z 0.2-0.
* class-dump-z is Copyright (C) 2009 by KennyTM~, licensed under GPLv3.
*
* Source: (null)
*/
#import "SpringBoard-Structs.h"
#import <Foundation/NSObject.h>
{
"flight":"AA42",
"snapshot_id":null,
"status":"airborne",
"dep_schd":1402181100,
"arr_schd":1402211400,
"departure":1402181700,
"arrival":1402211100,
"eta":1402211100,
"to_iata":"CDG",
@davidmurray
davidmurray / MobileWiFi.h
Last active December 14, 2015 01:38
More stuff
// Header for MobileWiFi.framework
// Copyright (C) 2013 Cykey (David Murray) david.murray16@hotmail.com
// All rights reserved.
#ifdef __cplusplus
extern "C" {
#endif
typedef struct __WiFiDeviceClient *WiFiDeviceClientRef;
typedef struct __WiFiNetwork *WiFiNetworkRef;