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
# Shadow | |
shadow = true; | |
no-dnd-shadow = true; | |
no-dock-shadow = true; | |
clear-shadow = true; | |
shadow-radius = 7; | |
shadow-offset-x = -7; | |
shadow-offset-y = -7; | |
# shadow-opacity = 0.7; | |
# shadow-red = 0.0; |
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
[cpu_usage] | |
command=~/.config/i3blocks/blocks/blocks.sh 1 | |
interval=5 | |
#color=#XXXXXX | |
[memory_free] | |
command=~/.config/i3blocks/blocks/blocks.sh 3 | |
interval=5 | |
#color=#XXXXXX |
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
set $mod Mod4 | |
# Font for window titles | |
font pango: System San Francisco Display 9 | |
# color | |
set $bg-color #2f343f | |
set $inactive-bg-color #4b5162 | |
set $text-color #f3f4f5 | |
set $inactive-text-color #f3f4f5 |
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
ssh-keygen -t rsa -b 4096 -N '' -C "rthijssen@gmail.com" -f ~/.ssh/id_rsa | |
ssh-keygen -t rsa -b 4096 -N '' -C "rthijssen@gmail.com" -f ~/.ssh/github_rsa | |
ssh-keygen -t rsa -b 4096 -N '' -C "rthijssen@gmail.com" -f ~/.ssh/mozilla_rsa |
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
gc D:\list.txt |test-NetConnection -port 53 | |
Test-PortConnection -Destination DC01 -Ports 363 | |
Test-PortConnection -Destination DC01 -Ports 363,80,1433 | |
Test-PortConnection -Destination DC01,DC02 -Ports 363,80,1433 | |
Test-PortConnection -Destination DC01,DC02 -Ports 363,80 | Export-Csv -Path C:\users\$env:username\desktop\results.csv -NoTypeInformation # Save it to CSV file on your desktop | |
Test-PortConnection -Destination (GC "C:\Temp\Servers.txt") -Ports 363,80,1433 | |
Test-PortConnection -Destination (GC "C:\Temp\Servers.txt") -Ports 363,80,1433 | Out-GridView -Title "Results" # Display in new pop-up window | |
https://sid-500.com/2018/02/02/powershell-test-open-tcp-ports-with-test-openport-multiple-hosts-multiple-port-numbers/ | |
http://www.powershellbros.com/test-connection-to-servers-on-several-ports/ |
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
[host_group] | |
host-1 ansible_ssh_host=192.168.0.21 node_name=foo | |
host-2 ansible_ssh_host=192.168.0.22 node_name=bar | |
[host_group:vars] | |
custom_var=asdasdasd | |
You can access host group vars using: | |
{{ hostvars['host_group'].custom_var }} |
PS > mkdir C:\work
PS > cd C:\work
PS > Invoke-WebRequest -Uri \
https://raw.githubusercontent.com/ansible/ansible/devel/examples/scripts/ConfigureRemotingForAnsible.ps1 \
-OutFile ConfigureRemotingForAnsible.ps1
PS > powershell -ExecutionPolicy RemoteSigned .\ConfigureRemotingForAnsible.ps1 -SkipNetworkProfileCheck
NewerOlder