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 / config.log
Created Jul 25, 2019
ffmpeg-windows-build-helpers win32 freetype build error
View config.log
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.
It was created by FreeType configure 2.8, which was
generated by GNU Autoconf 2.69. Invocation command line was
$ ./configure --host=i686-w64-mingw32 --prefix=/home/chris/Source/Repos/ffmpeg-windows-build-helpers/sandbox/cross_compilers/mingw-w64-i686/i686-w64-mingw32 --disable-shared --enable-static --with-bzip2 --without-harfbuzz
## --------- ##
## Platform. ##
@kode54
kode54 / ffmpeg-vgmstream.patch
Created Jul 25, 2019
ffmpeg-windows-build-helpers altered script for vgmstream
View ffmpeg-vgmstream.patch
diff --git a/cross_compile_ffmpeg.sh b/cross_compile_ffmpeg.sh
index 1109aa3..cddac5a 100755
--- a/cross_compile_ffmpeg.sh
+++ b/cross_compile_ffmpeg.sh
@@ -1934,38 +1934,13 @@ build_ffmpeg() {
init_options+=" --disable-schannel"
# Fix WinXP incompatibility by disabling Microsoft's Secure Channel, because Windows XP doesn't support TLS 1.1 and 1.2, but with GnuTLS or OpenSSL it does. XP compat!
fi
- config_options="$init_options --enable-libcaca --enable-gray --enable-libtesseract --enable-fontconfig --enable-gmp --enable-gnutls --enable-libass --enable-libbluray --enable-libbs2b --enable-libflite --enable-libfreetype --enable-libfribidi --enable-libgme --enable-libgsm --enable-libilbc --enable-libmodplug --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopus --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libtheora --enable-libtwolame --enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx --enable-libwebp --enable-libzimg --enable-
@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)
==============================================================
You can’t perform that action at this time.