Skip to content

Instantly share code, notes, and snippets.

@dbalatero
dbalatero / practice
Last active August 23, 2022 15:48
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
@etiennetremel
etiennetremel / README.md
Last active July 23, 2024 09:14
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