Skip to content

Instantly share code, notes, and snippets.

View szaffarano's full-sized avatar

Sebastián Zaffarano szaffarano

  • Elastic
  • Stockholm, Sweden
  • 13:11 (UTC +01:00)
View GitHub Profile
@IwoHerka
IwoHerka / naming_guidelines.md
Last active August 11, 2025 20:08
Naming Guidelines

Naming guidelines

1. Syntax

1.1 Be consistent

Consistency in naming makes reading and memory retrieval much, much easier. Conversely, changing rules and mixing conventions are very confusing and significantly increase cognitive load. Follow language, company, and project conventions for names, even if you don't like them.

1.2 Follow conventions

@zeebo
zeebo / buffer.go
Created July 13, 2021 14:09
Buffer Benchmark
package buffer
import (
"errors"
"os"
"unsafe"
)
const (
entrySize = 32 // or maybe 28?
@thomaspoignant
thomaspoignant / Makefile
Last active February 6, 2026 15:00
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)
@rkuzner
rkuzner / links.md
Created August 15, 2019 20:13
Workshop Resiliencia - Links
@kerryboyko
kerryboyko / README.md
Last active April 26, 2023 16:08
VueJS Best Practices Guide

Deverus Vue.js Style Guide

Guide for developing Vue.js applications.

v. 0.0.1

Vue.js is an amazing framework, which can be as powerful as Angular or React, the two big heavy hitters in the world of front-end frameworks.

However, most of Vue's ease-of-use is due to the use of Observables - a pattern that triggers re-renders and other function calls with the reassignment of a variable.