Skip to content

Instantly share code, notes, and snippets.

View cpuwolf's full-sized avatar
🎯
Focusing

Wei Shuai cpuwolf

🎯
Focusing
View GitHub Profile
*******************************************************************************
* *
* Exception Analysis *
* *
*******************************************************************************
*** WARNING: Unable to verify checksum for WwiseLibPCx64P.dll
*** WARNING: Unable to verify checksum for libcrypto-1_1-x64.dll
*** WARNING: Unable to verify checksum for CoherentUIGT.dll
*** WARNING: Unable to verify checksum for WTF.dll
@cpuwolf
cpuwolf / dynamicdnsupdater.sh
Created April 1, 2024 12:01
Dynamic update DNS inside UFW
#!/bin/bash
#SET THE FOLLOWING
HOSTNAME=xxx.com
SSH_PORT=27017
WIREGUARD_PORT=27017
#IF IT DOES NOT WORK, AT LEAST ON UBUNTU INSTALL, bind-utils to get the host command
@cpuwolf
cpuwolf / QMOVHA_pmdg777.lua
Created October 25, 2025 10:55
QMOVH-A PMDG-777 christmas tree blink, must run inside QmdevSimConnect 5.0 and above
-- *****************************************************************
-- created by Wei Shuai <[email protected]> 2025-10-21
-- *****************************************************************
if ilua_is_acfpath_excluded("PMDG") or ilua_is_acfpath_excluded("777") then
return
end
-- Do not remove below lines: hardware detection
local qmovha = com.sim.qm.Qmovha:new()
if not qmovha:Init() then
@cpuwolf
cpuwolf / QMPE_JENNY.lua
Last active October 27, 2025 11:42
show system local data and time
-- *****************************************************************
-- created by Wei Shuai <[email protected]> 2025-10-21
-- *****************************************************************
if ilua_is_acfpath_excluded("jenny") or ilua_is_acfpath_excluded("curt") then
return
end
-- Do not remove below lines: hardware detection
local qmpe = com.sim.qm.Qmpe:new()
if not qmpe:Init() then