Skip to content

Instantly share code, notes, and snippets.

View jpallari's full-sized avatar

Jaakko Pallari jpallari

View GitHub Profile
@plentz
plentz / nginx.conf
Last active November 14, 2024 08:35
Best nginx configuration for improved security(and performance)
# to generate your dhparam.pem file, run in the terminal
openssl dhparam -out /etc/nginx/ssl/dhparam.pem 2048
@acolyer
acolyer / service-checklist.md
Last active July 10, 2024 05:13
Internet Scale Services Checklist

Internet Scale Services Checklist

A checklist for designing and developing internet scale services, inspired by James Hamilton's 2007 paper "On Desgining and Deploying Internet-Scale Services."

Basic tenets

  • Does the design expect failures to happen regularly and handle them gracefully?
  • Have we kept things as simple as possible?
@jgeiger
jgeiger / Makefile
Created January 28, 2016 15:49
Default Makefile for building Go projects including Docker containers
SHELL := /bin/bash
PROJECT := github.com/jgeiger/example
PKGS := $(shell go list ./... | grep -v /vendor)
EXECUTABLE := example
PKG := example
DOCKER_REGISTRY := jgeiger
DOCKER_IMAGE_NAME := example
GIT_COMMIT := $(shell git rev-parse --short HEAD 2>/dev/null)
.PHONY: build test golint docs $(PROJECT) $(PKGS) vendor