This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Model_to_use.db.db.executeDbCommand({text: "collection_name", search: "term_to_search"}, function(err,response){ ... }); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* 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 | |
*/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// | |
// RNGmailAPI.m | |
// astroboy | |
// | |
// Created by Eric Lewis on 4/9/19. | |
// Copyright © 2019 Eric Lewis. All rights reserved. | |
// | |
#import "RNGmailAPI.h" | |
#import "RNPromiseWrapper.h" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const assert = require('assert'); | |
assert(process.argv.length > 2, 'Must include a package name'); | |
const newName = process.argv[2]; | |
const util = require('util'); | |
const fs = require('fs'); | |
const exec = util.promisify(require('child_process').exec); | |
const readFile = util.promisify(fs.readFile); | |
const writeFile = util.promisify(fs.writeFile); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const assert = require('assert'); | |
assert(process.argv.length > 2, 'Must include a package name'); | |
const newName = process.argv[2]; | |
const util = require('util'); | |
const fs = require('fs'); | |
const exec = util.promisify(require('child_process').exec); | |
const readFile = util.promisify(fs.readFile); | |
const writeFile = util.promisify(fs.writeFile); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* 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 | |
*/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
platform :ios, '12.0' | |
require_relative '../node_modules/react-native/scripts/autolink-ios' | |
def common_pods | |
use_react_native! | |
end | |
target 'proj' do | |
common_pods |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// | |
// CircularProgress.swift | |
// Time! | |
// | |
// Created by Eric Lewis on 6/9/19. | |
// Copyright © 2019 Eric Lewis, Inc. All rights reserved. | |
// | |
import SwiftUI |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@propertyWrapper | |
public struct UserDefault<T>: UserDefaultSpec { | |
let key: String | |
let defaultValue: T | |
public init(_ key: String, defaultValue: T) { | |
self.key = key | |
self.defaultValue = defaultValue | |
} | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
### Keybase proof | |
I hereby claim: | |
* I am ericlewis on github. | |
* I am ericlewis (https://keybase.io/ericlewis) on keybase. | |
* I have a public key ASBzIjHMyqm5H8e3230zlAxaBzQMVO1pSYwnw0a_TeEYYgo | |
To claim this, I am signing this object: |
OlderNewer