Skip to content

Instantly share code, notes, and snippets.

View fadookie's full-sized avatar
🕹️
😹

Eliot Lash fadookie

🕹️
😹
View GitHub Profile
@fadookie
fadookie / realmMock.js
Created September 18, 2018 00:09 — forked from hyb175/realmMock.js
Realm Mock backed by AsyncStorage to try to enable on-device debugging
// https://github.com/realm/realm-js/issues/370#issuecomment-270849466
import { AsyncStorage } from "react-native"
const STORAGE_KEY = 'MockRealm';
export default class Realm {
constructor(params) {
this.schema = {};
this.callbackList = [];
@fadookie
fadookie / gist:c71edcfe1e595f5cab374d4297ba1e02
Last active October 18, 2018 17:34 — forked from brentvatne/gist:a267d10eabd2d91a8d44
Auto-resizing text in pure js for react native, updated for RN 0.40
'use strict';
import React, { Component } from 'react';
import { findNodeHandle, StyleSheet, Text, View, NativeModules } from 'react-native';
const UIManager = NativeModules.UIManager;
class AutoresizeText extends Component {
constructor(props) {
super(props);
@fadookie
fadookie / strip.conf
Last active June 4, 2016 00:28 — forked from dextorer/strip.conf
google-play-services-strip-script
actions=false
ads=true
analytics=false
appindexing=false
appstate=true
auth=true
cast=false
common=true
drive=true
dynamic=false
@fadookie
fadookie / hover-export.js
Last active August 29, 2015 14:26
DNS zone file
// Hover.com "Zone file import/export" has been *Planned* since 2011
// https://help.hover.com/entries/471066-Zone-file-import-export
// Here's a brittle approximation of export.
//
// 1. login to your account: https://www.hover.com/domains
// 2. run the following in your browser's JavaScript console, changing the first line
// to your domain
// 3. copy the text logged to the console.
// 4. manually correct FQDNs, these have to end with a period "."
//
@fadookie
fadookie / snow.png
Created April 26, 2012 06:51 — forked from anonymous/snowfight
snowfight.pde
snow.png
@fadookie
fadookie / HelloWorld.cpp
Created September 20, 2011 03:39 — forked from rawbitrec/HelloWorld.cpp
Ye Olde Sea Pluss Pluss!
//created by Eliot Lash and Robert Muller on 10/3/10
//copyright Eliot Lash and Robert Muller 2011
//Welcome to Ye Olde Sea Pluss Pluss!
#include <iostream>
#include <string>
#include "olde.h"
#define normal