Skip to content

Instantly share code, notes, and snippets.

🏠
Working from home

Eric Lewis ericlewis

🏠
Working from home
Block or report user

Report or block ericlewis

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View RCTNativeTestModuleSpec.h
/**
* RCTNativeTestModuleSpec.h
*
* NOTE: This file is codegenerated.
*/
#import <vector>
#import <Foundation/Foundation.h>
@ericlewis
ericlewis / Thing.m
Created Apr 13, 2019
react-native NativeModule for interacting with gmail objc google rest apis
View Thing.m
//
// RNGmailAPI.m
// astroboy
//
// Created by Eric Lewis on 4/9/19.
// Copyright © 2019 Eric Lewis. All rights reserved.
//
#import "RNGmailAPI.h"
#import "RNPromiseWrapper.h"
@ericlewis
ericlewis / generate-rncore.js
Created Mar 7, 2019
Generates the files needed for React Native Fabric components.
View generate-rncore.js
/**
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*
* @flow
* @format
*/
@ericlewis
ericlewis / Using mongoDB FTS in Node.js
Created Mar 4, 2013
Hacky way of using mongoDB 2.4RC1's FTS (full text search) in Mongoose w/ node.js
View Using mongoDB FTS in Node.js
Model_to_use.db.db.executeDbCommand({text: "collection_name", search: "term_to_search"}, function(err,response){ ... });
You can’t perform that action at this time.