Skip to content

Instantly share code, notes, and snippets.

Francesco Palmarini erpalma

Block or report user

Report or block erpalma

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 payment_solver.py
#!/usr/bin/env python3
# -*- coding: utf8 -*-
from collections import defaultdict
from itertools import permutations
class PaymentSolver:
def __init__(self, people):
# if X owe Y N euro,
# then Y owe X -N euro
@plentz
plentz / nginx.conf
Last active Oct 14, 2019
Best nginx configuration for improved security(and performance). Complete blog post here http://tautt.com/best-nginx-configuration-for-security/
View nginx.conf
# to generate your dhparam.pem file, run in the terminal
openssl dhparam -out /etc/nginx/ssl/dhparam.pem 2048
You can’t perform that action at this time.