Skip to content

Instantly share code, notes, and snippets.

@GermanXander
GermanXander / compose.yaml
Created June 17, 2025 12:18
Docker compose for wireguard
services:
wireguard:
image: lscr.io/linuxserver/wireguard:latest
container_name: wireguard
cap_add:
- NET_ADMIN
- SYS_MODULE
environment:
- PUID=1000
- PGID=1000
// https://stackoverflow.com/a/993376
#include <iostream>
using namespace std;
class Algo {
public:
int a;
void f() {
a = 4;
int a = 5;