Skip to content

Instantly share code, notes, and snippets.

@cw2k
cw2k / RemoveNag_ActivateWindows.ps1
Last active February 15, 2026 20:36
Windows10: Removes Nag "Activate Windows" in Windows 10
<#
RemoveNag2_ActivateWindows.ps1
--------------------------------
Purpose:
Removes that "Activate Windows" watermark created by explorer.exe
on Windows 10 systems.
The script attempts a clean shutdown of the hidden Worker Window
hosting the watermark by sending WM_DESTROY and WM_CLOSE.
If the window survives, it falls back to SW_HIDE.
@cw2k
cw2k / advancedInstallerExtractor.py
Last active February 9, 2026 07:37
Advanced Installer Extractor / Unpacker
#!/usr/bin/env python
# =============================================================================
# advancedInstallerExtractor.py
#
# Extracts embedded files from Advanced Installer self‑extracting executables.
#
# The format consists of two tightly connected structures placed at the end
# of the EXE: a footer block and a file‑info table. The footer describes where
# the file‑info entries are located and where the actual file data begins.
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
#
# Skript for Virtual Guitarist - Wizoo / Steinberg 2002
#
# This VST-Plugin is bind at setup time to the
# VolumeSerialNumber of the Windows Drive
# If the check fails not styles are load, instead it just shows
# "Please re-install !"
#
@cw2k
cw2k / LicenseTool.java
Last active February 14, 2026 18:22
Android: Developer Assistant - LicenseTool
/*
* LicenseTool for Developer Assistant
* -----------------------------------
* Author: Jarosław Wiśniewski
* App: https://play.google.com/store/apps/details?id=com.appsisle.developerassistant
*
* Description:
* This standalone Java console tool can decrypt and re-encrypt license data
* used by the Developer Assistant application. It performs the following steps:
*
@cw2k
cw2k / Bethesda_unpack.py
Created January 13, 2023 16:23
Bethesda.net extrator script
"""
Bethesda.net extrator script
============================
So what is that?
Elder scrolls online comes with that installer:
Bethesda.net_Launcher.exe
it is about 25 MB.
24MB of the file is a zip.
@cw2k
cw2k / RomeoAdditions.userscript.js
Last active December 24, 2022 17:09
Romeo Additions
// ==UserScript==
// @name myRomeo Additions
// @name:de myRomeo Additions
// @namespace https://greasyfork.org/en/users/723211-ray/
// @version 2.2.0
// @description Allows to hide users, display their information on tiles, and enhances the Radar.
// @description:de Ermöglicht das Verstecken von Benutzern, die Anzeige ihrer Details auf Kacheln, und verbessert den Radar.
// @author -Ray-, Djamana
// @include *://*.romeo.com/*
// @grant GM_addStyle
@cw2k
cw2k / tg_FMFS.cmd
Last active December 20, 2022 19:22
Telegram bot logout and foreign message forward script.
::
:: tg_FMFS -> Telegram Foreign Messages Forward Script (Dez2022)
::
:: https://gist.github.com/cw2k/02cbdf288b2a7a36141dacab9ab116a1
::
:: Purpose:
:: If you visit a BotChannel on Telegram let's say https://t.me/limePc_updater_bot you'll just see your messages and not the one the outers.
:: It's a private conversation between you and BotChannel channel you joined.
::
:: However it happens that you also have
Keygen notes for SongBook
https://linkesoft.de/songbook/
Definitions:
if ( String_scrambler( UserNApp ) ==
morph( String_scrambler( Version ) ) ^ ROL( RegKey, 1)
)
SerialValid = true;
@cw2k
cw2k / 01_keyboard_layout.sh
Created March 16, 2022 12:27
Localised keyboard layout Grub2
#!/bin/sh -e
# /etc/grub.d/01_keyboard_layout.sh
# ^-Put this file here.
# and make it executable:
# chmod +x /etc/grub.d/01_keyboard_layout.sh
#
# update-grub
# ..and finally you've a localised keyboard layout in Grub2
# (... inside the 'normal.mod' Grub; However the rescue shell *suprise* is not effected)
#
@cw2k
cw2k / Wing IDE 2-8.x - keygen.py
Created March 2, 2022 22:50
Activation helper for Wingware Wing IDE 2-8
################################
# Wing IDE Professional 8.x KeyGen
# https://wingware.com/downloads
# for Python3.x
# uncomment these to get also support for Python2.7
#from __future__ import print_function
# try:
# from future import standard_library