Skip to content

Instantly share code, notes, and snippets.

View Yemolai's full-sized avatar
👨‍💻
Working from home

Romulo Gabriel Rodrigues Yemolai

👨‍💻
Working from home
View GitHub Profile

Keybase proof

I hereby claim:

  • I am yemolai on github.
  • I am yemolai (https://keybase.io/yemolai) on keybase.
  • I have a public key whose fingerprint is 45AD 5DA5 64A7 C006 02E3 AA79 E761 F306 4C49 BC5A

To claim this, I am signing this object:

@Yemolai
Yemolai / taxi.json
Last active April 12, 2017 13:05 — forked from tonyjosh00/taxi.json
[
{"endereço": "Avenida Alcindo Cacela, 3205 - Umarizal, Belém - PA",
"latlong": "-1.4655513,-48.4786651,17"
},
{"endereço": "Praça Brasil - Umarizal, Belém - PA, 66050-050",
"latlong": "-1.4373523,-48.48893,17"
},
{"endereço": "Avenida João Paulo II, 1953 - Castanheira, Belém - PA",
"latlong": "-1.4323702,-48.4544339,17"
},
@Yemolai
Yemolai / pontosdetaxi.json
Created April 12, 2017 15:38
Pontos de táxi de Belém do Pará em JSON para localização por geocoding no Google Maps
[
{
"id": 1,
"name": "ATPFP - Associação dos Taxistas da Praça Felipe Patroni",
"address": "Praça Felipe Patroni, s/n"
},
{
"id": 2,
"name": "Associação dos Taxistas Autônomos do Mangal das Garças e Praça do Arsenal",
"address": "Passagem Carneiro da Rocha, 21"
[
{
"id": 1,
"name": "ATPFP - Associação dos Taxistas da Praça Felipe Patroni",
"address": "Praça Felipe Patroni, s/n"
},
{
"id": 2,
"name": "Associação dos Taxistas Autônomos do Mangal das Garças e Praça do Arsenal",
"address": "Passagem Carneiro da Rocha, 21"
<?php
/**
* This snippet includes a status counting to anywhere you require this
* file and run _stats($_s) to write a line with tickets status info to client
* To style it accordingly you can refer the .tickets-stats class.
*/
require_once(INCLUDE_DIR.'class.ticket.php');
/* Inspired by function getStaffStats() in class.ticket.php */
function _spte($_stat, $_text) {
return ($_stat == 0 ? 'nenhum' : $_stat) . ' ' . $_text . ($_stat > 1 ? 's' : '');

Testando 1, 2

Alonso

Alguma coisa acontece no meu coração, só quando eu cruzo a Ipiranga com a Avenida São João

  • 1
  • 2
  • 3
@Yemolai
Yemolai / renameContratos.sh
Created June 21, 2018 14:02
Script to rename files recursively easily
LOCALPATH=$(pwd)
OPTIONS="Renomear Cancelar"
select opt in $OPTIONS; do
if [ "$opt" = "Cancelar" ]; then
echo "Cancelado";
exit
elif [ "$opt" = "Renomear" ]; then
break
else
echo "Escolha desconhecida"
@Yemolai
Yemolai / FormGenerator.vue
Created July 10, 2019 01:56
Form generator component example
<template>
<div>
<div class="row" v-for="(row, rowId) in rows" :key="rowId">
<div v-for="(field, fieldId) in row" :key="fieldId" :class="['q-pa-sm', colFor(field)]">
<template v-if="!!field">
<q-input
v-if="field.type === 'email'"
v-model="form[field.name]"
:label="field.label"
:hint="field.hint || undefined"
@Yemolai
Yemolai / firebase-plugin.js
Last active August 19, 2019 12:31
plugin para uso fácil de Firebase em app Vue
import Vue from 'vue'
import firebase from 'firebase/app'
import 'firebase/auth'
import 'firebase/firestore'
import router from '@/router'
import store from '@/store'
if (!process.env.FIREBASE_CONFIG) {
throw new Error('firebase config not found in env')
}