Skip to content

Instantly share code, notes, and snippets.

@etiennetremel
etiennetremel / README.md
Last active October 26, 2025 14:09
Simple Wireguard setup as VPN server and multiple clients

Simple WireGuard configuration

1 server, 2 clients

Getting started

Install Wireguard on all machines.

Generate all keys

@dbalatero
dbalatero / practice
Last active February 16, 2025 17:00
Records how long you practice something (guitar, language, etc) each day, and displays it.
#!/usr/bin/env ruby
class Practice
def initialize
@data = {}
try_to_load_data
end
def record_today(minutes)
@data[key_for(Time.now)] = minutes