Skip to content

Instantly share code, notes, and snippets.

View flock_to_setlk.c
#define _GNU_SOURCE
#include <errno.h>
#include <fcntl.h>
#include <sys/file.h>
#include <unistd.h>
#include <stdio.h>
#include <string.h>
#define DEBUG_OUTPUT 1
View wine-coinitialize.patch
diff --git a/dlls/ole32/compobj.c b/dlls/ole32/compobj.c
index 3487cca572..f3dac68bde 100644
--- a/dlls/ole32/compobj.c
+++ b/dlls/ole32/compobj.c
@@ -3314,17 +3314,23 @@ HRESULT WINAPI DECLSPEC_HOTPATCH CoCreateInstanceEx(
init_multi_qi(cmq, pResults, E_NOINTERFACE);
- hres = CoGetTreatAsClass(rclsid, &clsid);
- if(FAILED(hres))
View gist:4e11da6a3dd0d765267c1a4eb4b43842
SteamVR System Report created su joulu 03 23:38:56 2017
<Report>
SteamVR Version: 1512101170
SteamVR Date: 2017-12-01
Steam: Public
Steam Branch: beta
Steam AppID: 250820
Tracking: lighthouse
OS: Linux version 4.13.1-core2 (root@capybara) (gcc version 7.2.0 (Debian 7.2.0-6)) #2 SMP Fri Sep 22 13:30:44 EEST 2017
View jsmapper.cpp
#include <unistd.h>
#include <fcntl.h>
#include <signal.h>
#include <sys/poll.h>
#include <linux/input.h>
#include <linux/uinput.h>
#include <set>
#include <vector>
#include <msp/core/application.h>
#include <msp/core/getopt.h>
You can’t perform that action at this time.