Skip to content

Instantly share code, notes, and snippets.

View IjzerenHein's full-sized avatar
🏓
Brewing up code (and potentially also beer)

Hein Rutjes IjzerenHein

🏓
Brewing up code (and potentially also beer)
View GitHub Profile
Process: Brackets Helper [2756]
Path: /Applications/Brackets.app/Contents/Frameworks/Brackets Helper.app/Contents/MacOS/Brackets Helper
Identifier: org.cef.cefclient.helper
Version: ???
Code Type: X86 (Native)
Parent Process: Brackets [2753]
Responsible: Brackets [2753]
User ID: 501
Date/Time: 2014-03-25 17:51:41.888 +0100
total 64
drwxr-xr-x 13 hein staff 442 Mar 26 00:47 .
drwxr-xr-x 16 hein staff 544 Mar 24 16:07 ..
-rw-r--r--@ 1 hein staff 12292 Mar 25 10:31 .DS_Store
drwxr-xr-x 3 hein staff 102 Mar 24 16:07 .cordova
-rw-r--r-- 1 hein staff 31 Mar 24 16:07 .gitignore
-rw-r--r-- 1 hein staff 1073 Mar 24 16:07 LICENSE
-rw-r--r-- 1 hein staff 162 Mar 24 16:07 README.md
-rw-r--r-- 1 hein staff 712 Mar 24 16:07 config.xml
-rw-r--r-- 1 hein staff 0 Mar 26 00:47 files.txt
Incident Identifier: 8BBF2E09-6C3F-4711-9A23-FB623230FB85
CrashReporter Key: f5c1a688549c28d101b1b32a7066d0d1d0b14d63
Hardware Model: iPhone7,2
Process: com.apple.WebKit.WebContent [2138]
Path: /System/Library/Frameworks/WebKit.framework/XPCServices/com.apple.WebKit.WebContent.xpc/com.apple.WebKit.WebContent
Identifier: com.apple.WebKit.WebContent
Version: 8600.1.4.12.4 (8600)
Code Type: ARM-64 (Native)
Parent Process: launchd [1]
@IjzerenHein
IjzerenHein / gist:564737eeb3e53212a937
Created December 21, 2014 15:40
crash wkwebview 20-12
Incident Identifier: D07ECB22-E685-4FD0-A1F9-E2EFC21DCA67
CrashReporter Key: f5c1a688549c28d101b1b32a7066d0d1d0b14d63
Hardware Model: iPhone7,2
Process: com.apple.WebKit.WebContent [4735]
Path: /System/Library/Frameworks/WebKit.framework/XPCServices/com.apple.WebKit.WebContent.xpc/com.apple.WebKit.WebContent
Identifier: com.apple.WebKit.WebContent
Version: 8600.1.4.12.4 (8600)
Code Type: ARM-64 (Native)
Parent Process: launchd [1]
Process: Silverjuke [8518]
Path: /Users/USER/Downloads/Silverjuke.app/Contents/MacOS/Silverjuke
Identifier: com.BPSoftwareDesignNDev.Silverjuke
Version: 1.0
Code Type: X86 (Native)
Parent Process: ??? [1]
Responsible: Silverjuke [8518]
User ID: 501
Date/Time: 2015-10-18 20:19:14.530 +0200
stagehound://hein
<a href="stagehound://hein">Hein</a>
const R = 6371; // earths radius in km
function radiansFromDegrees(deg) {
return deg * (Math.PI / 180);
}
// reduce number of positions using the Ramer–Douglas–Peucker algorithm
// https://en.wikipedia.org/wiki/Ramer%E2%80%93Douglas%E2%80%93Peucker_algorithm
// Code based on: https://www.namekdev.net/2014/06/iterative-version-of-ramer-douglas-peucker-line-simplification-algorithm/
function simplifyGeoCoordinates(positions, tolerance) {
//
// TextToSpeech.m
// TextToSpeech
//
// Created by Anton Krasovsky on 27/09/2016.
// Copyright © 2016 Anton Krasovsky. All rights reserved.
//
#import "RCTBridge.h"
#import "RCTEventDispatcher.h"
import React, { Component } from 'react';
import {
StyleSheet,
View
} from 'react-native';
import GL from 'gl-react';
import { Surface, resolveAssetSource } from 'gl-react-native';
import shader from './Shader';
const shaders = GL.Shaders.create({