This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python3 | |
import argparse | |
import collections | |
import PyPDF2 | |
def main(): | |
argp = argparse.ArgumentParser(description="Merge PDF presentation slide overlay foo") |

This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import struct | |
import bz2 | |
import numpy as np | |
from PIL import Image | |
import socket | |
import time | |
import sys | |
import tqdm | |
import os | |
import glob |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python3 | |
import scapy.all | |
import sys | |
last_sync = 0 | |
m = 9999 | |
M = 0 | |
length = 272 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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') |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/sys/decklink/gstdecklink.cpp b/sys/decklink/gstdecklink.cpp | |
index cbe2abcfb..16f710326 100644 | |
--- a/sys/decklink/gstdecklink.cpp | |
+++ b/sys/decklink/gstdecklink.cpp | |
@@ -121,8 +121,8 @@ gst_decklink_video_format_get_type (void) | |
{GST_DECKLINK_VIDEO_FORMAT_10BIT_YUV, "bmdFormat10BitYUV", "10bit-yuv"}, | |
{GST_DECKLINK_VIDEO_FORMAT_8BIT_ARGB, "bmdFormat8BitARGB", "8bit-argb"}, | |
{GST_DECKLINK_VIDEO_FORMAT_8BIT_BGRA, "bmdFormat8BitBGRA", "8bit-bgra"}, | |
+ {GST_DECKLINK_VIDEO_FORMAT_10BIT_RGB, "bmdFormat10BitRGB", "10bit-rgb"}, | |
/* Not yet supported: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/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 { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python3 | |
import gi | |
gi.require_version("Gtk", "3.0") | |
gi.require_version("Gst", "1.0") | |
from gi.repository import Gtk, Gst, GLib | |
import os, sys | |
import time |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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). |