Skip to content

Instantly share code, notes, and snippets.

@LFriede
LFriede / register_nfo_file.bat
Created June 27, 2020 11:00
This batch file registers the .nfo file extension to display nfo files in console with codepage 437.
ftype nfo=cmd.exe /K "mode con codepage select=437 > nul & copy "%%1" con > nul"
assoc .nfo=nfo
pause
@LFriede
LFriede / a_install-old-qt-versions.md
Last active May 25, 2024 23:51
How to trick "Qt Maintenance Tool" to install old versions

How to trick "Qt Maintenance Tool" to install old versions

tl;dr

Use a software like mitmproxy to modify the (https)-request to iapi.qt.io/api/v2/repositories so it's response lists the old Qt directorys that are still on the servers.

If you never used mitmproxy before here is the guide that shows you how it's done.

@LFriede
LFriede / ts3bookmarks.pas
Created March 5, 2017 12:51
Teamspeak 3 Bookmark decoder
unit ts3bookmarks;
interface
uses
System.SysUtils, Classes, Windows, ShlObj, pbInput, pbPublic;
type
TFavorit = record
Name:String;