Skip to content

Instantly share code, notes, and snippets.

Christopher Snowhill kode54

View GitHub Profile
kode54 / make.log
Created Mar 6, 2019
DKMS make.log for v4l2loopback-0.12.0.r9.gf998233 for kernel 5.0.0-arch1-1-ARCH (x86_64)
View make.log
DKMS make.log for v4l2loopback-0.12.0.r9.gf998233 for kernel 5.0.0-arch1-1-ARCH (x86_64)
Tue Mar 5 23:45:23 PST 2019
Building v4l2-loopback driver...
make -C /usr/lib/modules/5.0.0-arch1-1-ARCH/build M=/var/lib/dkms/v4l2loopback/0.12.0.r9.gf998233/build modules
make[1]: Entering directory '/usr/lib/modules/5.0.0-arch1-1-ARCH/build'
CC [M] /var/lib/dkms/v4l2loopback/0.12.0.r9.gf998233/build/v4l2loopback.o
/var/lib/dkms/v4l2loopback/0.12.0.r9.gf998233/build/v4l2loopback.c: In function ‘vidioc_qbuf’:
/var/lib/dkms/v4l2loopback/0.12.0.r9.gf998233/build/v4l2loopback.c:1509:4: error: implicit declaration of function ‘do_gettimeofday’; did you mean ‘do_settimeofday64’? [-Werror=implicit-function-declaration]
kode54 / package-lock.json
Created Jan 14, 2019
Slightly updated package lock json file for the Scuttlebutt client, Patchwork, v3.11.4.
View package-lock.json
"name": "ssb-patchwork",
"version": "3.11.4",
"lockfileVersion": 1,
"requires": true,
"dependencies": {
"@f/zip-obj": {
"version": "1.1.1",
"resolved": "",
"integrity": "sha1-7739PokNsq2dY8dy0WImZf4GV0M="
kode54 / chris.asc
Created Jan 1, 2019
GPG Public Key
View chris.asc
kode54 / local.conf
Created Dec 19, 2018
My current Arch font settings, fixing color emoji and setting a different monospace font
View local.conf
<?xml version="1.0"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<match target="pattern">
<edit name="family" mode="prepend_first">
<match target="pattern">
kode54 / simplexml_helper.php
Created Dec 12, 2018
SimpleXML helper for PHP, converts XML object notation to more easily handled array notation.
View simplexml_helper.php
function xmlObjToArr($obj) {
$namespace = $obj->getDocNamespaces(true);
$namespace[NULL] = NULL;
$children = array();
$attributes = array();
$name = strtolower((string)$obj->getName());
$text = trim((string)$obj);
if( strlen($text) <= 0 ) {
kode54 / Benchmark_gpu.log
Created Nov 3, 2018
Will it run Crysis? Yes, it will.
View Benchmark_gpu.log
System stats:
1920x1080 - High settings
Proton 3.16-3 Beta
DX9 (WineD3D)
kode54 / 90x11-common-ssh_agent
Created Aug 29, 2018
Updated the ssh_agent Xsession script in use by Ubuntu, to support restarting the agent when the environment variables still exist, but the daemon has already been stopped.
View 90x11-common-ssh_agent
# $Id: 90x11-common_ssh-agent 305 2018-08-29 00:27:50Z kode54 $
# This file is sourced by Xsession(5), not executed.
if has_option use-ssh-agent; then
if [ -x "$SSHAGENT" ]; then
kode54 / system_stats_gtx960.txt
Last active Dec 24, 2018
Linux system stats from Steam
View system_stats_gtx960.txt
Computer Information:
Manufacturer: Unknown
Model: Unknown
Form Factor: Desktop
No Touch Input Detected
Processor Information:
CPU Vendor: GenuineIntel
CPU Brand: Intel(R) Core(TM) i7-3770 CPU @ 3.40GHz
CPU Family: 0x6
kode54 / gsf2rom.c
Created Sep 4, 2017
GSF to GBA ROM converter, requires my libpsflib.
View gsf2rom.c
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <psflib/psflib.h>
void * source_fopen(const char * path)
return fopen(path, "rb");
kode54 / pez.cocoa.m.patch
Created Jun 18, 2017
Patch against libpez Cocoa implementation for HiDPI support
View pez.cocoa.m.patch
--- pez.cocoa.m 2010-05-15 14:54:51.000000000 -0700
+++ pez.cocoa.m 2017-06-17 20:58:12.000000000 -0700
@@ -53,6 +53,8 @@
[fmt release];
+ [self setWantsBestResolutionOpenGLSurface:YES];
m_frameRect = frame;
m_previousTime = mach_absolute_time();
You can’t perform that action at this time.