Skip to content

Instantly share code, notes, and snippets.

000:<: am lsb-first want 11:0 authorising with 'MIT-MAGIC-COOKIE-1' of length 16
000:>: Success, version is 11:0 vendor='The X.Org Foundation' release=12008000 resource-id=0x00e00000 resource-mask=0x001fffff motion-buffer-size=256 max-request-len=65535 image-byte-order=LSBFirst(0x00) bitmap-bit-order=LeastSignificant(0x00) scanline-unit=32 scanline-pad=32 min-keycode=0x08 max-keycode=0x00 pixmap-formats={depth=1 bits/pixel=1 scanline-pad=32},{depth=4 bits/pixel=8 scanline-pad=32},{depth=8 bits/pixel=8 scanline-pad=32},{depth=15 bits/pixel=16 scanline-pad=32},{depth=16 bits/pixel=16 scanline-pad=32},{depth=24 bits/pixel=32 scanline-pad=32},{depth=32 bits/pixel=32 scanline-pad=32}; roots={root=0x000001c9 default-colormap=0x00000020 white-pixel=0x00ffffff black-pixel=0x00000000 input-mask=EnterWindow,LeaveWindow,StructureNotify,SubstructureNotify,SubstructureRedirect,PropertyChange width[pixel]=2560 height[pixel]=1440 width[mm]=677 height[mm]=381 min-installed-maps=1 max-installed-maps=1 root=0x00000021 backing-
@flacjacket
flacjacket / output.log
Created February 26, 2017 03:42
Output from 'clang -v -fuse-ld=lld -target arm-none-eabi main.c -o main'
clang version 4.0.0 (tags/RELEASE_400/rc2)
Target: arm-none--eabi
Thread model: posix
InstalledDir: /usr/lib/llvm/4/bin
"/usr/lib64/llvm/4/bin/clang-4.0" -cc1 -triple armv4t-none--eabi -emit-obj -mrelax-all -disable-free -main-file-name main.c -mrelocation-model static -mthread-model posix -mdisable-fp-elim -fmath-errno -masm-verbose -mconstructor-aliases -target-cpu arm7tdmi -target-feature +soft-float-abi -target-feature +strict-align -target-abi aapcs -mfloat-abi soft -v -dwarf-column-info -debugger-tuning=gdb -resource-dir /usr/lib64/llvm/4/bin/../../../../lib/clang/4.0.0 -fdebug-compilation-dir /home/sean/test -ferror-limit 19 -fmessage-length 0 -fallow-half-arguments-and-returns -fno-signed-char -fobjc-runtime=gcc -fdiagnostics-show-option -o /tmp/main-fcb4b1.o -x c main.c
clang -cc1 version 4.0.0 based upon LLVM 4.0.0 default target x86_64-pc-linux-gnu
ignoring nonexistent directory "/usr/local/include"
#include "..." search starts here:
#include <...> search starts here:
/usr/lib64/llvm/4/bin/../../
000:<: am lsb-first want 11:0 authorising with 'MIT-MAGIC-COOKIE-1' of length 16
000:>: Success, version is 11:0 vendor='The X.Org Foundation' release=11601000 resource-id=0x00200000 resource-mask=0x001fffff motion-buffer-size=256 max-request-len=65535 image-byte-order=LSBFirst(0x00) bitmap-bit-order=LeastSignificant(0x00) scanline-unit=32 scanline-pad=32 min-keycode=0x08 max-keycode=0x00 pixmap-formats={depth=1 bits/pixel=1 scanline-pad=32},{depth=4 bits/pixel=4 scanline-pad=32},{depth=8 bits/pixel=8 scanline-pad=32},{depth=15 bits/pixel=16 scanline-pad=32},{depth=16 bits/pixel=16 scanline-pad=32},{depth=24 bits/pixel=32 scanline-pad=32},{depth=32 bits/pixel=32 scanline-pad=32}; roots={root=0x0000017e default-colormap=0x00000020 white-pixel=0x00ffffff black-pixel=0x00000000 input-mask=0 width[pixel]=800 height[pixel]=600 width[mm]=271 height[mm]=203 min-installed-maps=1 max-installed-maps=1 root=0x00000021 backing-stores=WhenMapped(0x01) save-unders=false(0x00) root-depth=24 allowed depths={depth=1 visuals=;
@flacjacket
flacjacket / .gitignore
Last active August 29, 2015 14:05
Vagrant files for cairocffi w/ xcffib
*.swp
.vagrant
__pycache__
@flacjacket
flacjacket / test_to_cffi.py
Last active August 29, 2015 14:05
wtf cffi
import weakref
from xcffib.ffi import bytes_to_cdata, ffi
global_weakkeydict = weakref.WeakKeyDictionary()
def test_to_cffi():
c_key = ffi.new("struct xcb_extension_t *")
c_key.name = name = bytes_to_cdata(b"testing")
c_key_ref = weakref.ref(c_key)
name_ref = weakref.ref(name)
2014-08-06 21:47:27,289 ERROR _xpoll:623 Got an exception in poll loop
Traceback (most recent call last):
File "/usr/lib64/python2.7/site-packages/qtile-0.7.0-py2.7.egg/libqtile/manager.py", line 610, in _xpoll
r = h(e)
File "/usr/lib64/python2.7/site-packages/qtile-0.7.0-py2.7.egg/libqtile/manager.py", line 839, in handle_ButtonPress
self.cmd_focus_by_click(e)
File "/usr/lib64/python2.7/site-packages/qtile-0.7.0-py2.7.egg/libqtile/manager.py", line 814, in cmd_focus_by_click
self.currentGroup.focus(self.windowMap.get(wnd), False)
File "/usr/lib64/python2.7/site-packages/qtile-0.7.0-py2.7.egg/libqtile/group.py", line 161, in focus
l.focus(win)
@flacjacket
flacjacket / bt
Last active August 29, 2015 14:04
cffi crash
Program received signal SIGSEGV, Segmentation fault.
tupledealloc (op=0x7fffeabfc9f0) at /var/tmp/portage/dev-lang/python-2.7.7/work/Python-2.7.7/Objects/tupleobject.c:222
222 /var/tmp/portage/dev-lang/python-2.7.7/work/Python-2.7.7/Objects/tupleobject.c: No such file or directory.
#0 tupledealloc (op=0x7fffeabfc9f0) at /var/tmp/portage/dev-lang/python-2.7.7/work/Python-2.7.7/Objects/tupleobject.c:222
#1 0x00007ffff7af7629 in call_function (oparg=<optimized out>, pp_stack=0x7fffffffb970) at /var/tmp/portage/dev-lang/python-2.7.7/work/Python-2.7.7/Python/ceval.c:4022
#2 PyEval_EvalFrameEx (
f=f@entry=Frame 0x9cfa40, for file /usr/lib64/python2.7/site-packages/xcffib-v0.1.1-py2.7-linux-x86_64.egg/xcffib/__init__.py, line 494, in send_request (self=<Connection(_conn=<_cffi_backend.CData at remote 0x7ffff3492300>, core=<xprotoExtension(ext_name=None, conn=<...>) at remote 0x7ffff34a5fd0>, setup=<Setup(protocol_minor_version=0, vendor=<List(bufsize=20, list=['T', 'h', 'e', ' ', 'X', '.', 'O', 'r', 'g', ' ',
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.