Standard escape codes are prefixed with Escape
:
- Ctrl-Key:
^[
- Octal:
\033
- Unicode:
\u001b
- Hexadecimal:
\x1B
- Decimal:
27
coins = 42, | |
sourceId = localStorage.getItem('sourceId').split('"').join(''), | |
deviceLogId = localStorage.getItem('deviceLogId').split('"').join(''), | |
users = JSON.parse(localStorage.getItem('users')); | |
users.forEach(users__value => { | |
fetch('https://logger-lb-5.anton.app/events', { | |
method: 'POST', | |
'headers': { 'Content-Type': 'application/json' }, | |
body: JSON.stringify({ | |
"events":[{"event":"adjustCoins","value":coins,"src":sourceId,"created":(new Date()).toISOString()}], |
@(set "0=%~f0"^)#) & powershell -nop -c iex([io.file]::ReadAllText($env:0)) & timeout /t 7 & exit /b | |
# CLEAR THOSE ANNOYING MEDIA PLAYING STEAM OVERLAY BROWSER WINDOWS YOU FORGOT ABOUT - BY AVEYO | |
$found = $false; $utf8 = new-object Text.UTF8Encoding $false | |
$userdata = join-path (gp HKCU:\SOFTWARE\Valve\Steam SteamPath -ea 0).SteamPath 'userdata'; pushd $userdata; | |
dir -rec -file localconfig.vdf |% { | |
$cfg = $_; $data = [io.file]::ReadAllLines($cfg, $utf8); $ok = $true | |
if (($data |% {$_ -like '*OverlaySavedData*'}) -notcontains $true) { echo "$cfg : no steam overlay saved data"; $ok = $false } | |
if ($ok) { if (get-process -name Steam -ea 0) { start -wait "$(split-path $userdata)\Steam.exe" -args '-shutdown' } } |