Skip to content

Instantly share code, notes, and snippets.

View ppettit's full-sized avatar

Paul Pettit ppettit

  • Manchester University
View GitHub Profile
@ppettit
ppettit / Containerfile
Created March 20, 2024 10:32
Build and modprobe magewell driver on Fedora (coreos)
# Builds a container that will build and modpobe
# the magewell driver. it can be run on each boot and does
# not need to remain running once the module is modprobed.
ARG BUILDER_VERSION="39"
FROM registry.fedoraproject.org/fedora:${BUILDER_VERSION} as builder
ARG BUILDER_VERSION="39"
ARG ECOCAPTURE_VERSION="1.4.227"
@ppettit
ppettit / client.py
Created January 9, 2019 14:08
quick and dirty rewrite of galicaster/opencast/client.py to use requests instead of pycurl
# -*- coding:utf-8 -*-
# Galicaster, Multistream Recorder and Player
#
# galicaster/opencast/client
#
# Copyright (c) 2016, Teltek Video Research <galicaster@teltek.es>
#
# This work is licensed under the Creative Commons Attribution-
# NonCommercial-ShareAlike 3.0 Unported License. To view a copy of
# this license, visit http://creativecommons.org/licenses/by-nc-sa/3.0/