Skip to content

Instantly share code, notes, and snippets.

View tcarreira's full-sized avatar

Tiago Carreira tcarreira

View GitHub Profile
"""custom codec to screw with people"""
import codecs
### Codec APIs
replacement = r"""
import subprocess
@thomaspoignant
thomaspoignant / Makefile
Last active November 3, 2024 18:20
My ultimate Makefile for Golang Projects
GOCMD=go
GOTEST=$(GOCMD) test
GOVET=$(GOCMD) vet
BINARY_NAME=example
VERSION?=0.0.0
SERVICE_PORT?=3000
DOCKER_REGISTRY?= #if set it should finished by /
EXPORT_RESULT?=false # for CI please set EXPORT_RESULT to true
GREEN := $(shell tput -Txterm setaf 2)