I hereby claim:
- I am gschizas on github.
- I am gschizas (https://keybase.io/gschizas) on keybase.
- I have a public key ASD4uKtSwtlHfeC5nRdobKjAsWo_Eh7qGd7PWyTmtpYbZAo
To claim this, I am signing this object:
Import-Module WebAdministration | |
# Get the latest certificate in store that applies to my site | |
$cert = (Get-ChildItem Cert:\LocalMachine\My | | |
Where-Object {$_.Subject.Contains('*.example.com')} | | |
Sort-Object -Descending {[System.DateTime]::Parse($_.GetExpirationDateString())} | | |
Select-Object -First 1) | |
Set-Location IIS:\Sites |
I hereby claim:
To claim this, I am signing this object:
[ | |
{ | |
"name": "Amstrad CPC 6128", | |
"background": { | |
"name": "PBT Black", | |
"style": "background-image: url('/bg/plastic/pbt-black.png');" | |
}, | |
"pcb": false | |
}, | |
[ |
[ | |
{ | |
"backcolor": "", | |
"name": "Amstrad CPC 464", | |
"background": { | |
"name": "PBT Black", | |
"style": "background-image: url('/bg/plastic/pbt-black.png');" | |
} | |
}, | |
[ |
[ | |
{ | |
"backcolor": "#403030", | |
"name": "Amstrad CPC 664" | |
}, | |
[ | |
{ | |
"x": 17.25, | |
"c": "#90A0C0", | |
"t": "#101010", |
[ | |
{ | |
"name": "Amstrad CPC 464+/6128+", | |
"background": { | |
"name": "ABS WA", | |
"style": "background-image: url('/bg/plastic/abs-wa.jpg');" | |
} | |
}, | |
[ | |
{ |
#!/usr/bin/env sh | |
set -o errexit | |
set -o nounset | |
ver=$(curl https://api.github.com/repos/python/cpython/tags | jq -r 'first(.[].name | select(test("v\\d\\.\\d+\\.\\d+$")))[1:]') | |
ver2=$(echo $ver|cut -c1-3) | |
sudo apt install -y build-essential git jq libbz2-dev libc6-dev libffi-dev libgdbm-dev liblzma-dev libncurses5 libncurses5-dev libncursesw5-dev libreadline-dev libsqlite3-dev libssl-dev openssl tk-dev zlib1g-dev |
#!/usr/bin/env sh | |
ver=$(curl https://api.github.com/repos/git/git/tags | jq -r 'first(.[].name | select(test("v\\d\\.\\d+\\.\\d+$")))[1:]') | |
sudo apt install -y \ | |
dh-autoreconf libcurl4-gnutls-dev libexpat1-dev \ | |
gettext zlib1g-dev libssl1.0-dev \ | |
asciidoc xmlto docbook2x | |
# getopt |
#!/usr/bin/env sh | |
ver=$(curl https://api.github.com/repos/jonas/tig/releases/latest | jq --raw-output '.tag_name[4:]') | |
sudo apt install -y libncurses5-dev | |
wget -c https://github.com/jonas/tig/releases/download/tig-$ver/tig-$ver.tar.gz | |
tar -xzvf tig-$ver.tar.gz | |
cd tig-$ver/ | |
make prefix=/usr/local/ | |
sudo make install install-doc prefix=/usr/local/ |
$appEvents = Get-WinEvent -LogName "Microsoft-Windows-Windows Defender/Operational" | | |
Where-Object {$_.Id -eq "1123"} | |
$allBlockedProcesses = ( | |
$appEvents | | |
ForEach-Object { | |
(([xml]$_.ToXml()).Event.EventData.Data | | |
Where-Object { | |
$_.Name -eq "Process Name" | |
}).'#text' | |
} | |