Skip to content

Instantly share code, notes, and snippets.

Paulo Henrique phouverneyuff

  • Sao Paulo, SP
Block or report user

Report or block phouverneyuff

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View keybase.md

Keybase proof

I hereby claim:

  • I am phouverneyuff on github.
  • I am phouverney (https://keybase.io/phouverney) on keybase.
  • I have a public key whose fingerprint is D2DC B857 C6D6 2F79 F69B A32D 2520 4BAB C9DC CE92

To claim this, I am signing this object:

@phouverneyuff
phouverneyuff / register_schema-tls.py
Last active Aug 6, 2019 — forked from aseigneurin/register_schema.py
Register an Avro schema against the Confluent Schema Registry
View register_schema-tls.py
#!/usr/bin/python
import os
import sys
import requests
schema_registry_url = sys.argv[1]
topic = sys.argv[2]
schema_file = sys.argv[3]
View .zprofile
emulate sh -c '. ~/.profile'
#emulate sh -c '. /etc/profile'
function gitDeleteTagLocalAndRemote(){ #delete tag local and from remote
git push --delete "$1" "$2"
git tag -d $2
echo "tag $2 delete from remote $1 and local"
}
alias gtdo="gitDeleteTagLocalAndRemote"
View test-performance.py
from locust import HttpLocust, TaskSet, task
class UserBehavior(TaskSet):
headers = {'content-type': 'application/json'}
@task(300)
def postContaCorrente(l):
payload = {"numero_conta": 1, "cpf": "12000", "valor_saldo": 1000000000.0, "nome_titular": "Zé pilintra"}
View test-performance.sh
#!/bin/bash
time for ((i=1;i<=300;i++)); do \
curl --silent -X POST \
--happy-eyeballs-timeout-ms \
-d'{"numero_conta": 1, "cpf": "12000", "valor_saldo": 1000000000.0, "nome_titular": "Zé pilintra"}' \
-H "Content-Type: application/json" \
http://localhost:8080/exemplo/contacorrente > /dev/null 2>&1 ; \
done
View 0001-19.5.10.patch
From 540217cf7f11a1798b0a3e143d16ca71c44f3893 Mon Sep 17 00:00:00 2001
From: Paulo Ouverney <ph.ouverney@gmail.com>
Date: Tue, 14 May 2019 23:21:37 -0300
Subject: [PATCH] 19.5.10
---
.SRCINFO | 6 +++---
PKGBUILD | 4 ++--
2 files changed, 5 insertions(+), 5 deletions(-)
View .gitconfig-windows
# This is Git's per-user configuration file.
[user]
# Please adapt and uncomment the following lines:
name = Fabio Leando
email = fabio.leandro@email.com.br
[merge]
tool = meld
[mergetool "meld"]
View .gitconfig
[user]
name = Paulo Ouverney
email = ph.ouverney@gmail.com
[core]
editor = gedit
autocrlf = input
[credential]
helper = cache --timeout 7200
View .zshrc
emulate sh -c 'source /etc/profile'
############################## NVM CONFIG START ##############################
# NVM bundle
export NVM_LAZY_LOAD=true
# Add every binary that requires nvm, npm or node to run to an array of node globals
NODE_GLOBALS=(`find ~/.nvm/versions/node -maxdepth 3 -type l -wholename '*/bin/*' | xargs -n1 basename | sort | uniq`)
NODE_GLOBALS+=("node")
NODE_GLOBALS+=("nvm")
View .bash_aliases
#!/bin/bash
source $ZSH/plugins/git/git.plugin.zsh
You can’t perform that action at this time.