Skip to content

Instantly share code, notes, and snippets.

View diaraujo13's full-sized avatar
🎯
Focusing

Izaías Araújo diaraujo13

🎯
Focusing
  • UNIVASF
  • Petrolina, Pernambuco
  • 13:29 (UTC -03:00)
  • LinkedIn in/diaraujo13
View GitHub Profile
@diaraujo13
diaraujo13 / ReactJS 0.14.3 + React-Router 1.0.2 (with CDN).markdown
Last active December 24, 2015 10:13
ReactJS 0.14.3 + React-Router 1.0.2 (with CDN)
import React from 'react';
import {
Image,
Linking,
Platform,
ScrollView,
StyleSheet,
Text,
TouchableOpacity,
View,
@diaraujo13
diaraujo13 / config.md
Created January 15, 2017 04:03
react-native-facebook-login instalação para Android

Android Setup: react-native-facebook-login

** Passo 0 - Configure seu aplicativo do Facebook **

  • Vá até Facebook App Setup (Key Hash, App Id, etc) e entre com os dados que eles exigem!

PACOTE: veja o pacote do seu aplicativo (basta ver no AndroidManifest) CLASSE PRINCIPAL: MainActivity (só o nome da classe principal)

Na hora de gerar os hashes, eles aceitam mais de um, ou seja, o debug e o release.

@diaraujo13
diaraujo13 / recentes.screen.js
Created April 29, 2017 16:14
react-native-community/react-native-tab-view error
/* @flow */
import React, { Component } from 'react';
import {
ActivityIndicator,
Image,
ScrollView, Picker,
StyleSheet,
Text,
StatusBar,
@diaraujo13
diaraujo13 / snippets_calendario_pt-BR.js
Created May 7, 2017 16:07
Alguns snippets de dados em português: dias da semana, mês, abreviações
/* Meses do ano */
[ 'Janeiro',
'Fevereiro',
'Março',
'Abril',
'Maio',
'Junho',
'Julho',
'Agosto',
@diaraujo13
diaraujo13 / index.js
Created February 23, 2018 12:13
bgp.he.net scrap
var firstRow = document.querySelectorAll("#search > table > tbody > tr");
var length = firstRow.length,
index = 0,
data = '';
for(;index<length;index++)
data += "\n" + firstRow[index].children["0"].children["0"].textContent;
console.log(data);
@diaraujo13
diaraujo13 / json
Created April 25, 2018 02:49
GLPI API - Basic calls to tickets endpoint
{
"variables": [],
"info": {
"name": "GLPI API",
"_postman_id": "93d36159-3fa9-bed0-ff15-ad4cc5cc6abb",
"description": "",
"schema": "https://schema.getpostman.com/json/collection/v2.0.0/collection.json"
},
"item": [
{
@diaraujo13
diaraujo13 / gist:87f630ea241dcac36974ce3d2e148a51
Created December 13, 2018 22:46
'dep' commant not found
# Current workaround. Any tips to make it as a terminal command?
# Call deployer.phar directly
php /usr/local/bin/dep/deployer.phar deploy