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
#!/usr/bin/env python3
import argparse
import collections
import PyPDF2
def main():
argp = argparse.ArgumentParser(description="Merge PDF presentation slide overlay foo")
@lukas2511
lukas2511 / pixelstrom.py
Created October 7, 2018 16:35
play any videos (even livestreams!) on the weird service-point led matrix display in cccb
import struct
import bz2
import numpy as np
from PIL import Image
import socket
import time
import sys
import tqdm
import os
import glob
#!/usr/bin/env python3
import scapy.all
import sys
last_sync = 0
m = 9999
M = 0
length = 272
@lukas2511
lukas2511 / PKGBUILD
Created February 21, 2019 00:13
decklink pkgbuild
# Maintainers: Perry Hung <[email protected]> Florent Thiery <[email protected]>
pkgname=decklink
pkgver=10.11.4
pkgrel=1
pkgdesc="Drivers for Blackmagic Design DeckLink, Intensity or Multibridge video editing cards"
arch=('i686' 'x86_64')
url="https://www.blackmagicdesign.com/support/family/capture-and-playback"
license=('custom')
makedepends=('curl')
depends=('linux-headers' 'libxml2' 'libpng12' 'glu' 'qt4')
@lukas2511
lukas2511 / gstdecklink.patch
Created February 22, 2019 02:03
gst decklink 10bit-rgb
@lukas2511
lukas2511 / sun7i-a20-olinuxino-lime.dts
Created March 2, 2019 19:22
dts with uart2 enabled
/dts-v1/;
/ {
#address-cells = < 0x01 >;
#size-cells = < 0x01 >;
interrupt-parent = < 0x01 >;
model = "Olimex A20-OLinuXino-LIME";
compatible = "olimex,a20-olinuxino-lime\0allwinner,sun7i-a20";
chosen {
@lukas2511
lukas2511 / Tiny gcc compiled binary experiment
Last active March 20, 2019 20:32
Tiny gcc compiled binary experiment
We couldn’t find that file to show.
@lukas2511
lukas2511 / meraki-init.sh
Last active December 31, 2024 13:38
Meraki MS220-8P config without cloud bullshit
#!/bin/sh
# This script configures a meraki ms220-8p switch completely from scratch
# See https://leo.leung.xyz/wiki/Meraki_MS220-8P for rooting instructions
# You can keep config and config.local completely empty, but i'd recommend to add a configuration
# which isolates all ports from each other.
# Without that you might have switching loops on bootup (unlikely since STP keeps longer to initialize
# than it takes this script to take over, but it just feels cleaner).