Skip to content

Instantly share code, notes, and snippets.

View lukas2511's full-sized avatar
🔓
Your connection to this site is not secured.

Lukas Schauer lukas2511

🔓
Your connection to this site is not secured.
View GitHub Profile
#!/bin/bash
pip install "$1" &
easy_install "$1" &
brew install "$1" &
npm install "$1" &
yum install "$1" & dnf install "$1" &
docker run "$1" &
pkg install "$1" &
apt-get install "$1" &
#!/bin/bash
set -e
INFILE="rc3-mcr-11512-eng-deu-CIA_vs_Wikileaks_hd.mp4"
OUTDIR="output/"
FRAMES=1000

Einleitung

Ich beschreibe hier kurz in eigenen Worten wieso bei dem Facebook-Ausfall am Abend des 04.10.2021 mehr betroffen war als nur die Facebook-eigenen Dienste. Ich arbeite nicht für Facebook, ich habe hier nur Informationen gesammelt und versuche diese in einfachen Worten weiterzugeben.

(Extrem)Kurzeinführung BGP

Im Internet gibt es Routen, diese geben an wie bestimmte Ziele erreicht werden können. Es gibt hierfür kein zentrales "Kartenmaterial", stattdessen sagt einfach nur jeder seinen Nachbarn,

@lukas2511
lukas2511 / convert.sh
Last active February 16, 2022 11:41
WorkAdventure video to map converter script thingie
#!/bin/bash
# don't set these too large, maps get huuuuuuge
WIDTH=-1
HEIGHT=72
DURATION=60
rm -rf frames
mkdir -p frames
@lukas2511
lukas2511 / change-boot-logo-on-thinkpad-x13.md
Last active May 8, 2025 20:51
change boot logo on thinkpad x13

Change boot logo on ThinkPad X13

I had problems changing the boot logo on my ThinkPad X13 the official way. Using the Windows updater it silently failed, always showing the original logo instead. Using the bootable ISO updater it just showed various error messages (that had 0 results on google, wtf).

After some playing around I found a reliable way.

Prepare boot logo

@lukas2511
lukas2511 / onc-to-nm.py
Created May 3, 2024 17:14
Convert easyroam Open Network Config to NetworkManager connection profile
#!/usr/bin/env python3
# Usage:
# - go to easyroam.de
# - select manual options -> Open Network Config (ChromeOS)
# - run this script as root: sudo python3 path/to/onc-to-nm.py path/to/easyroam_[...].onc
# - connect to wifi (via gui or on console: nmcli conn up eduroam)
# - optionally: enable autoconnect (via gui or on console: nmcli conn modify eduroam connection.autoconnect on)
import json