Skip to content

Instantly share code, notes, and snippets.

@vstebunov
vstebunov / lookluacom.lua
Created February 16, 2016 20:48
Look internals of COM object in Lua
--ss COM Объект
--COM work
local ss_info = luacom.GetTypeInfo(ss)
local ss_doc = ss_info:GetDocumentation()
for k,v in pairs(ss_doc) do
print(k,v)
end
@vstebunov
vstebunov / getcomobjects.ps1
Created February 16, 2016 20:52
Get all COM objects by powershell
gci HKLM:\Software\Classes -ea 0| ? {$_.PSChildName -match '^\w+\.\w+$' -and (gp "$($_.PSPath)\CLSID" -ea 0)} | ft PSChildNam
@vstebunov
vstebunov / gist:f6cc49e483a58f868f69
Created February 20, 2016 12:10
Regexp - find multiline comment.
\/\*[^\*]*\*\/