This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import tornado.websocket | |
import tornado.httpserver | |
import tornado.ioloop | |
import tornado.web | |
import tornado.gen | |
import time | |
from tornado import gen | |
from threading import Thread |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* gcc -std=c99 -fPIC -shared -Wl,-soname,glvsync.so glvsync.c -o glvsync.so | |
* gcc -m32 -std=c99 -fPIC -shared -Wl,-soname,glvsync.so glvsync.c -o glvsync.so (for 32bit) | |
* | |
* Force VSYNC interval on OpenGL applications | |
* Usage: LD_PRELOAD="/path/to/glvsync.so" ./program | |
*/ | |
#define _GNU_SOURCE | |
#include <dlfcn.h> | |
#include <GL/glx.h> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <Windows.h> | |
#include <SubAuth.h> | |
#include "mhook-lib\mhook.h" | |
#define PROC1 L"notepad.exe" | |
#define PROC2 L"explore.exe" | |
enum SYSTEM_INFORMATION_CLASS | |
{ |