Skip to content

Instantly share code, notes, and snippets.

View till's full-sized avatar
💀
writing yaml

Till! till

💀
writing yaml
View GitHub Profile
@themartorana
themartorana / dogstatsd
Created May 5, 2016 16:48
dogstatsd rc.d file
#!/bin/sh
# $FreeBSD$
# PROVIDE: dogstatsd
# KEYWORD: shutdown
. /etc/rc.subr
name=dogstatsd
rcvar=${name}_enable
@deviantony
deviantony / README.md
Last active September 4, 2024 02:41
Portainer HTTP API by example

DEPRECATION NOTICE

This gist is now deprecated in favor of our official documentation: https://documentation.portainer.io/api/api-examples/ which contains up to date examples!

THE FOLLOWING DOCUMENTATION IS DEPRECATED

Please refer to the link above to get access to our updated API documentation and examples.

@bufadu
bufadu / howto_bgp_ecmp_load_balancing.md
Last active May 28, 2025 19:27
BGP ECMP Load Balancer

How to build a load balancer with BGP and ECMP using VyOS

According to this cloudflare blog article "Load Balancing without Load Balancers", we can build a rock-solid load balancer only using a router. All the magic comes from BGP and Equal-Cost Multi-Path routing.

In this howto, I will use bird as BGP router on linux instance (ie. servers).

Test environment

I use GNS3 with this architecture :

architecture

@thetechnick
thetechnick / ignition.json
Last active June 22, 2023 17:46
Hetzner Cloud terraform coreos install
{
"ignition": {
"version": "2.0.0",
"config": {}
},
"storage": {
},
"systemd": {},
"networkd": {},
"passwd": {
@Overbryd
Overbryd / best-brownies-of-your-life.md
Last active February 28, 2019 12:30
These are the best brownies of your life

Best brownies of your life

This is a really great brownie recipe, originally taken from this BuzzFeed article. Here, have my version of it, without all the fuzz and ads.

Ingredients

  • 1 1/4 Cups butter
  • 225g chocolate 60-70%
  • 3/4 Cups dark processed cocoa powder
  • 1 Tbsp espresso powder
@haproxytechblog
haproxytechblog / blog20210114-01.sh
Last active May 23, 2021 11:17
Announcing HAProxy Data Plane API 2.2
$ curl -u dataplaneapi:mypassword \
-H 'Content-Type: application/json' \
-d '{
"name": "consul-server",
"address": "consul.local",
"port": 8500,
"enabled": true,
"retry_timeout": 10
}' http://localhost:5555/v2/service_discovery/consul