Skip to content

Instantly share code, notes, and snippets.

@tikimcfee
tikimcfee / A Map
Created March 19, 2014 21:29
Some Map Data
MAPS. MAPS EVERYWHERE.
{"type": "FeatureCollection","features": [{"type":"Feature","place":"Place 0","place_data":{"building_name":"","building_type":"","number_floors":0,"number_tasks":0},"properties":{"bound_rgb":[1,1,1],"fill_rgb":[1,1,1]},"geometry":{"type":"Polygon","coordinates":[[[-12.20619213860482,69.69999789423309],[-18.20104597415775,75.68632650910877],[-15.698794064112008,72.0060369221028],[-12.20619213860482,69.69999789423309]]]}}, {"type":"Feature","place":"Place 1","place_data":{"building_name":"","building_type":"","number_floors":0,"number_tasks":0},"properties":{"bound_rgb":[1,1,1],"fill_rgb":[1,1,1]},"geometry":{"type":"Polygon","coordinates":[[[21.51503167161718,-1.5644764094613492],[21.148963192943484,4.968855664599687],[20.498123782221228,1.2801659987308085],[26.553887580055743,1.6316589401103556],[21.51503167161718,-1.5644764094613492]]]}}, {"type":"Feature","place":"Place 2","place_data":{"building_name":"","building_type":"","number_floors":0,"number_tasks":0},"properties":{"bound_rgb":[1,1,1],"fill_rgb":[1
This file has been truncated, but you can view the full file.
{"type": "FeatureCollection","features": [{"type":"Feature","place":"Place 0","place_data":{"building_name":"","building_type":"","number_floors":0,"number_tasks":0},"properties":{"bound_rgb":[1,1,1],"fill_rgb":[1,1,1]},"geometry":{"type":"Polygon","coordinates":[[[6.146300176158547,-8.450586515944451],[-1.4128603916615248,-6.471503423061222],[1.048481497913599,-6.517010740470141],[6.146300176158547,-8.450586515944451]]]}}, {"type":"Feature","place":"Place 1","place_data":{"building_name":"","building_type":"","number_floors":0,"number_tasks":0},"properties":{"bound_rgb":[1,1,1],"fill_rgb":[1,1,1]},"geometry":{"type":"Polygon","coordinates":[[[-18.28239648975432,-31.142156618647277],[-18.62543355487287,-29.044460623525083],[-14.017976740375161,-34.80910318437964],[-14.154043670743704,-35.52509026695043],[-18.837775643914938,-29.263925288803875],[-18.28239648975432,-31.142156618647277]]]}}, {"type":"Feature","place":"Place 2","place_data":{"building_name":"","building_type":"","number_floors":0,"number_tasks":
apply plugin: 'com.jfrog.bintray'
version = libraryVersion
if (project.hasProperty("android")) { // Android libraries
task sourcesJar(type: Jar) {
classifier = 'sources'
from android.sourceSets.main.java.srcDirs
}
02-21 15:42:50.919 22002-22002 D/mbgl: {ile.alpha.debug}[JNI]: No source found <----- Adding source throws this error
02-21 15:42:50.919 22002-22002 D/mbgl: {ile.alpha.debug}[JNI]: No layer found <----- Added a layer immediately after
02-21 15:42:50.919 22002-22002 D/mbgl: {ile.alpha.debug}[JNI]: No layer found <----- Added a layer immediately after
=====
2-21 15:49:39.505 27244-27244 V/LayerBundle: Executing BundleFunctor...
02-21 15:49:39.505 27244-27244 A/libc: Fatal signal 7 (SIGBUS) at 0x00000009 (code=1), thread 27244 (ile.alpha.debug)
02-21 15:49:39.545 5286-5335 D/ClClient: Not sending keepalive. Current connection state=STOPPED
02-21 15:49:39.615 17112-17112 I/DEBUG: *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
02-21 15:49:39.615 17112-17112 I/DEBUG: Build fingerprint: 'samsung/d2spr/d2spr:4.4.2/KOT49H/L710VPUDOH1:user/release-keys'
02-21 15:49:39.615 17112-17112 I/DEBUG: Revision: '14'
@tikimcfee
tikimcfee / jnitrace.txt
Created March 23, 2017 20:43
JNI crash with bad region data
03-23 16:27:43.728 8233-8233 I/MapboxEventManager: setTelemetryEnabled(); this.telemetryEnabled = false; telemetryEnabled = false
03-23 16:27:43.728 8233-8233 D/MapboxEventManager: No need to start / stop telemetry as it's already in that state.
03-23 16:27:43.729 8233-8233 I/MapboxEventManager: Telemetry initialize() called...
03-23 16:27:43.741 8233-8233 I/MapboxEventManager: Right before Telemetry set enabled in initialized()
03-23 16:27:43.744 8233-8233 I/MapboxEventManager: setTelemetryEnabled(); this.telemetryEnabled = false; telemetryEnabled = true
03-23 16:27:43.744 8233-8233 D/MapboxEventManager: Starting Telemetry Up!
03-23 16:27:43.750 8233-8233 I/MapboxEventManager: Permissions are good, see if GPS is enabled and if not then setup Ambient.
03-23 16:27:43.756 8233-8233 D/MapboxEventManager: Looking in SharedPreferences for Staging Credentials
03-23 16:27:43.767 8233-8233 W/linker: libmapbox-gl.so: unused DT entry: type 0x6ffffffe arg 0x2fcf4
03-23 16:27:43.767 8233-8233 W/linker: libmapbox-gl.so: u
@tikimcfee
tikimcfee / build_error.log
Created September 24, 2020 22:12
./swift/utils/build-parser-lib Error Log
$ ./swift/utils/build-parser-lib --release --no-assertions --build-dir /tmp/parser-lib-build-ios --host iphoneos --architectures arm64
+ mkdir -p /tmp/parser-lib-build-ios/x86_64-tblgen
+ pushd /tmp/parser-lib-build-ios/x86_64-tblgen
-- clang project is enabled
-- clang-tools-extra project is disabled
-- compiler-rt project is disabled
-- debuginfo-tests project is disabled
-- libc project is disabled
-- libclc project is disabled
-- libcxx project is disabled
@tikimcfee
tikimcfee / unspoken_magiks.html
Created February 6, 2021 23:03
THE UNSPOKEN ONE WROTE A TUTORIAL ON PEM AND JKS
<html xml:lang="en-us" lang="en-us"><head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="copyright" content="(C) Copyright 2005">
<meta name="DC.rights.owner" content="(C) Copyright 2005">
<meta name="DC.Type" content="task">
<meta name="DC.Title" content="Converting PEM-format keys to JKS format">
<meta name="abstract" content="This topic describes how to convert PEM-format certificates to the standard Java KeyStore (JKS) format.">
<meta name="description" content="This topic describes how to convert PEM-format certificates to the standard Java KeyStore (JKS) format.">
<meta name="DC.Audience.Experiencelevel" content="general">
<meta name="DC.Audience.Job" content="administering">
@tikimcfee
tikimcfee / look_at_node.swift
Created March 14, 2021 04:21
Found on the net
let distanceConstraint = SCNDistanceConstraint(target: box)
distanceConstraint.minimumDistance = 55
distanceConstraint.maximumDistance = 60
let lookAtConstraint = SCNLookAtConstraint(target: box)
lookAtConstraint.isGimbalLockEnabled = true
cameraNode.constraints = [lookAtConstraint,distanceConstraint]
scnView.scene?.rootNode.addChildNode(cameraNode)
@tikimcfee
tikimcfee / crash.txt
Created June 15, 2021 00:56
Crash - M1, SwiftTrace
#0 0x0000000181c3e020 in getMaybeUnrealizedNonMetaClass(objc_class*, objc_object*) ()
#1 0x0000000181c3ded8 in initializeAndMaybeRelock(objc_class*, objc_object*, mutex_tt<false>&, bool) ()
#2 0x0000000181c2bc44 in lookUpImpOrForward ()
#3 0x0000000181c2b544 in _objc_msgSend_uncached ()
#4 0x0000000104623774 in type metadata accessor for SwiftTrace.Swizzle.ThreadLocal ()
#5 0x0000000104623f44 in closure #1 in variable initialization expression of static SwiftTrace.Swizzle.onEntry at /Users/lugos/Library/Developer/Xcode/DerivedData/LookAtThat_AppKit-cknqatlzjmsdpwghvnspbgummawg/SourcePackages/checkouts/SwiftTrace/SwiftTrace/SwiftSwizzle.swift:159
#6 0x00000001046248b0 in @objc closure #1 in variable initialization expression of static SwiftTrace.Swizzle.onEntry ()
#7 0x000000012006c050 in 0x12006c050 ()
#8 0x0000000104623774 in type metadata accessor for SwiftTrace.Swizzle.ThreadLocal ()
#9 0x0000000104623f44 in closure #1 in variable initialization expression of static SwiftTrace.Swizzle.onEntry at /Users/lug