This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
xrandr --output eDP --off # disable internal screen if you want better FPS in game |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[dogtags] | |
disable = true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<progression.xml> | |
<xsi>http://www.w3.org/2001/XMLSchema-instance</xsi> | |
<noNamespaceSchemaLocation>../../../development/xml_schema/crew2/detachment/progression.xsd</noNamespaceSchemaLocation> | |
<progression> | |
<layout> | |
<id>1</id> | |
<priceGroupID>1</priceGroupID> | |
<badgeID>200</badgeID> | |
<levels> | |
<level> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[Reflection.Assembly]::LoadWithPartialName('System.IO.Compression.FileSystem') | |
foreach($sourceFile in (Get-ChildItem -filter 'vehicles_level_*.pkg')) | |
{ | |
foreach($entry in [IO.Compression.ZipFile]::OpenRead($sourceFile.FullName).Entries | select-string "vehicles\/(american|british|chinese|czech|french|german|japan|poland|russian|sweden)\/([a-zA-Z]*[0-9]*_[^\/]*)\/$") | |
{ | |
"$entry $sourceFile" | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#change path if you store replays in different place, or just navigate manually | |
cd C:\games\World_of_Tanks\replays | |
#regex to snatch stuff from filename | |
$splitfilename = '(?<date>[0-9]+)_(?<time>[0-9]+)_(?<=_)(?<nation>.*?)(?=-)-(?<=-)(?<tankcode>.*?)(?=_)_(?<=_)(?<tankname>.*?)(?=_(?<mapid>[0-9]+)(?!.*[0-9]))_[0-9]+_(?<mapname>.*)\.wotreplay$' | |
foreach ($replay in Dir *.wotreplay) | |
{ | |
$parts = $replay.Name -match $splitfilename | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[Adblock Plus 2.0] | |
! Version: | |
! Title: WorlOfTanks forum filters | |
! Last modified: 06.12.2020 | |
! Expires: 7 days (update frequency) | |
! Homepage: | |
! | |
forum.worldoftanks.com##div.post_body div.signature img | |
forum.worldoftanks.com#?#div[id^="index_stats"] li.clearfix:-abp-has(a.url.name span[itemprop^="name"]:-abp-contains(Whistling_Death_)) | |
forum.worldoftanks.com#?#table.topic_list tr[itemscope]:-abp-has(a[hovercard-ref^="member"] span[itemprop^="name"]:-abp-contains(Whistling_Death_)) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
span.highcharts-drilldown-axis-label:nth-child(1)::before { | |
content: ''; | |
height: 24px; | |
width: 24px; | |
background: url(assets/images/nations/ussr.png); | |
display: block; | |
background-size: contain; | |
} | |
span.highcharts-drilldown-axis-label:nth-child(2)::before { | |
content: ''; |
NewerOlder