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
# Kierans Generic Makefile | |
# www.kieranbingham.co.uk | |
# Default to build with multiple instances for speed | |
MAKEFLAGS =+ -j | |
# Beware, This will create this application | |
# binary based on the current directory name. | |
TARGET := $(shell basename `pwd`) |
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 | |
set -e | |
#set -x | |
CONFIGFS="/sys/kernel/config" | |
GADGET="$CONFIGFS/usb_gadget" | |
VID="0x0525" | |
PID="0xa4a2" | |
SERIAL="0123456789" |
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
FROM debian:bullseye | |
ENV DEBIAN_FRONTEND noninteractive | |
ENV LANG='C.UTF-8' LC_ALL='C.UTF-8' | |
# Support multiarch builds to perform cross compilation | |
# https://wiki.debian.org/Multiarch/HOWTO | |
RUN dpkg --add-architecture arm64 | |
# Expected system requirements |
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/bash | |
# dmesg-diff | |
# Kieran Bingham 2016 | |
# Public Domain | |
# | |
# Strip out Linux Kernel timestamps when performing a diff on two dmesg files | |
# | |
# Initial version as proof-of-concept, but already useful. | |
# This could be extended to parse extra flags for diff for example |
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/awk -f | |
function initialiseControls(ids, keys, controls) | |
{ | |
split(ids, keys) | |
for (i in keys) { | |
controls[keys[i]] = "--------" | |
# Track the maximum key length | |
len = length(keys[i]) |
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
From 3507214a30a9b615faf7d0998defdde69864f386 Mon Sep 17 00:00:00 2001 | |
From: Kieran Bingham <kieran.bingham@ideasonboard.com> | |
Date: Sun, 30 Oct 2022 22:12:38 +0000 | |
Subject: [PATCH] gstreamer: provider: Support builds with | |
GST_DISABLE_GST_DEBUG | |
MIME-Version: 1.0 | |
Content-Type: text/plain; charset=UTF-8 | |
Content-Transfer-Encoding: 8bit | |
When the host system packages gstreamer with GST_DISABLE_GST_DEBUG defined, the |
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/bash | |
# SPDX-License-Identifier: GPL-2.0-or-later | |
# Support debugging libcamera commands and applications. | |
# We default to enabling the most debug | |
# (that's why we're being used right) | |
FILTER="*" | |
LEVEL="0" |
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/awk -f | |
function initialiseControls(ids, keys, controls) | |
{ | |
split(ids, keys) | |
for (i in keys) controls[keys[i]] = "--------" | |
} | |
BEGIN { | |
print "Processing " ARGV[1] |
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
for m in /sys/bus/media/devices/media*; | |
do | |
mn=`basename $m` | |
model=`cat $m/model` | |
echo $mn: $model | |
done | sort -V; |
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
[bindings] | |
G = call hooks.getmail(ui) |
NewerOlder