I hereby claim:
- I am Zazcallabah on github.
- I am zazcallabah (https://keybase.io/zazcallabah) on keybase.
- I have a public key whose fingerprint is 81E5 9B67 1299 B04A 9AAA F829 27E7 6A7B 52D1 6705
To claim this, I am signing this object:
Theory: How the problem started | |
=============================== | |
I think I played in offline mode the first time through day five, thus getting the token in my save file but not getting it on steam. | |
Steps take to solve the issue | |
============================= | |
First | |
----- | |
Restart steam in online mode. Start papers please. Reload save at day five. Collect token. |
template <typename C, typename S> | |
void GetState(C* const digital, const C* bitmasks, S* analog, const unsigned int range) | |
{ | |
const unsigned int trig_count = ((unsigned int) (controls.size() / 2)); | |
for (unsigned int i=0; i<trig_count; ++i,++bitmasks,++analog) | |
{ | |
if (controls[i]->control_ref->State() == 0) | |
flag[i] = false; // reset out of transition state if button is no longer pressed | |
if (controls[i]->control_ref->State() > settings[0]->value) //threshold | |
{ |
I hereby claim:
To claim this, I am signing this object:
{ | |
"info" : { | |
"buildId" : "20161128.7", | |
"buildDate" : "2016-11-28 14:01:33Z", | |
"commitHash" : "5a0bf8b4c25b897f0dee3c7e315422e96a182472", | |
"deployDate" : "2016-11-28 14:03:44Z", | |
"error" : null | |
}, | |
"dependencies" : [{ | |
"name" : "Api1", |
; [Win+A] Toggle always on top | |
#a:: Winset, Alwaysontop, , A | |
; [Win+WheelUp] Increase opacity | |
#WheelUp:: | |
DetectHiddenWindows, on | |
WinGet, curtrans, Transparent, A | |
if ! curtrans | |
curtrans = 255 | |
newtrans := curtrans + 8 |
#this script probably needs to be run as admin | |
#also, openssl is required | |
#also, you need to export the fiddler root cert to desktop | |
$out = "C:\Program Files (x86)\Microsoft SDKs\Azure\CLI2\Lib\site-packages\certifi\cacert.pem" | |
mv $out "$out.old" | |
$in = "$($env:USERPROFILE)\Desktop\FiddlerRoot.cer" | |
& "$PSScriptRoot\bin\openssl.exe" x509 -inform der -in $in -out $out | |
$env:ADAL_PYTHON_SSL_NO_VERIFY = 1 |
param ([String]$mac = "00:11:22:33:00:11") | |
$MACAddr = $mac.split(':') | %{ [byte]('0x' + $_) }; | |
$UDPclient = new-Object System.Net.Sockets.UdpClient | |
$UDPclient.Connect(([System.Net.IPAddress]::Broadcast),4000) | |
$packet = [byte[]](,0xFF * 6) | |
$packet += $MACAddr * 16; | |
[void] $UDPclient.Send($packet, $packet.Length) |
$uri = "https://login.microsoftonline.com/$($tenant)/oauth2/token" | |
$data = @{ | |
"resource"="https://management.core.windows.net/"; | |
"client_id"=$servicePrincipalGuid; | |
"client_secret"=$secret; | |
"grant_type"="client_credentials"; | |
} | |
return Invoke-WebRequest -Method POST -Uri $uri -Headers $headers -Body $data | ConvertFrom-Json |
I find PowerShell incredibly useful. It does, however, have a lot of quirks that make for very annoying why-would-you-ever-make-it-do-that moments. The following is my attempt to list and clarify these small oddities.
This is not a generic guide to using a console, nor is it a general scripting guide. There are much better resources for that found elsewhere.
You have a bunch of options regarding terminals to run powershell. I know a bunch of people that are very happy with cmder. I personally use Windows Terminal because it has QuakeMode which is more useful than you would think. I suggest you find one that fits you, as long as it isnt cmd.exe
.
// ==UserScript== | |
// @name Prevent Twitch autoplay | |
// @version 0.2 | |
// @match https://www.twitch.tv/* | |
// @grant none | |
// ==/UserScript== | |
(function() { | |
'use strict'; | |
function _go(){ |