Skip to content

Instantly share code, notes, and snippets.

View hallahan's full-sized avatar

Nick Hallahan hallahan

View GitHub Profile
@hallahan
hallahan / installation.md
Last active February 14, 2017 13:00
SpatialServer Installation Instructions

Preliminary Packages

Make sure you have done sudo apt-get update and sudo apt-get upgrade on your fresh install. This guide is geared toward Ubuntu 14.04 LTS (Trusty Tahr). Most of the guide will work for earlier versions of Ubuntu with some slight changes, but 14.04 is advised.

Enable the root user

sudo cp /home/ubuntu/.ssh/authorized_keys /root/.ssh/
@hallahan
hallahan / nginx.conf
Created October 31, 2014 21:27
Showing the NGINX Config Files in SpatialServer
user www-data;
worker_processes 4;
pid /run/nginx.pid;
events {
worker_connections 768;
# multi_accept on;
}
http {
12-17 19:48:05.491 12568-12568/com.mapbox.mapboxgl.app W/ApplicationPackageManager﹕ getCSCPackageItemText()
12-17 19:48:05.516 12568-12568/com.mapbox.mapboxgl.app V/MainActivity﹕ onCreate
12-17 19:48:05.536 12568-12568/com.mapbox.mapboxgl.app I/dalvikvm﹕ Could not find method android.content.res.TypedArray.getChangingConfigurations, referenced from method android.support.v7.internal.widget.TintTypedArray.getChangingConfigurations
12-17 19:48:05.536 12568-12568/com.mapbox.mapboxgl.app W/dalvikvm﹕ VFY: unable to resolve virtual method 368: Landroid/content/res/TypedArray;.getChangingConfigurations ()I
12-17 19:48:05.536 12568-12568/com.mapbox.mapboxgl.app D/dalvikvm﹕ VFY: replacing opcode 0x6e at 0x0002
12-17 19:48:05.541 12568-12568/com.mapbox.mapboxgl.app I/dalvikvm﹕ Could not find method android.content.res.TypedArray.getType, referenced from method android.support.v7.internal.widget.TintTypedArray.getType
12-17 19:48:05.541 12568-12568/com.mapbox.mapboxgl.app W/dalvikvm﹕ VFY: unable to resolve virtua
@hallahan
hallahan / gist:dd836a3176d9c298751c
Created December 22, 2014 23:34
MapboxGL Android Crash Log
This file has been truncated, but you can view the full file.
--------- beginning of /dev/log/system
D/STATUSBAR-PhoneStatusBar( 3272): mBrightnessEnablebySettings = true mBrightnessEnablebyBattery = true mBrightnessEnablebyDisableFlag = true mPmsBrightnessEnablebySettings = true
D/STATUSBAR-IconMerger( 3272): checkOverflow(576), More:false, Req:false Child:6
D/BatteryMeterView( 3272): ACTION_BATTERY_CHANGED : level:66 status:2 health:2
D/SSRMv2:Monitor( 3036): SIOP:: AP = 300, Prev AP = 300, Duration = 10029, PST = 308
D/SSRMv2:AmoledAdjustTimer( 3036): prevTemp = 265, currTemp = 265, prevStep = 4, currStep = 4
E/Watchdog( 3036): !@Sync 632
V/AlarmManager( 3036): waitForAlarm result :4
V/AlarmManager( 3036): trigger ELAPSED_REALTIME_WAKEUP or RTC_WAKEUP
D/BatteryService( 3036): level:66, scale:100, status:2, health:2, present:true, voltage: 3987, temperature: 265, technology: Li-ion, AC powered:false, USB powered:true, Wireless powered:false, icon:17303408, invalid charger:0, online:4, current avg:460, charge type:1
@hallahan
hallahan / gist:4dd07df4e3fbcc7e4c47
Created January 6, 2015 21:16
APK MapboxGL Crash
This file has been truncated, but you can view the full file.
--------- beginning of /dev/log/main
I/McDaemon( 2545): Daemon starting up...
I/McDaemon( 2545): Socket interface version is 0.2
I/McDaemon( 2545): *** SAMSUNG_Exynos5410_Release_V006 ###
I/McDaemon( 2545): Build timestamp is Feb 18 2014 10:14:54
I/McDaemon( 2545): Checking version of MobiCore
I/McDaemon( 2545): Product ID is tbase-200_EXYNOS5410_V005_Patch13
I/McDaemon( 2545): (null)
I/McDaemon( 2545): (null)
I/McDaemon( 2545): (null)
@hallahan
hallahan / OSM Upload Media Type for OpenDataKit.md
Last active August 29, 2015 14:14
Modified XForms With OSM Upload Media Type
@hallahan
hallahan / gist:d0712ca6271d458cf064
Created March 3, 2015 18:28
EffectiveNavigation Demo Working App Gradle
apply plugin: 'com.android.application'
android {
compileSdkVersion 21
buildToolsVersion "21.1.2"
defaultConfig {
applicationId "com.example.android.effectivenavigation"
minSdkVersion 15
targetSdkVersion 21
@hallahan
hallahan / EffectiveNavigationGradle
Last active August 29, 2015 14:16
EffectiveNavigation Demo Working App Gradle
apply plugin: 'com.android.application'
android {
compileSdkVersion 21
buildToolsVersion "21.1.2"
defaultConfig {
applicationId "com.example.android.effectivenavigation"
minSdkVersion 15
targetSdkVersion 21
@hallahan
hallahan / adam-and-eve-block.geojson
Created April 5, 2015 23:44
Adam & Eve's Block
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@hallahan
hallahan / featuresAt-mapbox-gl-js.md
Last active May 8, 2016 14:08
I'm going through the code execution of `featuresAt` in Mapbox GL JS. This is to take notes and understand how all of this works.

How FeaturesAt Works in MapboxGL JS

I'm going through the code execution of featuresAt in Mapbox GL JS. This is to take notes and understand how all of this works.

Initiating the feature search based on the example on Mapbox GL API Docs...

map.on('click', function(e) {