Skip to content

Instantly share code, notes, and snippets.

View oclaussen's full-sized avatar

Ole Claussen oclaussen

View GitHub Profile
@oclaussen
oclaussen / achievements.svg
Last active July 5, 2025 00:33
Metrics Renders
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
{
"$schema": "https://raw.githubusercontent.com/jsonresume/resume-schema/v1.0.0/schema.json",
"basics": {
"email": "ole.claussen@wabenet.com",
"image": "https://resume.wabenet.com/photos/profile_enfore.png",
"label": "DevSecOps IT SysAdmin CI/CD Cloud Platform Network Engineer Wizard",
"location": {
"city": "Hamburg",
"country": "Germany",
"countryCode": "DE"
@oclaussen
oclaussen / terraria-console-to-pc.go
Created June 14, 2024 14:42
A quick and hacky go script to migrate a Terraria World or Player file from console to pc format
package main
import (
"bytes"
"compress/zlib"
"encoding/binary"
"fmt"
"io"
"os"
)
@oclaussen
oclaussen / ansible-role.sh
Created June 30, 2017 12:41
Bash function to run Ansible roles directly
ansible-role() {
PLAYFILE=$(mktemp -p $(pwd))
HOSTFILE=$(mktemp -p $(pwd))
trap "/bin/rm $PLAYFILE $HOSTFILE" EXIT
echo "[{hosts: all, roles: [$1]}]" > "$PLAYFILE"; shift
echo "$1" > "$HOSTFILE"; shift
ANSIBLE_RETRY_FILES_ENABLED=False ansible-playbook -i "$HOSTFILE" "$@" "$PLAYFILE"
}