Skip to content

Instantly share code, notes, and snippets.

View ggreer's full-sized avatar

Geoff Greer ggreer

View GitHub Profile
Core was generated by `sway'.
Program terminated with signal SIGSEGV, Segmentation fault.
#0 0x00007faea88865d0 in drm_connector_cleanup (conn=0x55c17fda6960) at ../backend/drm/drm.c:1158
1158 if (!crtc->planes[i]) {
(gdb) bt
#0 0x00007faea88865d0 in drm_connector_cleanup (conn=0x55c17fda6960) at ../backend/drm/drm.c:1158
#1 0x00007faea8885d22 in scan_drm_connectors (drm=0x55c17f710ef0) at ../backend/drm/drm.c:1013
#2 0x00007faea8881c10 in drm_invalidated (listener=0x55c17f710fd0, data=0x55c17f707430) at ../backend/drm/backend.c:112
#3 0x00007faea88c8605 in wlr_signal_emit_safe (signal=0x55c17f721c20, data=0x55c17f707430) at ../util/signal.c:29
#4 0x00007faea888e2d5 in udev_event (fd=6, mask=1, data=0x55c17f707430) at ../backend/session/session.c:51
Thread 9 "mpv/vo" received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7fffe5473700 (LWP 11612)]
0x00007ffff598b0a4 in wl_proxy_marshal (proxy=proxy@entry=0x7fffd421df10, opcode=opcode@entry=0) at src/wayland-client.c:787
787 wl_argument_from_va_list(proxy->object.interface->methods[opcode].signature,
(gdb) bt
#0 0x00007ffff598b0a4 in wl_proxy_marshal (proxy=proxy@entry=0x7fffd421df10, opcode=opcode@entry=0) at src/wayland-client.c:787
#1 0x00005555557b560a in zwp_idle_inhibitor_v1_destroy (zwp_idle_inhibitor_v1=0x7fffd421df10) at ./video/out/wayland/idle-inhibit-v1.h:220
#2 set_screensaver_inhibitor (state=0, wl=<optimized out>) at ../video/out/wayland_common.c:1200
#3 vo_wayland_control (vo=0x55555746c810, events=events@entry=0x7fffe5472c40, request=<optimized out>, arg=0x0) at ../video/out/wayland_common.c:1347
#4 0x00005555557a2010 in wayland_egl_control (ctx=0x7fffd4203790, events=0x7fffe5472c40, request=<optimized out>, data=<optimized out>) at ../video/out/opengl/context_wayland.c:
#!/bin/bash
function benchmark_rev() {
REV=$1
git clean -f &> /dev/null
git checkout $REV &> /dev/null
git clean -f &> /dev/null
if [ $? -ne 0 ]; then
echo "Checkout of $REV failed!"
exit 1
#!/usr/bin/env bash
# handle being called from systemd service
if [ -z "$XDG_RUNTIME_DIR" ] && [ -z "$SWAYSOCK" ]
then
uid=$(id -u "$USER")
export XDG_RUNTIME_DIR="/run/user/$uid/"
SWAYSOCK=$(find "$XDG_RUNTIME_DIR" -iname "sway*sock")
export SWAYSOCK
fi
@ggreer
ggreer / fonts.conf
Created June 11, 2017 05:29
How to disable anti-aliasing & subpixel hinting for a specific font.
<?xml version='1.0'?>
<!DOCTYPE fontconfig SYSTEM 'fonts.dtd'>
<fontconfig>
<match target="font">
<test name="family" qual="any" compare="eq">
<string>ProggyTinyTTSZ</string>
</test>
<edit mode="assign" name="antialias">
<bool>false</bool>
</edit>
ggreer@carbon:~/coreos/tectonic-installer/installer/bin/darwin/clusters/ggreer_2017-05-25_18-41-25% kubectl --kubeconfig=generated/auth/kubeconfig get pods --all-namespaces *[master]
NAMESPACE NAME READY STATUS RESTARTS AGE
kube-system etcd-operator-4083686351-lh5sf 1/1 Running 1 4m
kube-system heapster-1767220581-f5nvb 2/2 Running 0 1m
kube-system kube-apiserver-qj7fl 1/1 Running 0 3m
kube-system kube-apiserver-xmqwb 1/1 Running 4 4m
kube-system kube-apiserver-z3n0p 1/1 Running 0 3m
kube-system kube-controller-manager-472801289-41bxr 1/1 Ru
ggreer@carbon:~/coreos/tectonic-installer/installer/bin/darwin/clusters/ggreer_2017-05-25_18-41-25% kubectl --kubeconfig=generated/auth/kubeconfig logs kube-apiserver-xmqwb --namespace=kube-system -f *[master]
I0526 01:52:05.034788 5 aws.go:762] Building AWS cloudprovider
I0526 01:52:05.036080 5 aws.go:725] Zone not specified in configuration file; querying AWS metadata service
I0526 01:52:05.254635 5 tags.go:76] AWS cloud filtering on ClusterID: ggreer
E0526 01:52:05.674993 5 oidc.go:178] oidc authenticator: failed to fetch provider discovery data: Get https://ggreer.tectonic.dev.coreos.systems/identity/.well-known/openid-configuration: EOF
E0526 01:52:05.755414 5 reflector.go:201] k8s.io/kubernetes/pkg/client/informers/informers_generated/internalversion/factory.go:70: Failed to list *storage.StorageClass: Get https://localhost:443/apis/storage.k8s.io/v1beta1/storageclasses?resourceVersion=0: dial tcp [::1]:443: getsockopt: connection refused
E0526 01:52:05.755528 5 ref
2017-02-05 01:14:30,157 [DEBUG @ msgpack_stream.py:_on_data:54] 15481 - waiting for message...
2017-02-05 01:14:30,158 [DEBUG @ msgpack_stream.py:_on_data:56] 15481 - received message: [2, '/home/ggreer/floobits/neovim-plugin/rplugin/python/floobits:command:FlooOpenInBrowser', []]
2017-02-05 01:14:30,158 [DEBUG @ async_session.py:_on_notification:102] 15481 - received notification: /home/ggreer/floobits/neovim-plugin/rplugin/python/floobits:command:FlooOpenInBrowser, []
2017-02-05 01:14:30,158 [DEBUG @ session.py:_on_notification:216] 15481 - received rpc notification, greenlet <greenlet.greenlet object at 0x7f23fa40deb0> will handle it
2017-02-05 01:14:30,158 [DEBUG @ host.py:_on_notification:107] 15481 - calling notification handler for "/home/ggreer/floobits/neovim-plugin/rplugin/python/floobits:command:FlooOpenInBrowser", args: "[]"
2017-02-05 01:14:30,165 [DEBUG @ session.py:handler:208] 15481 - greenlet <greenlet.greenlet object at 0x7f23fa40deb0> finished executing
2017-02-05 01:14:30,166 [DEBUG @ sess

Keybase proof

I hereby claim:

  • I am ggreer on github.
  • I am ggreer (https://keybase.io/ggreer) on keybase.
  • I have a public key whose fingerprint is D96E 31F0 40F9 1A0F 864D 3D71 556B BFF0 3F0A 04B6

To claim this, I am signing this object:

@ggreer
ggreer / gist:f4c7e5889907d9fd9756e76d47ac48c3
Last active September 27, 2016 08:54
Trump poetry. Taken verbatim from a transcript of the first presidential debate. Only newlines have been inserted. For the most up-to-date version, see http://geoff.greer.fm/trump_poetry/
I then spoke to Sean Hannity
which everyone refuses to call Sean Hannity.
I had numerous conversations with Sean Hannity
at Fox.
And Sean Hannity said,
and he called me the other day.
And I spoke to him about it.