Skip to content

Instantly share code, notes, and snippets.

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

Gabriel Meireles devmeireles

🏠
Working from home
View GitHub Profile
@devmeireles
devmeireles / reducer_filter.js
Created May 18, 2023 07:32
Using reduce to remove repeated based on object property and filter to get data according to the params
const people = [
{
id: 1,
name: "Arly Manifould",
profile: {
age: 46,
city: "Yoichi",
nationality: "Japan",
},
interactions: [
/**
* @param {string} s
* @return {number}
*/
var romanToInt = function (s) {
const base = {
I: 1,
V: 5,
X: 10,

Hi there, my name is Egoguy

Voyager at Egocompany

Voyager at Egocompany

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Praesent ultrices ipsum non purus efficitur laoreet. Fusce in luctus nisl. Phasellus vitae ligula ultrices, ultricies orci id, feugiat est. In hac habitasse platea dictumst.

Skills: VB / Delphi / Algol / C / Perl / Camel

  • 🔭 I’m currently working on habitasse platea
  • 🌱 I’m currently learning mattis eu ex non
package main
import (
"bufio"
"fmt"
"io"
"os"
"strings"
"strconv"
)
@devmeireles
devmeireles / main.go
Last active July 21, 2020 00:29
Golang random data with faker
package main
import (
"fmt"
"github.com/bxcodec/faker"
)
// DataFakerStructure is a representation of a datafaker obj
type DataFakerStructure struct {
{"id":15368,"date":"2020-04-20T22:55:15","date_gmt":"2020-04-21T01:55:15","guid":{"rendered":"http:\/\/coldskateboard.com.br\/blog\/wp-content\/uploads\/2020\/04\/Screen-Shot-2020-04-20-at-22.53.48-copy.jpg"},"modified":"2020-04-20T22:55:15","modified_gmt":"2020-04-21T01:55:15","slug":"screen-shot-2020-04-20-at-22-53-48-copy","status":"inherit","type":"attachment","link":"http:\/\/coldskateboard.com.br\/blog\/news\/dc-shoes-weskremer-part\/attachment\/screen-shot-2020-04-20-at-22-53-48-copy\/","title":{"rendered":"Screen Shot 2020-04-20 at 22.53.48 copy"},"author":1,"comment_status":"open","ping_status":"closed","template":"","meta":[],"description":{"rendered":"<p class=\"attachment\"><a href=\"http:\/\/coldskateboard.com.br\/blog\/wp-content\/uploads\/2020\/04\/Screen-Shot-2020-04-20-at-22.53.48-copy.jpg\" ><img width=\"300\" height=\"170\" src=\"http:\/\/coldskateboard.com.br\/blog\/wp-content\/uploads\/2020\/04\/Screen-Shot-2020-04-20-at-22.53.48-copy-300x170.jpg\" class=\"attachment-medium size-medium co
[{"id":15367,"date":"2020-04-20T22:55:29","date_gmt":"2020-04-21T01:55:29","guid":{"rendered":"http:\/\/coldskateboard.com.br\/blog\/?p=15367"},"modified":"2020-04-20T22:55:31","modified_gmt":"2020-04-21T01:55:31","slug":"dc-shoes-weskremer-part","status":"publish","type":"post","link":"http:\/\/coldskateboard.com.br\/blog\/news\/dc-shoes-weskremer-part\/","title":{"rendered":"DC Shoes&#8217; &#8220;#WESKREMER&#8221; Part"},"content":{"rendered":"\n<figure><iframe width=\"560\" height=\"315\" src=\"https:\/\/www.youtube.com\/embed\/Vqtj1hv4Ubc\" allowfullscreen=\"\"><\/iframe><\/figure>\n","protected":false},"excerpt":{"rendered":"","protected":false},"author":1,"featured_media":15368,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[12],"tags":[22,21,194,57,193],"_links":{"self":[{"href":"http:\/\/coldskateboard.com.br\/blog\/wp-json\/wp\/v2\/posts\/15367"}],"collection":[{"href":"http:\/\/coldskateboard.com.br\/blog\/wp-json\/wp\/v2\/post
This file has been truncated, but you can view the full file.
txNomeParlamentar;"ideCadastro";"nuCarteiraParlamentar";"nuLegislatura";"sgUF";"sgPartido";"codLegislatura";"numSubCota";"txtDescricao";"numEspecificacaoSubCota";"txtDescricaoEspecificacao";"txtFornecedor";"txtCNPJCPF";"txtNumero";"indTipoDocumento";"datEmissao";"vlrDocumento";"vlrGlosa";"vlrLiquido";"numMes";"numAno";"numParcela";"txtPassageiro";"txtTrecho";"numLote";"numRessarcimento";"vlrRestituicao";"nuDeputadoId";"ideDocumento"
AVANTE;"";"";"2019";"NA";"";"56";"13";"FORNECIMENTO DE ALIMENTAÇÃO DO PARLAMENTAR";"0";"";"ANA CAROLINA MOURA ALVES 01136994173";"307.711.930/0014-5";"001329989";"0";"2019-06-06T00:00:00";"2100";"0";"2100";"6";"2019";"0";"";"";"1609131";"";"";"3175";"6862742"
AVANTE;"";"";"2019";"NA";"";"56";"13";"FORNECIMENTO DE ALIMENTAÇÃO DO PARLAMENTAR";"0";"";"JANE DA SILVA SOARES DE AVELAR 57915873172";"277.575.530/0014-0";"001350862";"0";"2019-06-25T00:00:00";"1200";"0";"671.93";"6";"2019";"1";"";"";"1609175";"";"";"3175";"6862865"
AVANTE;"";"";"2019";"NA";"";"56";"13";"FORNECIMENTO DE ALIM
import React from "react";
import {
StyleSheet,
Text,
View,
StatusBar,
TouchableOpacity,
Dimensions,
Picker,
Platform
{
"data":{
"person":{
"id": 4378534678564378,
"name": "Gabriel Meireles",
"email": "gabriel.meireles@me.com",
"phone": "5511955624125",
"photo": "photo.jpg",
"birthday": "04-20-1990",
"location": {