Skip to content

Instantly share code, notes, and snippets.

Chau Thai chauthai

Block or report user

Report or block chauthai

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
mpaleo / rndriver.js
Created Jan 2, 2017
Lowdb react native driver based on RNFS
View rndriver.js
import RNFS from 'react-native-fs';
module.exports = {
read: (source) =>
return RNFS.exists(source).then((fileExists) =>
if (fileExists)
return RNFS.readFile(source).then((data) => JSON.parse(data));
View gist:598fa75e22bdfa44cf47

2015-01-29 Unofficial Relay FAQ

Compilation of questions and answers about Relay from React.js Conf.

Disclaimer: I work on Relay at Facebook. Relay is a complex system on which we're iterating aggressively. I'll do my best here to provide accurate, useful answers, but the details are subject to change. I may also be wrong. Feedback and additional questions are welcome.

What is Relay?

Relay is a new framework from Facebook that provides data-fetching functionality for React applications. It was announced at React.js Conf (January 2015).

chaitanyagupta /
Last active Aug 5, 2019
How to re-sign an iOS app with another developer account

WARNING These steps are probably out dated and will not work.

To re-sign an iOS app with another developer account, ensure that the following are in place first.

  1. Distribution certificate of the other developer account
  2. A provisioning profile from the other developer account

Note that the Apple requires bundle IDs to be globally unique, even across accounts. So a bundle ID i.e. CFBundleIdentifier from one account can't be used in a different account, even though the team id/prefix would be different.

Ensure that the new distribution certificate is in your keychain and the new provisioning profile on your disk.

View SMTest.h
#import "BAAObject.h"
#import <CoreLocation/CoreLocation.h>
@interface SMTest : BAAObject
@property (nonatomic, assign) NSInteger myInteger;
@property (nonatomic, assign) double latitude;
@property (nonatomic, assign) double longitude;
- (CLLocationCoordinate2D)coordinate;

Google Text to Speech API

Base URL:
It converts written words into audio. It accepts GET requests.


The query string to convert to audio

Translation language, for example, ar for Arabic, or en-us for English

JohannesRudolph /
Created Jan 26, 2012
Builds and deploys an App to Integrates with Teamcity.
# tokens
boxingsquirrel /
Created Feb 27, 2011
Build libimobiledevice from source easily...
echo "Building libplist..."
git clone > /dev/null
cd libplist
mkdir build
cd build
cmake --prefix=/usr ..
sudo make install
cd ../../
You can’t perform that action at this time.