Skip to content

Instantly share code, notes, and snippets.

View alexpovel's full-sized avatar
👋

Alex Povel alexpovel

👋
View GitHub Profile
@qdm12
qdm12 / README.md
Last active July 3, 2024 06:23
Wireguard and iptables restrictions for multiple users

Wireguard and iptables restrictions for multiple users

If you don't know what Wireguard is, well, you should. It's fast, easy to setup and highly configurable. We will configure Wireguard for multiple users with various restrictions using iptables.

Assumptions

This should fit most setups (not mine though 😉)

@mohanpedala
mohanpedala / bash_strict_mode.md
Last active July 2, 2024 22:49
set -e, -u, -o, -x pipefail explanation
@Vestride
Vestride / encoding-video.md
Last active June 5, 2024 14:38
Encoding video for the web

Encoding Video

Installing

Install FFmpeg with homebrew. You'll need to install it with a couple flags for webm and the AAC audio codec.

brew install ffmpeg --with-libvpx --with-libvorbis --with-fdk-aac --with-opus