This file contains hidden or 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
#Automatically switch between desired threads for XMRIG. | |
$path = 'C:\Users\Moore\Desktop\xmrig\config.json' | |
$minThreads = '15' | |
$maxThreads = '28' | |
if (Select-String -Path $path -Pattern "$minThreads," -SimpleMatch -Quiet) | |
{ | |
(Get-Content $path) -replace "$minThreads,", "$maxThreads," | Out-File -encoding ASCII $path | |
} |
This file contains hidden or 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
public static RulesOption("Decode ZSTD") | |
BindPref("fiddlerscript.rules.DecodeZSTD") | |
var m_DecodeZSTD: boolean = false; | |
public static RulesOption("ZSTD Bin Path") | |
BindPref("fiddlerscript.rules.ZSTDBinPath") | |
var m_ZSTDBinPath = "D:\\Downloads\\zstd-v1.5.6-win64"; // Path to your zstd.exe bin | |
static function decodeZSTD(oSession: Session) { | |
var tempDir = System.IO.Path.GetTempPath(); |
OlderNewer