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
@lukas2511
lukas2511 / gstdecklink.patch
Created February 22, 2019 02:03
gst decklink 10bit-rgb
@lukas2511
lukas2511 / PKGBUILD
Created February 21, 2019 00:13
decklink pkgbuild
# Maintainers: Perry Hung <perry@leaflabs.com> Florent Thiery <fthiery@gmail.com>
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')
#!/usr/bin/env python3
import scapy.all
import sys
last_sync = 0
m = 9999
M = 0
length = 272
@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 argparse
import collections
import PyPDF2
def main():
argp = argparse.ArgumentParser(description="Merge PDF presentation slide overlay foo")
@lukas2511
lukas2511 / Makefile
Created February 13, 2018 14:19
attiny13 toggle pin deepsleep foo
MCU=attiny13
MCUFREQ=-DF_CPU=1000000L
PROGTYPE=stk500v1
SOURCES=main.c
TARGET=main
.PHONY: build upload
build: $(TARGET).hex
@lukas2511
lukas2511 / Dockerfile
Last active January 15, 2018 15:32
docker container for casparcg testing
# run "xhost local:root" on host machine
FROM debian:latest
RUN apt-get update
RUN DEBIAN_FRONTEND=noninteractive apt install -y xorg v4l2ucp libgl1 libraw1394-11 libavc1394-0 libiec61883-0 libgtkextra-dev libnss3 libgconf2-4 vnc4server fluxbox libasound2 vlc
RUN apt -y purge libturbojpeg0
ADD http://de.archive.ubuntu.com/ubuntu/pool/main/libj/libjpeg-turbo/libjpeg-turbo8_1.3.0-0ubuntu2_amd64.deb /deb/libjpeg-turbo8.deb
ADD http://security.ubuntu.com/ubuntu/pool/main/libg/libgcrypt11/libgcrypt11_1.5.3-2ubuntu4.5_amd64.deb /deb/libgcrypt11.deb
RUN dpkg -i /deb/*.deb
server {
listen 443 ssl http2 proxy_protocol;
listen [::]:443 ssl http2 proxy_protocol;
ssl_certificate /etc/dehydrated/certs/search.kurz.pw/fullchain.pem;
ssl_certificate_key /etc/dehydrated/certs/search.kurz.pw/privkey.pem;
server_name search.kurz.pw;
access_log off;
error_log off;
#!/usr/bin/env python3
from scapy import all as scapy
#import subprocess
INTERFACE = "eth0"
SECRET = b"thecakeisalie"
def do_reply(incoming_pkt_ether):
# get request