Skip to content

Instantly share code, notes, and snippets.

View robinlandstrom's full-sized avatar

Robin Landström robinlandstrom

View GitHub Profile

Keybase proof

I hereby claim:

  • I am robinlandstrom on github.
  • I am robinlandstrom (https://keybase.io/robinlandstrom) on keybase.
  • I have a public key ASAL1pQVmAobb3kgD4a4cF4gH4Jtw_1xYVDEA5pkSb3AmQo

To claim this, I am signing this object:

@robinlandstrom
robinlandstrom / new-wireguard-peer.sh
Last active November 29, 2024 10:01
Script to automatically add configration for a new peer to a wireguard server. It will then print a QR code to the console that can be used to add the config to the Android or OS X wireguard client.
#!/bin/bash
# MIT License
#
# Copyright (c) 2024 Robin Landström
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
# in the Software without restriction, including without limitation the rights
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell