Skip to content

Instantly share code, notes, and snippets.

View rflpazini's full-sized avatar
:bowtie:
How you doin'?

Rafael Pazini rflpazini

:bowtie:
How you doin'?
View GitHub Profile
// Code generated by easyjson for marshaling/unmarshaling. DO NOT EDIT.
package config
import (
json "encoding/json"
jwtauth "github.com/Pluto-tv/lib-auth-go/jwtauth"
circuitbreaker "github.com/Pluto-tv/lib-client-go/circuitbreaker"
httpclient "github.com/Pluto-tv/lib-client-go/httpclient"
httpserver "github.com/Pluto-tv/lib-server-go/httpserver"
@rflpazini
rflpazini / rflpazini_solarized.icls
Last active April 7, 2021 13:15
Solarized theme modified for IntelliJ
<scheme name="rflpazini's - solarized light" version="142" parent_scheme="Default">
<option name="FONT_SCALE" value="1.0" />
<metaInfo>
<property name="created">2021-04-07T10:14:16</property>
<property name="ide">Idea</property>
<property name="ideVersion">2021.1.0.0</property>
<property name="modified">2021-04-07T10:14:41</property>
<property name="originalScheme">Solarized Light (Material) Modified</property>
</metaInfo>
<console-font>
@rflpazini
rflpazini / .editorconfig
Created October 24, 2020 13:37
.editorconfig using Google style guide
[*]
charset = utf-8
end_of_line = lf
indent_size = 2
indent_style = space
insert_final_newline = false
max_line_length = 100
tab_width = 2
ij_continuation_indent_size = 4
ij_formatter_off_tag = @formatter:off

fifagama dashboard

Uma api paginada que devolve os números baseados nas informações obtidas através do Kaggle

Como usar

Basta chamar no endpoint a seguir e receber os dados que você

$ curl --request GET \
const moment = require('moment');
const axios = require('axios');
const qs = require('qs');
module.exports = class Ahgora{
constructor(user_id, password){
this.url = 'https://www.ahgora.com.br/externo/getApuracao';
this.options = {};
this.current = moment().format('YYYY-MM-DD');
@rflpazini
rflpazini / remove-all-commits.md
Last active June 15, 2019 05:05
Remove all commits from a git branch

Glorious Method

# Clone the project, e.g. `myproject`:
git clone <project-url>

# Since all of the commits history are in the `.git` folder, we have to remove it:
cd myproject

# And delete the `.git` folder:
git rm -rf .git
[user]
name = rflpazini
email = rafael.pazini@mercadolivre.com
[alias]
logpretty = log --graph --decorate --pretty=oneline --abbrev-commit
ci = commit
br = branch
co = checkout
cob = checkout -b
d = difftool
@rflpazini
rflpazini / k8s.md
Created February 19, 2019 13:30
Simple step by step to introduce kubernets

Module 1

Cluster up and running

We already installed minikube for you. Check that it is properly installed, by running the minikube version command:

minikube version

OK, we can see that minikube is in place.

Start the cluster, by running the minikube start command:

#include <Wire.h>
#include <Stepper.h> //biblioteca para controle de motor de passo
#include <LiquidCrystal.h>
LiquidCrystal disp(6, 7, 5, 4, 3, 2);
// VARIÁVEL PARA SELEÇÃO DO PINO DIGITAL ----------------------------------------------------------------------------------
const int setButton = 11; // SETA VALORES ESCOLHIDOS
const int returnButton = 8; // RETORNA MENU ANTERIOR
const int proceedButton = 13; // PROCEDE AO PRÓXIMO MENU
@rflpazini
rflpazini / build.gradle
Created January 23, 2019 01:44
Build gradle for apply git hooks with google java style guide formatter
plugins {
id 'com.github.sherter.google-java-format' version '0.8'
}
googleJavaFormat {
options style: 'GOOGLE'
}
task installGitHooks(type: Copy) {
into (rootProject.rootDir)