Skip to content

Instantly share code, notes, and snippets.

This file has been truncated, but you can view the full file.
-- Logs begin at Fri 2020-06-05 08:00:58 CEST. --
Jun 05 10:15:45 tmartitz-pc xpra[1044]: 2020-06-05 10:15:45,913 New unix-domain connection received
Jun 05 10:15:45 tmartitz-pc xpra[1044]: 2020-06-05 10:15:45,913 on '/run/user/1000/xpra/tmartitz-pc-10'
Jun 05 10:15:45 tmartitz-pc xpra[1044]: 2020-06-05 10:15:45,915 enabled debugging for:
Jun 05 10:15:45 tmartitz-pc xpra[1044]: 2020-06-05 10:15:45,915 - Logger(importlib._bootstrap, x11, bindings, ximage, xshm, verbose)
Jun 05 10:15:45 tmartitz-pc xpra[1044]: 2020-06-05 10:15:45,915 - Logger(importlib._bootstrap, x11, bindings, ximage, verbose)
Jun 05 10:15:45 tmartitz-pc xpra[1044]: 2020-06-05 10:15:45,915 - Logger(xpra.x11.server, server, window, geometry)
Jun 05 10:15:45 tmartitz-pc xpra[1044]: 2020-06-05 10:15:45,915 - Logger(xpra.server.window.window_source, window, refresh)
Jun 05 10:15:45 tmartitz-pc xpra[1044]: 2020-06-05 10:15:45,915 - Logger(importlib._bootstrap, x11, bindings, ximage)
Jun 05 10:15:45 tmartitz-pc xpra[1044]: 2020-06-05 10:15:45
@kugel-
kugel- / test.c
Last active November 6, 2016 21:58
/*
* cc -g $(pkg-config --cflags ruby-2.3 glib-2.0 gtk+-3.0) test.c $(pkg-config --libs ruby-2.3 glib-2.0 gtk+-3.0)
*/
#include <ruby/ruby.h>
#include <gtk/gtk.h>
#include <glib-object.h>
const char script[] = " \n"
/*
cc $(pkg-config --cflags --libs-only-L ruby-2.3) -Wl,-export-dynamic test.c -o test $(pkg-config --libs ruby-2.3)
*/
#include <stdio.h>
#include <dlfcn.h>
#include <pthread.h>
#include <ruby.h>
#include <ruby/thread.h>
@kugel-
kugel- / embed.c
Last active September 29, 2016 19:31
/*
cc $(pkg-config --cflags --libs-only-L ruby-2.3) -Wl,-export-dynamic test.c -o test $(pkg-config --libs ruby-2.3)
*/
#include <stdio.h>
#include <dlfcn.h>
#include <ruby.h>
const char script[] =
@kugel-
kugel- / ruby.c
Last active September 26, 2016 21:51
#include <stdio.h>
#include <dlfcn.h>
#include <ruby.h>
#include <gtk/gtk.h>
#include <libpeas/peas-activatable.h>
2013/10/15 21:34:53 MTP request OpenSession [848652059]
2013/10/15 21:34:53 MTP response SessionAlreadyOpened [1695237385]
2013/10/15 21:34:53 MTP request CloseSession []
2013/10/15 21:34:53 MTP response OK []
2013/10/15 21:34:53 MTP request OpenSession [1680817279]
2013/10/15 21:34:53 MTP response OK []
2013/10/15 21:34:53 MTP request GetStorageIDs []
2013/10/15 21:34:53 MTP data 0x14 bytes
2013/10/15 21:34:53 MTP response OK []
2013/10/15 21:34:53 MTP decoded &mtp.Uint32Array{Values:[]uint32{0x10001}}