- Open Admin PowerShell
- Run the following command
Add-WindowsCapability -Online -Name OpenSSH.Server~~~~0.0.1.0- Enable the services
Set-Service -Name ssh-agent -StartupType `Automatic`| #!/bin/sh | |
| file="$(basename -- $1)" | |
| magick convert $1 "${file%.*}.jpg" |
| #!/bin/sh | |
| ssh $(cat ~/.ssh/config | grep "Host " | awk '{print $2}' | fzf) |
| #!/bin/sh | |
| curl -sS http://ip-api.com/json/$1 | jq -r '"City: " + .city + " State: " + .region + " Country: " + .country' |
| ' VBS Script to get the Windows(R) 7 Product Key from a PC's registry. | |
| ' | |
| ' Save the VBScript as "getWin7Key.vbs" somewhere on your Windows7 PC. | |
| ' Now, when you double-click the local script file an alertbox pops up | |
| ' displaying the product key stored in the machine's Windows registry. | |
| Set WshShell = WScript.CreateObject("WScript.Shell") | |
| KeyPath = "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\DigitalProductId" | |
| MsgBox ExtractKey(WshShell.RegRead(KeyPath)) |