Skip to content

Instantly share code, notes, and snippets.

@PTwr
PTwr / Test_Submodule.py
Created July 26, 2021 19:23
accesstokensniffer based on client.gui.shop.getShopProductInfo
import logging
from items import vehicles, tankmen, EQUIPMENT_TYPES, ItemsPrices
import os
from ConfigParser import ConfigParser
import BigWorld
from helpers import getFullClientVersion, getShortClientVersion, getClientVersion
import importlib
import ResMgr
import string
@PTwr
PTwr / disableinternal.sh
Last active August 29, 2023 22:43
Tinkering with multi monitor on steamdeck
xrandr --output eDP --off # disable internal screen if you want better FPS in game
namespace Blah
{
internal class Program
{
static void Main(string[] args)
{
Console.WriteLine("Preparing Thing");
var thing = GCAbuse();
//make GC run now instead of waiting for memory pressure this tiny program will never generate
Add-Type -As System.IO.Compression.FileSystem;
# %USERPROFILE%\Documents\Paradox Interactive\Stellaris\save games
$savePath = "$($env:USERPROFILE)\Documents\Paradox Interactive\Stellaris\save games"
echo $savePath;
echo 'Star position x axis goes from left to right, y axis goes from top to bottom, -- is thus at top right corner while ++ at bottm left'
echo 'star positions are in -200 to +200 ranges'
echo '28 pops => space age'
echo '22 pops => machine age'