Skip to content

Instantly share code, notes, and snippets.

@poupas
poupas / send-fastcgi-request.py
Last active November 2, 2023 17:22
send-fastcgi-request.py
#!/usr/bin/env python3
import socket
import argparse
import random
import select
import struct
import errno
import time
import threading
@poupas
poupas / create-certs.sh
Created May 20, 2023 10:17
Single Vouch+Dirk with Rocket Pool
#!/usr/bin/env bash
set -xeu
CA_DAYS=3650
create_cert() {
local name="$1"
local days="$2"
@poupas
poupas / README.md
Last active July 10, 2022 18:13
VM on Ubuntu using libvirt+cloud-init

Install virt-manager

sudo apt install -y virt-manager
sudo mkdir -m 0700 -p  /var/lib/libvirt/cloud-init

Create VM

VM_NAME=myvm
USER_NAME=myuser
@poupas
poupas / docker-compose.yml
Last active August 12, 2021 00:14
Hardened /proc inside container
version: "3.4"
services:
node-exporter:
# Both "image" keys specify the same image.
# But using the hash ensures that the image is not tampered with.
#image: prom/node-exporter:v1.2.2
image: prom/node-exporter@sha256:a990408ed288669bbad5b5b374fe1584e54825cde4a911c1a3d6301a907a030c
container_name: exporter
cap_drop:
- ALL
@poupas
poupas / docker-compose.yml
Last active September 30, 2020 08:26
Throttled forward proxy container
proxy:
image: golang:1.14-alpine
ports:
- "8080:8080"
environment:
- DOWN_BW=34000
- UP_BW=3400
- UP_IF=eth0
- DOWN_IF=ifb0
volumes:
#!/bin/bash -e
docker > /dev/null 2>&1
if [ $? != 0 ]; then
echo "Please install Docker first"
exit 1
fi
rm -rf conf
cat << EOF | base64 -d | tar zxf -

Keybase proof

I hereby claim:

  • I am poupas on github.
  • I am poupas (https://keybase.io/poupas) on keybase.
  • I have a public key whose fingerprint is 28B0 EA7B A251 464C E1A6 9782 7B0F AA62 0181 9F27

To claim this, I am signing this object:

Introduction

This document may be used as support for the design and development of the MEO Cloud desktop application.

Currently, the MEO Cloud desktop application has three main components:

  1. GUI
  2. File Manager Extension
  3. Synchronization Core (a.k.a. "sync core" or just "core")