This file contains 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
#!/bin/bash | |
### usage ./convert.sh game | |
## where game is baseName of the export | |
if [ ! "$1" ]; then | |
read -p 'Game name: ' game | |
else | |
game="$1" | |
fi |
This file contains 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
<# | |
.SYNOPSIS | |
Daily Threat Hunting script. | |
.DESCRIPTION | |
The DailyThreatHunting.ps1 script prints out: | |
- commandline history, | |
- newly installed softwares, | |
- newly installed services, | |
- processes creating network connections, |
This file contains 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
# Enable Windows Firewall | |
Set-NetFirewallProfile -Profile Domain,Public,Private -Enabled True | |
# SMB # require elevated privileges # | |
## Turn on SMB signing and encryption | |
Set-SmbServerConfiguration -RequireSecuritySignature $True -EnableSecuritySignature $True -EncryptData $True -Confirm:$false -Verbose | |
## Turn off the default workstations shares | |
Set-SmbServerConfiguration -AutoShareWorkstation $False -Confirm:$false -Verbose |
This file contains 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
blueprint: | |
name: Low electricity price | |
description: 'This automation blueprint sends a notification on low energy price.' | |
domain: automation | |
input: | |
energy_sensor: | |
name: Tibber price sensor | |
selector: | |
entity: | |
integration: tibber |
This file contains 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
blueprint: | |
name: High electricity price | |
description: 'This automation blueprint sends a notification on high energy price.' | |
domain: automation | |
input: | |
energy_sensor: | |
name: Tibber price sensor | |
selector: | |
entity: | |
integration: tibber |