Skip to content

Instantly share code, notes, and snippets.

View timjp87's full-sized avatar

Tim Jester-Pfadt timjp87

View GitHub Profile
@timjp87
timjp87 / ninja output
Created August 18, 2018 21:31
Wireshare ethereum-dissectors
[2049/2398] Building C object plugins/epan/ethereum/CMakeFiles/ethereum.dir/packet-ethereum-disc.c.o
FAILED: plugins/epan/ethereum/CMakeFiles/ethereum.dir/packet-ethereum-disc.c.o
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc -DG_DISABLE_DEPRECATED -DG_DISABLE_SINGLE_INCLUDES -DPLUGIN_VERSION=\"0.0.0\" -Dethereum_EXPORTS -I. -I/Users/x123456/misc/wireshark -I/Users/x123456/misc/wireshark/plugins/epan/ethereum -isystem /usr/local/opt/gettext/include -isystem /usr/local/include -isystem /usr/local/Cellar/glib/2.56.1/include/glib-2.0 -isystem /usr/local/Cellar/glib/2.56.1/lib/glib-2.0/include -isystem /usr/local/Cellar/pcre/8.42/include -isystem /usr/local/Cellar/gnutls/3.5.19/include -isystem /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/System/Library/Frameworks/Kerberos.framework/Headers -isystem /usr/local/include/lua-5.1 -isystem /usr/local/Cellar/lz4/1.8.2/include -isystem /Applications/Xcode.app/Contents/Deve
0x889bcd204434bcce804240b20fc9a9b5e5764ad8
@timjp87
timjp87 / parity.txt
Created May 27, 2016 13:11
stdout of parity
#986793 c655…d5f3 7 blk/s 18 tx/s 0 Mgas/s 10/12 peers #986809 0+ 16 Qed 20 MiB db 594 KiB chain 370 KiB queue 1 MiB sync
#986809 def5…4ef4 0 blk/s 2 tx/s 0 Mgas/s 12/15 peers #986809 0+ 0 Qed 20 MiB db 213 KiB chain 2 KiB queue 1 MiB sync
#986829 ce12…13f4 1 blk/s 8 tx/s 0 Mgas/s 8/11 peers #986915 0+ 0 Qed 20 MiB db 221 KiB chain 2 KiB queue 1 MiB sync
#987000 0eb7…09b3 23 blk/s 133 tx/s 3 Mgas/s 8/11 peers #987000 0+ 0 Qed 21 MiB db 126 KiB chain 2 KiB queue 1 MiB sync
#987000 0eb7…09b3 0 blk/s 0 tx/s 0 Mgas/s 4/ 7 peers #987000 0+ 0 Qed 21 MiB db 159 KiB chain 2 KiB queue 1 MiB sync
#987000 0eb7…09b3 0 blk/s 0 tx/s 0 Mgas/s 0/ 2 peers #987000 0+ 0 Qed 21 MiB db 164 KiB chain 2 KiB queue 1 MiB sync
#987000 0eb7…09b3 0 blk/s 0 tx/s 0 Mgas/s 5/ 9 peers #987000 0+ 0 Qed 21 MiB db 164
@timjp87
timjp87 / PKGBUILD
Created March 21, 2016 19:37
PKGBUILD for the newest driver
# $Id: PKGBUILD 261288 2016-03-10 16:07:30Z tpowa $
# Maintainer: Sven-Hendrik Haase <sh@lutzhaase.com>
# Maintainer: Felix Yan <felixonmars@archlinux.org>
# Contributor: Thomas Baechler <thomas@archlinux.org>
pkgbase=nvidia
pkgname=(nvidia nvidia-dkms)
pkgver=364.12
_extramodules=extramodules-4.4-ARCH
pkgrel=1
post_upgrade() {
echo "If you run into trouble with CUDA not being available, run nvidia-modprobe first."
}
post_install() {
getent group nvidia-persistenced &>/dev/null || groupadd -g 143 nvidia-persistenced
getent passwd nvidia-persistenced &>/dev/null || useradd -c 'NVIDIA Persistence Daemon' -u 143 -g nvidia-persistenced -d '/' -s /sbin/nologin nvidia-persistenced
post_upgrade
}
@timjp87
timjp87 / PKGBUILD
Last active February 16, 2016 21:28
nvidia-utils-355
# $Id$
# Maintainer: Sven-Hendrik Haase <sh@lutzhaase.com>
# Maintainer: Thomas Baechler <thomas@archlinux.org>
# Maintainer: Drew Walton <drewwalton19216801@gmail.com>
# Contributor: James Rayner <iphitus@gmail.com>
pkgbase=nvidia-utils-355
pkgname=('nvidia-utils-355' 'nvidia-libgl-355' 'opencl-nvidia-355')
pkgver=355.00.26
pkgrel=1
arch=('i686' 'x86_64')
@timjp87
timjp87 / PKGBUILD
Last active February 16, 2016 21:27
nvidia-355 PKGBUILD
# $Id$
# Maintainer: Sven-Hendrik Haase <sh@lutzhaase.com>
# Maintainer: Thomas Baechler <thomas@archlinux.org>
# Maintainer: Drew Walton <drewwalton19216801@gmail.com>
pkgname=nvidia-355
pkgver=355.00.26
pkgrel=1
pkgdesc="NVIDIA drivers for linux"
arch=('i686' 'x86_64')
post_install() {
EXTRAMODULES='extramodules-4.4-ARCH'
# Update module dependencies for all kernels
for _kernel in $(cat /usr/lib/modules/extramodules-*/version); do
depmod $_kernel
done
}
post_upgrade() {
post_install
@@ -360,7 +360,8 @@ nv_procfs_read_registry(
registry_keys = ((nvl != NULL) ?
nvl->registry_keys : nv_registry_keys);
- return seq_printf(s, "Binary: \"%s\"\n", registry_keys);
+ seq_printf(s, "Binary: \"%s\"\n", registry_keys);
+ return 0;
}
static ssize_t
==> Making package: nvidia-355 355.00.26-1 (Tue Feb 16 22:13:47 CET 2016)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
-> Found NVIDIA-Linux-x86_64-355.00.26.run
-> Found NVIDIA-Linux-x86_64-355.00.26.run
-> Found linux-4.4.patch
==> Validating source files with md5sums...
NVIDIA-Linux-x86_64-355.00.26.run ... Skipped
NVIDIA-Linux-x86_64-355.00.26.run ... Skipped