Skip to content

Instantly share code, notes, and snippets.

Christopher Snowhill kode54

Block or report user

Report or block kode54

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@kode54
kode54 / foospec.txt
Last active Jul 22, 2019
fooSPEC 2013 vs Ryzen 7 2700
View foospec.txt
System:
CPU: AMD Ryzen 7 2700 Eight-Core Processor, features: MMX SSE SSE2 SSE3 SSE4.1 SSE4.2
App: foobar2000 v1.4.6
Settings:
High priority: yes
Buffer entire file into memory: yes
Warm-up: yes
Passes: 5
Threads: 16
Postprocessing: none
@kode54
kode54 / PKGBUILD
Created May 8, 2019
Update AUR opencl-amd to version 19.10.785425
View PKGBUILD
# Maintainer: grmat <grmat@sub.red>
pkgname=opencl-amd
pkgdesc="OpenCL userspace driver as provided in the amdgpu-pro driver stack. This package is intended to work along with the free amdgpu stack."
pkgver='19.10.785425'
pkgrel=1
arch=('x86_64')
url='http://www.amd.com'
license=('custom:AMD')
makedepends=('wget')
@kode54
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]
do_gettimeofday(&b->buffer.timestamp);
^~~~~~~~~~~~~~~
@kode54
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": "https://registry.npmjs.org/@f/zip-obj/-/zip-obj-1.1.1.tgz",
"integrity": "sha1-7739PokNsq2dY8dy0WImZf4GV0M="
@kode54
kode54 / chris.asc
Created Jan 1, 2019
GPG Public Key
View chris.asc
-----BEGIN PGP PUBLIC KEY BLOCK-----
mQINBFbo3LoBEAC2a8oMreaV7Wdtvlml4/u8+4VDmLuvy980PcXMgsu8YMrDwA+t
dKj6rPfgklNkOcv8QhqEGGzZcBD7/xdlaWq/F/WDfePGU3m5e/WLcqap/rPJ3Q0h
zbSQOK4ecA2n4D28R3gC+jABDK5WkGmCI09oqXWKNRHlDmgKPRu3PtgVJgTp++UO
jRWS+OgSOuDMUOHW0dYSDUkLIJptdsKMCeLF5+JcMc5YzIJ4mhAJdugn4Dh6Irtc
ew1C5GuGFjn3zFiXptBdSu73QXq2QAEqZeZsn9FtArE4Do9mOYZ2pHRqqDvyvNXD
d7bansgw2zzXJU00LM+N7JhDoagGu5zQLVXYaaxwbcSLF6HxYVtY9dAPAT72ZZIr
0e+GlGtzuniJ3a7u2TA+/q8fSMAziNQLqLXb80WGIb16yrOpkLV/cXZn9e6vS7M9
pEroQzoqOTKWdliWWjBiLf9Q1phakm5lu9pgWu7f2KNUCmXG8E7P84gtRiU/Ru7d
@kode54
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">
<fontconfig>
<match target="pattern">
<edit name="family" mode="prepend_first">
<string>Icons</string>
</edit>
</match>
<match target="pattern">
@kode54
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
kode54 / Benchmark_gpu.log
Created Nov 3, 2018
Will it run Crysis? Yes, it will.
View Benchmark_gpu.log
System stats:
https://gist.github.com/kode54/3ff952f39b407d6f806a6779838f5335#file-system_stats_rx480-txt
1920x1080 - High settings
Proton 3.16-3 Beta
DX9 (WineD3D)
==============================================================
@kode54
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.
STARTSSH=
SSHAGENT=/usr/bin/ssh-agent
SSHAGENTARGS=
if has_option use-ssh-agent; then
if [ -x "$SSHAGENT" ]; then
@kode54
kode54 / system_stats_gtx960.txt
Last active Apr 4, 2019
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
You can’t perform that action at this time.