Skip to content

Instantly share code, notes, and snippets.

View FunkyM's full-sized avatar

Martin Szulecki FunkyM

View GitHub Profile
@FunkyM
FunkyM / dmx-udp.c
Created March 20, 2018 22:40 — forked from zonque/dmx-udp.c
/*
* Simple proxy between USB2DMX adapter cables and UDP senders
*
* Compile with:
*
* gcc -o dmx-udp dmx-udp.c $(pkg-config --cflags --libs libftdi1) -Wall
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
* as published by the Free Software Foundation; either version 2
@FunkyM
FunkyM / gdb bt totem + gnome-maps
Last active August 29, 2015 14:18
NVIDIA 349.12 + GTK+ 3.16.1 + clutter 1.22.0 + cogl 1.20.0 = all clutter apps crash
totem:
(totem:11751): Gdk-ERROR **: The program 'totem' received an X Window System error.
This probably reflects a bug in the program.
The error was 'BadMatch (invalid parameter attributes)'.
(Details: serial 658 error_code 8 request_code 155 (GLX) minor_code 31)
(Note to programmers: normally, X errors are reported asynchronously;
that is, you will receive the error a while after causing it.
To debug your program, run it with the GDK_SYNCHRONIZE environment
variable to change this behavior. You can then get a meaningful
backtrace from your debugger if you break on the gdk_x_error() function.)