Skip to content

Instantly share code, notes, and snippets.

View dbeecham's full-sized avatar

Daniel Beecham dbeecham

View GitHub Profile

Keybase proof

I hereby claim:

  • I am dbeecham on github.
  • I am dbeecham (https://keybase.io/dbeecham) on keybase.
  • I have a public key ASAJwP2zXAApy2pMDu0WYPsJo9F7bezH3mcRInxjpfTQjgo

To claim this, I am signing this object:

@dbeecham
dbeecham / gist:c721beb712a66cc912c06a8bca514ef2
Created January 6, 2020 09:31
strace -e trace=file pgcli (pgcli version 2.2.0)
execve("/nix/store/gj1a2x73rf4b0zw6y92barym9pfhvx7s-pgcli-2.2.0/bin/pgcli", ["pgcli"], 0x7ffdc5a2b770 /* 80 vars */) = 0
access("/etc/ld-nix.so.preload", R_OK) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/nix/store/xhpwab5kavygbr1fswawmdyqvmn3wa4i-glibc-2.27/lib/tls/haswell/x86_64/libdl.so.2", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat("/nix/store/xhpwab5kavygbr1fswawmdyqvmn3wa4i-glibc-2.27/lib/tls/haswell/x86_64", 0x7fff85282150) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/nix/store/xhpwab5kavygbr1fswawmdyqvmn3wa4i-glibc-2.27/lib/tls/haswell/libdl.so.2", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat("/nix/store/xhpwab5kavygbr1fswawmdyqvmn3wa4i-glibc-2.27/lib/tls/haswell", 0x7fff85282150) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/nix/store/xhpwab5kavygbr1fswawmdyqvmn3wa4i-glibc-2.27/lib/tls/x86_64/libdl.so.2", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat("/nix/store/xhpwab5kavygbr1fswawmdyqvmn3wa4i-glib
#!/usr/bin/env sh
if test ! -d ./overlay; then
read -p "No overlay found here. Want to create one? (y/N)" yn
case $yn in
[Yy]* ) install -d overlay/upperdir && install -d overlay/workdir && install -d overlay/mnt; break;;
* ) exit;;
esac
fi
MAKE x86_64-pc-linux-gnu : 0 * Makefile
make[1]: Entering directory '/home/dbe/src/libffi/x86_64-pc-linux-gnu'
cd .. && /bin/bash /home/dbe/src/libffi/missing automake-1.15 --foreign Makefile
CDPATH="${ZSH_VERSION+.}:" && cd .. && /bin/bash /home/dbe/src/libffi/missing autoconf
/bin/bash ./config.status --recheck
running CONFIG_SHELL=/bin/bash /bin/bash .././configure --srcdir=.. --enable-builddir=x86_64-pc-linux-gnu --no-create --no-recursion
checking build system type... x86_64-pc-linux-gnu
checking host system type... x86_64-pc-linux-gnu
checking target system type... x86_64-pc-linux-gnu
checking for gsed... sed
these derivations will be built:
/nix/store/lw3kysifzr7iwirazw2kxpri1j27qpbl-poppler-0.14.1.drv
building path(s) ‘/nix/store/18nczr7yl1hixjr9pvjm1gnqxkg6vbi7-poppler-0.14.1’
setupCompilerEnvironmentPhase
Build with /nix/store/wk6qjiz9h7jgnmsn4859v8ckw3x47vg3-ghc-8.0.1.
unpacking sources
unpacking source archive /nix/store/xw2ygj0rllp2rvd310n9wx6h1bmfxakb-poppler-0.14.1.tar.gz
source root is poppler-0.14.1
setting SOURCE_DATE_EPOCH to timestamp 1469365891 of file poppler-0.14.1/template-hsc-gtk2hs.h
patching sources
commit 585119ed454efe10632740256b7b375a1920cd57
Author: Daniel Beecham <[email protected]>
Date: Sat Aug 20 18:21:18 2016 +0200
Implement method chaining
diff --git a/src/context.c b/src/context.c
index 984cdfc..f87665a 100644
--- a/src/context.c
+++ b/src/context.c
@dbeecham
dbeecham / gist:25a0cde5ac26cac00d2dd0aab9103364
Created July 7, 2016 12:36
Analysis of a failed attack (Overwatch: Temple of Anubis)
Our team: Zarya (me), Pharah, Mercy, Tracer, Genji, Roadhog.
* Tracer goes dark and rushes point.
* Genji follows with the same intent.
* Roadhog follows Tracer and Genji.
* Mercy follows Roadhog.
* Enemy Zarya enters dark and targets our Mercy.
* Unbeknownst to me, neither Genji nor Tracer has any clue of this and has no intention of helping in this fight,
and in fact, Tracer is already at on the point.
* I ignore Mercy and Roadhog, instead opting to help Tracer on point. She dies despite my shield. Luckily, both Roadhog and Mercy survive.
Faulting application name: RadeonSettings.exe, version: 10.1.1.1633, time stamp: 0x5769b3f2
Faulting module name: atidxx64.dll, version: 8.17.10.671, time stamp: 0x5769aeec
Exception code: 0xc0000005
Fault offset: 0x000000000057de0f
Faulting process id: 0x1b34
Faulting application start time: 0x01d1d516cb626d6d
Faulting application path: C:\Program Files\AMD\CNext\CNext\RadeonSettings.exe
Faulting module path: C:\WINDOWS\SYSTEM32\atidxx64.dll
Report Id: dd5f58bf-5c28-488a-a992-1c1101f65d86
Faulting package full name:
------------------
System Information
------------------
Time of this report: 6/30/2016, 17:34:03
Machine name: DESKTOP-F7IG2TC
Machine Id: {0794F267-3079-4ADF-A8E2-26B51FCA4DED}
Operating System: Windows 10 Pro Insider Preview 64-bit (10.0, Build 14376) (14376.rs1_release.160624-1700)
Language: Swedish (Regional Setting: Swedish)
System Manufacturer: ASUS
System Model: All Series
Version=1
EventType=LiveKernelEvent
EventTime=131120960893514844
ReportType=4
Consent=1
UploadTime=131120960894756752
ReportIdentifier=f4402f8e-41c4-11e6-9c9f-001a7dda7107
NsAppName=LiveKernelEvent
AppSessionGuid=00000000-0000-0000-0000-000000000000
BootId=4294967295