Skip to content

Instantly share code, notes, and snippets.

View samerce's full-sized avatar

bubbles sandcastle samerce

View GitHub Profile
# Your init script
#
# Atom will evaluate this file each time a new window is opened. It is run
# after packages are loaded/activated and after the previous editor state
# has been restored.
#
# An example hack to log to the console when each text editor is saved.
#
# atom.workspace.observeTextEditors (editor) ->
# editor.onDidSave ->
@samerce
samerce / ArrayUtil.java
Created November 14, 2016 12:38
ReadableArray and ReadableMap serialization helpers for the React Native—Android bridge.
/*
ArrayUtil exposes a set of helper methods for working with
ReadableArray (by React Native), Object[], and JSONArray.
*/
package com.iodine.start;
import com.facebook.react.bridge.Arguments;
import com.facebook.react.bridge.ReadableArray;
import com.facebook.react.bridge.ReadableType;
@samerce
samerce / RNSettings.android.js
Last active November 14, 2016 12:32
An implementation for React Native's Settings component.
/*
@providesModule RNSettings
@flow
*/
import {
DeviceEventEmitter,
NativeModules,
} from 'react-native';
Verifying that +samerce is my Bitcoin username. You can send me #bitcoin here: https://onename.io/samerce