Skip to content

Instantly share code, notes, and snippets.

View languitar's full-sized avatar

Johannes Wienke languitar

View GitHub Profile
RuntimeError: Cannot run the event loop while another loop is running
2017-11-08 14:53:01,610 ERROR:base_events:Exception in callback _SelectorSslTransport._read_ready()
handle: <Handle _SelectorSslTransport._read_ready()>
Traceback (most recent call last):
File "/usr/lib/python3.6/asyncio/events.py", line 127, in _run
self._callback(*self._args)
File "/usr/lib/python3.6/asyncio/selector_events.py", line 975, in _read_ready
self._protocol.data_received(data)
File "/usr/lib/python3.6/site-packages/slixmpp/xmlstream/xmlstream.py", line 361, in data_received
self.parser.feed(data)
_NET_WM_DESKTOP(CARDINAL) = 6
WM_STATE(WM_STATE):
window state: Normal
icon window: 0x0
_NET_WM_USER_TIME(CARDINAL) = 12811376
_NET_WM_ICON(CARDINAL) = Icon (24 x 24):
░░░░
░░ ░░
░ ░▒▒ ░
░ ▒▒░▒░ ░
@book{Capek2014,
author = {Čapek, Karel},
isbn = {9780486419268},
langid = {und},
location = {Newburyport},
pagetotal = {126},
publisher = {Dover Publications},
series = {Dover Thrift Editions},
title = {R.U.R},
@languitar
languitar / gist:3d0319d422226898f3da45f36c13e098
Created February 18, 2017 11:39
mcabber crash on osx sierra
Process: mcabber [39323]
Path: /usr/local/Cellar/mcabber/1.0.5/bin/mcabber
Identifier: mcabber
Version: 0
Code Type: X86-64 (Native)
Parent Process: fish [24616]
Responsible: mcabber [39323]
User ID: 1000
Date/Time: 2017-02-13 22:30:57.073 +0100
@languitar
languitar / gist:450320ccf01a2cd9097f9c4a6b150771
Created February 18, 2017 11:18
mcabber crash osx sierra
Process: mcabber [68690]
Path: /usr/local/Cellar/mcabber/1.0.5/bin/mcabber
Identifier: mcabber
Version: 0
Code Type: X86-64 (Native)
Parent Process: fish [24616]
Responsible: mcabber [68690]
User ID: 1000
Date/Time: 2017-02-16 00:00:02.760 +0100
commit 04964b86ac903d6e41ea69b865f5dc1d2ca11cb7
Author: Johannes Wienke <languitar@semipol.de>
Date: Fri Nov 25 13:23:41 2016 +0100
Version bump to 3.0.0
diff --git a/.SRCINFO b/.SRCINFO
index dcca1be..1547778 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@languitar
languitar / autorandr.patch
Created October 5, 2016 08:54
patch for autorandr git AUR build
diff --git a/PKGBUILD b/PKGBUILD
index f12373f..76ea984 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -7,7 +7,7 @@
_pkgname=autorandr
pkgname=autorandr-git
-pkgver=r210.582290b
+pkgver=r234.dcd4b26
@languitar
languitar / gist:6368210
Created August 28, 2013 16:43
Erroneous python dependency check in homebrew
languitar@miles:/usr/local$ cat Library/Taps/languitar-formulas/rst-proto.rb
require 'formula'
class RstProto < Formula
homepage 'https://toolkit.cit-ec.uni-bielefeld.de/components/generic/robotics-system-types'
url 'https://code.cor-lab.de/git/rst.git.proto.git', :using => :git, :branch => '0.9'
version '0.9'
head 'https://code.cor-lab.de/git/rst.git.proto.git', :using => :git
option :universal
@languitar
languitar / gist:5829764
Last active December 18, 2015 18:59
Homebrew error building opencv.
Console output:
---------------
/usr/local/opt/python/bin/python2 -c import numpy
/usr/local/opt/python/bin/python2 -c import numpy
==> Downloading http://sourceforge.net/projects/opencvlibrary/files/opencv-unix/2.4.5/opencv-2.4.5.tar.gz
Already downloaded: /Library/Caches/Homebrew/opencv-2.4.5.tar.gz
tar xf /Library/Caches/Homebrew/opencv-2.4.5.tar.gz
==> Downloading patches
/usr/bin/curl -f#LA Homebrew 0.9.4 (Ruby 1.8.7-358; Mac OS X 10.8.4) https://github.com/Itseez/opencv/commit/6e119049ce3228ca82acb7f4aaa2f4bceeddcbdf.patch -o 000-homebrew.diff --silent
GNU gdb (Ubuntu 7.7.1-0ubuntu5~14.04.2) 7.7.1
Copyright (C) 2014 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.