Skip to content

Instantly share code, notes, and snippets.

View phedoreanu's full-sized avatar
🏠
Working from home

Adrian Fedoreanu phedoreanu

🏠
Working from home
View GitHub Profile
{
  "body": {
    "key": {
      "eldest_kid": "01209c3bacf85d26568e4b007aebb2e63c73ffabadefee3dd7d5de3e0f3dff56970b0a",
      "host": "keybase.io",
      "kid": "0120c3a12c2818a5313abf8cb9dfec2914b66b9a181fe0ba415c9ddd024923ddde4b0a",
      "uid": "1367b0ad193bb74c4e81578338381619",
      "username": "phedoreanu"
 },
@phedoreanu
phedoreanu / haproxy.conf
Last active April 14, 2018 10:03 — forked from thpham/haproxy.conf
test config haproxy for gRPC loadbalancing
global
tune.ssl.default-dh-param 2048
defaults
timeout queue 1m
timeout client 1m
timeout server 1m
timeout check 5s
timeout connect 10s
@phedoreanu
phedoreanu / alarm-rpi.sh
Last active June 23, 2018 20:05
Bootstrap sdcard with ArchLinuxARM for RaspberryPi 2/3
#!/bin/bash
DISK=$1
if [[ -z $DISK ]]; then
echo "Please supply the target disk i.e. /dev/sdb"
exit 1
fi
ALARM_VERSION=$2
if [[ -z $ALARM_VERSION ]]; then
ALARM_VERSION=3