Skip to content

Instantly share code, notes, and snippets.

View geirman's full-sized avatar
Working from home

Chris Geirman geirman

Working from home
View GitHub Profile
geirman / gist:25f8af18158df75f1475
Created February 17, 2016 23:46
AppDelegate.m Post Crashlytics Logs Integration for React Native
* Copyright (c) 2015-present, Facebook, Inc.
* All rights reserved.
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
'use strict';
var React = require('react-native');
var GLOBAL = require('../Globals');
var Swipeout = require('react-native-swipeout');
var Separator = require('./Separator');
var Api = require('../Utils/Api');
var TrackedItemIndex = require('./TrackedItemIndex');
var {
geirman / TrackedItemDetailRowTouchable.js
Created October 20, 2015 01:23
Problem with React Native Navigator
class TrackedItemDetailRowTouchable extends React.Component{
geirman / pad function
Last active June 15, 2021 15:16
How to Pad a String with Zeros in ColdFusion
Try It Here:
writeOutput( pad('123', 5) );
function pad( str, n ){
geirman / Weekend Code Quiz
Last active August 29, 2015 14:08
This is my submission to Adam Cameron's weekend code quiz (
function getSubseries(series, threshold){
* Setup a subseries container, to be replaced whenever a longer series is
* found. As well, let's calculate the length of the original series to avoid
* doing it repeatedly with every iteration of the following for loop;
var subseries = [];