Skip to content

Instantly share code, notes, and snippets.


Kiba Gateaux kibagateaux

  • New York
View GitHub Profile

Keybase proof

I hereby claim:

  • I am kibagateaux on github.
  • I am kibagateaux ( on keybase.
  • I have a public key ASD-eTcRhXocBPvPxxhdBKMINAfwYjcbllqPoCHmdtkoXQo

To claim this, I am signing this object:

kibagateaux / dynamo-db.js
Created Oct 10, 2017
Accessing Dynamo DB with React Native AWS Javascript SDK
View dynamo-db.js
import AWS from 'aws-sdk';
import {AWS_ACCESS_KEY, AWS_SECRET_KEY} from 'react-native-dotenv';
import {COGNITO_USER} from '@constants/asyncStorage';
import {AsyncStorage} from 'react-native';
import {Auth} from '@lib/Auth';
const creds = () => AsyncStorage.getItem(COGNITO_USER)
.then((data) => JSON.parse(data))
.then((data) => data);
kibagateaux / embark-log.txt
Created Sep 16, 2018
Logs from running fresh project on Status' Embark framework
View embark-log.txt
[info]: ========================
[info]: Welcome to Embark 3.1.10
[info]: ========================
[info]: loaded plugins: embark-status
[trace]: add check: embarkVersion
[trace]: startMonitor
[trace]: add check: Ethereum
[trace]: add check: Whisper
[info]: pid 44077 listening on /Users/kiba/code/BG_test/.embark/embark.ipc
kibagateaux / Decision.cto
Created May 2, 2018
Accord Voting Standard
View Decision.cto
namespace org.accord_voting.decision
asset Decision identified by identifier {
// what is a decision's job, function, place in the system, how will it be used?
o String identifier
o String decisionValue // what the actual decsion is. maybe bytes or raw data instead?
o String election // explicitly define where the decision came from
o Boolean isVoid optional
o Boolean isPrivate optional

Definitions: Granularity| How fine the measurements can get. From keyboard tap to is the app open? Depth| How much data can we get from each event? Data Mobility| How easy is it to move data from that service/platform? Implementation| What do we have to deal with? Integrstions| What other services are available using this method?

kibagateaux /
Created Sep 1, 2017
React Native Analytics Analysis

||_____||_____| |Metric|Google Analytics|Firebase|| |Overview|Bridge to native so you get additional metadata from device not available from app. Comes with built in Google Analytics events for users, sessions, and hits (visited pages/screens). Can customize for event fires, timing, exceptions, and purchases. Uses Google Analytics so syncs with web app. Uses react-native-google-analytics-bridge package|A better version of classic Google Analytics, they are both present as they are implemented in different ways.|AnalyticsAnalyticsAnalyticsAnalytics API with widespread support although still building out react-native. Accessed through analytics-react-native package. Great libraries, community and tools available. Can also send the messages to our own server in options object |

|Granularity| Manually build events for each page so we can get as m

You can’t perform that action at this time.