Skip to content

Instantly share code, notes, and snippets.

@mb12
mb12 / esnextbin.md
Created November 9, 2016 22:57
esnextbin sketch
@mb12
mb12 / gist:cf952c89c26137dcc3a4
Created June 11, 2015 00:09
logcat for mapbox-gl-native testapp on Google Samsung Nexus S
I/mbgl (28948): {1}{Map}[Android]: Not activating as we are not ready
I/mbgl (28948): {1}{Map}[Android]: Not deactivating as we are not ready
I/mbgl (28948): {Main}[OpenGL]: EGL Vendor: Android
I/mbgl (28948): {Main}[OpenGL]: EGL Version: 1.4 Android META-EGL
I/mbgl (28948): {Main}[OpenGL]: EGL Client APIs: OpenGL_ES
I/mbgl (28948): {Main}[OpenGL]: EGL Client Extensions: EGL_KHR_image EGL_KHR_image_base EGL_KHR_gl_texture_2D_image EGL_KHR_gl_texture_cubemap_image EGL_KHR_gl_renderbuffer_image EGL_KHR_fence_sync EGL_ANDROID_image_native_buffer
I/mbgl (28948): {Main}[OpenGL]: Found 6 configs
I/mbgl (28948): {Main}[OpenGL]: Config 0:
I/mbgl (28948): {Main}[OpenGL]: ...Caveat: 12344
I/mbgl (28948): {Main}[OpenGL]: ...Conformant: 4
@mb12
mb12 / gist:7bdcf92c7342e50b66fc
Created February 11, 2015 01:35
style.json file with multiple sources
{
"version": 6,
"constants": {
"@name": "{name_en}",
"@sans": "Open Sans Regular, Arial Unicode MS Regular",
"@sans_it": "Open Sans Italic, Arial Unicode MS Regular",
"@sans_md": "Open Sans Semibold, Arial Unicode MS Bold",
"@sans_bd": "Open Sans Bold, Arial Unicode MS Bold",
"@land": "#f8f4f0",
"@water": "#a0c8f0",
@mb12
mb12 / gist:360d285425e61fd19c2d
Created February 10, 2015 23:54
Valigrind log for run-osx
This file has been truncated, but you can view the full file.
users-MacBook-Pro:mapbox-gl-native mb$ make osx run-osx
deps/run_gyp macosx/mapboxgl-app.gyp -Dhost=osx -Iconfig/osx.gypi -Dinstall_prefix=/usr/local -Dheadless_lib=cgl -Dplatform_lib=osx -Dasset_lib=fs -Dhttp_lib=nsurl -Dcache_lib=sqlite --depth=. -Goutput_dir=. --generator-output=./build/osx -f make
/Applications/Xcode.app/Contents/Developer/usr/bin/make -C build/osx BUILDTYPE=Release osxapp
make[1]: Nothing to be done for `osxapp'.
/Users/mb/Downloads/valgrind/trunk/valgrind-trunk/Inst/bin/valgrind "build/osx/Release/Mapbox GL.app/Contents/MacOS/Mapbox GL"
==62085== Memcheck, a memory error detector
==62085== Copyright (C) 2002-2013, and GNU GPL'd, by Julian Seward et al.
==62085== Using Valgrind-3.11.0.SVN and LibVEX; rerun with -h for copyright info
==62085== Command: build/osx/Release/Mapbox\ GL.app/Contents/MacOS/Mapbox\ GL
==62085==