Skip to content

Instantly share code, notes, and snippets.

View adriangoransson's full-sized avatar

Adrian Göransson adriangoransson

View GitHub Profile
@adriangoransson
adriangoransson / wpa_supplicant.conf
Last active February 25, 2021 17:07
eduroam (Lund university) wpa_supplicant
network={
identity="<USERNAME>@student.lu.se"
anonymous_identity="<USERNAME>@student.lu.se"
password="<PASSWORD>"
# grep 'Config.server' <cat-installer.py>
altsubject_match="DNS:radius.lu.se"
# Extract with `grep -A500 Config.CA <cat-installer.py>`
ca_cert="/etc/wpa_supplicant/eduroam.pem"
@adriangoransson
adriangoransson / config.yml
Last active October 10, 2017 20:29
Flexget configuration
# vim: set shiftwidth=2 softtabstop=2 expandtab:
variables: variables.yml
templates:
global:
headers:
User-Agent: "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.12; rv:57.0) Gecko/20100101 Firefox/57.0"
pathscrub: windows
# Thin out the list of possible entries
@adriangoransson
adriangoransson / getinstanceid
Last active June 8, 2016 12:04
aws getinstanceid
#!/bin/bash
set -euo pipefail
if [[ -z "$1" ]]; then
echo "Need something to search for!"
exit 1
fi
getdata() {
local name="$1"

Keybase proof

I hereby claim:

  • I am adriangoransson on github.
  • I am adriangoransson (https://keybase.io/adriangoransson) on keybase.
  • I have a public key whose fingerprint is 0093 F01C 579F 4C8D 3609 741F 76A7 7389 7E79 69B5

To claim this, I am signing this object: