Skip to content

Instantly share code, notes, and snippets.

View guilhermemauro's full-sized avatar
🎯
Focusing

Guilherme Mauro guilhermemauro

🎯
Focusing
View GitHub Profile
@guilhermemauro
guilhermemauro / README-Template.md
Created April 16, 2017 23:29 — forked from PurpleBooth/README-Template.md
A template to make good README.md

Project Title

One Paragraph of project description goes here

Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.

Prerequisites

import cv2
import numpy as np
FONTE = cv2.FONT_HERSHEY_SIMPLEX
img_binaria = cv2.imread('formas_binario.jpg')
blurred = cv2.GaussianBlur(img_binaria, (5, 5), 0)
img_binaria_gray = cv2.cvtColor(blurred, cv2.COLOR_BGR2GRAY)
@guilhermemauro
guilhermemauro / icon_rename.py
Last active May 20, 2017 15:57
Esse script em Python automatiza o processo de mudança dos icones padrões do Phonegap pelo criado pelo usuário (Android)
from shutil import copy
from sys import argv
NAMES = ["drawable-hdpi-icon.png", "drawable-ldpi-icon.png", "drawable-mdpi-icon.png", "drawable-xhdpi-icon.png", "drawable-xxhdpi-icon.png", "drawable-xxxhdpi-icon.png"]
#execute python icon_rename.py nome_do_icone.png
if len(argv) < 2:
print "Falta argumentos!"
exit()
@guilhermemauro
guilhermemauro / tribunais.json
Created June 2, 2021 11:37
json lista de tribunais de justiça por estados
{
"RJ": ["TJRJ", "TRE-RJ", "TRT-1"],
"BA": ["TJBA", "TRE-BA", "TRT-5"],
"AC": ["TJAC", "TRE-AC", "TRT-14"],
"AL": ["TJAL", "TRE-AL", "TRT-19"],
"AM": ["TJAM", "TRE-AM", "TRT-11"],
"AP": ["TJAP", "TRE-AP", "TRT-8"],
"CE": ["TJCE", "TRE-CE", "TRT-7"],
"DF": ["TJDF", "TRE-DF", "TRT-10"],
"ES": ["TJES", "TRE-ES", "TRT-17"],