Tools required:
- Doliman's EncryptionTool
- Das & Nenkai's 010 Template
- 010 Editor
- Target save and its IVKey
- A Brain
1. Locate your save file:
| -- load | |
| local math = math -- GETGLOBAL | |
| local newproxy = newproxy -- GETGLOBAL | |
| local ipairs = ipairs -- GETGLOBAL | |
| local floor = math.floor -- GETTABLE KST(C) | |
| local pi = math.pi -- GETTABLE KST(C) | |
| local _nil = nil -- LOADNIL B -> C (1) | |
| local _true = true -- LOADBOOL B(1) | |
| local _false = false -- LOADBOOL B(0) |
Tools required:
1. Locate your save file:
| Precompiled headers basically improve build times by reducing the amount of code compiling each time a build | |
| command is invoked. | |
| This feature is available in Visual Studio for Windows C/C++ development | |
| via project "Properties" -> "C/C++" -> "Precompiled Headers", | |
| but this feature is missing for Linux C/C++ Development (Visual Studio) and | |
| requires a workaround since GCC/Clang support pch. | |
| The workaround: | |
| - Creating a "precompile.sh" bash script and appending the content above. | |
| - Set in your project's properties in "Properties" -> "Build Events" -> "WSL Pre-Build Event", the following: |
| import idautils | |
| import ida_bytes | |
| import ida_funcs | |
| import ida_ida | |
| import ida_kernwin | |
| import ida_search | |
| import ida_idp | |
| import idaapi | |
| import idc | |
| import pprint |
| ########## | |
| #parent.py | |
| ########## | |
| import subprocess | |
| import pickle | |
| process = subprocess.Popen( | |
| ['python', 'child.py'], | |
| stdin=subprocess.PIPE, | |
| stdout=subprocess.PIPE, | |
| bufsize=0 |
Last updated: April 2021
Also known as itag or format codes and way back they could be specified with the fmt parameter (e.g. &fmt=22).
Depending on the age and/or popularity of the video, not all formats will be available.
| Resolution | AV1 HFR High | AV1 HFR | AV1 | VP9.2 HDR HFR | VP9 HFR | VP9 | H.264 HFR | H.264 |
|---|---|---|---|---|---|---|---|---|
| MP4 | MP4 | MP4 | WebM | WebM | WebM | MP4 | MP4 |
| // ==UserScript== | |
| // @name Steam Queue Auto Discoverer | |
| // @description Discover the Steam queue three times to get the sale cards | |
| // @version 2.3.0 | |
| // @namespace https://gist.github.com/xPaw/73f8ae2031b4e528abf7 | |
| // @icon https://store.steampowered.com/favicon.ico | |
| // @match https://store.steampowered.com/explore* | |
| // @grant none | |
| // ==/UserScript== |
| /// Outputs a "pallete" of colors achievable via WinAPI SetConsoleTextAttribute | |
| /// Full article: | |
| /// http://ru.yal.cc/cpp-colored-text-via-winapi/ (Russian) | |
| /// http://yal.cc/cpp-colored-text-via-winapi/ (English) | |
| #include <stdio.h> | |
| #include <Windows.h> | |
| int main(int argc, char* argv[]) { | |
| // foreground and background flags: | |
| int fb[4] = { FOREGROUND_RED, FOREGROUND_GREEN, FOREGROUND_BLUE, FOREGROUND_INTENSITY }; | |
| int bb[4] = { BACKGROUND_RED, BACKGROUND_GREEN, BACKGROUND_BLUE, BACKGROUND_INTENSITY }; |
| var Benchmark = require('benchmark'); | |
| Benchmark.prototype.setup = function() { | |
| a = ["test"]; | |
| for (var i = 0; i < 10000; i++) { | |
| a.push("some other stuff"); | |
| } | |
| s = a.join(); | |
| re1 = new RegExp("^test"); | |
| re2 = new RegExp("^not there"); | |
| }; |