Skip to content

Instantly share code, notes, and snippets.

View fabiobarboza7's full-sized avatar
🏠
Working from home

Fábio BC Souza fabiobarboza7

🏠
Working from home
  • Globo
  • Pelotas, Brazil
View GitHub Profile
import React, { useEffect, useState } from 'react';
import { View, StyleSheet, Text, PermissionsAndroid } from 'react-native';
import Geolocation from 'react-native-geolocation-service';
const styles = StyleSheet.create({
container: {
flex: 1,
backgroundColor: 'lightgreen',
},
@fabiobarboza7
fabiobarboza7 / users.json
Last active January 8, 2020 04:55
for friend playground
[
{
"name": "Emanuelle",
"age": "27",
"gender": "FEMALE",
"info": [{
"cpf": 123321,
"rg": 543345
}]
},
@fabiobarboza7
fabiobarboza7 / refactoring.js
Created January 22, 2020 21:17
action-cable lib
Object.defineProperty(exports, '__esModule', {
value: true,
});
const React = require('react');
const PropTypes = require('prop-types');
const actioncable = require('actioncable');
const createReactClass = require('create-react-class');
const { Provider, Consumer } = React.createContext();
require 'net/http'
require 'uri'
require 'json'
require 'mime/types'
@body ={
"name": "Banana de Pijamas!",
"type": "variable",
"regular_price": "21.99",
"status": "publish",