Skip to content

Instantly share code, notes, and snippets.

Bunhouth BunHouth

Block or report user

Report or block BunHouth

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 react-native-axios
import React from "react";
import { StyleSheet, Text, View, ScrollView } from "react-native";
import axios from "axios";
export default class App extends React.Component {
state = {
data: []
async componentDidMount() {
await this.getTest();
BunHouth / RCTScrollView.m
Created Mar 16, 2017
React-Native 0.28 Scrollview Patch for Xcode 8
View RCTScrollView.m
* Copyright (c) 2015-present, Facebook, Inc.
* All rights reserved.
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
#import "RCTScrollView.h"
View dropzone-cropper.js
// transform cropper dataURI output to a Blob which Dropzone accepts
function dataURItoBlob(dataURI) {
var byteString = atob(dataURI.split(',')[1]);
var ab = new ArrayBuffer(byteString.length);
var ia = new Uint8Array(ab);
for (var i = 0; i < byteString.length; i++) {
ia[i] = byteString.charCodeAt(i);
return new Blob([ab], { type: 'image/jpeg' });
View gist:4ba88f57732b4bccef76
<!doctype html>
<meta name="viewport" content="width=device-width">
<script type="text/javascript" src="jquery-1.8.1.min.js"></script>
<script type="text/javascript" src=""></script>
var SightingObject;
var db;
BunHouth /
Created Oct 29, 2015
How to embed google analytic into website using ruby on rails?

How to embed google analytic into website?

You can’t perform that action at this time.