Skip to content

Instantly share code, notes, and snippets.

View becm's full-sized avatar

Marc Becker becm

  • Germany
View GitHub Profile
@becm
becm / clean_setupapi.dev.log
Created September 30, 2020 18:08
MSM update old TAP driver removal
>>> [SetupUninstallOEMInf - oem16.inf]
>>> Section start 2020/09/30 19:22:15.082
cmd: C:\Windows\System32\MsiExec.exe -Embedding E1EDC6781DDBC0DECDC2BE8484077249 E Global\MSI0000
inf: Flags: 0x00000001
dvs: {DrvSetupUninstallDriver - C:\WINDOWS\INF\oem16.inf}
dvs: Flags: 0x10000001
dvs: {Driver Setup Delete Driver Package: oem16.inf} 19:22:15.098
ump: Delete flags: 0x00000002
pol: {Driver package policy check} 19:22:15.098
pol: {Driver package policy check - exit(0x00000000)} 19:22:15.098
@becm
becm / interp.c
Last active August 1, 2016 21:09
special purpose lua interpreter example
#include <lua.h>
#include <lualib.h>
#include <lauxlib.h>
#include <lua-bitop.h>
int interp_run(void)
{
int ret;
lua_State *L = luaL_newstate();
luaL_openlibs(L);