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
GroupAdd, WinGroupFolder, ahk_class CabinetWClass | |
GroupAdd, WinGroupFolder, ahk_class ExploreWClass | |
#IfWinActive ahk_group WinGroupFolder | |
F1::Suspend | |
q:: | |
t:: | |
f:: | |
g:: | |
d:: |
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 | |
AWS_PROFILE="YOUR-AWS-PROFILE" | |
AWS_REGION="YOUR-AWS-REGION" | |
# OLD INSTANCE INFO | |
OLD_INSTANCE_ID="i-0123456789abcdef0" | |
OLD_INSTANCE_VOLUME_ID="vol-0123456789abcdef0" | |
OLD_INSTANCE_MOUNT_POINT="/dev/sda1" |
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 | |
# Edit these variables: | |
# Make sure that the PROJECT is something unique, | |
# since the s3 bucket name needs to be globally unique | |
export PROJECT="YOUR_PROJECT" | |
export AWS_REGION="YOUR_REGION" | |
export BUCKET="${PROJECT}-terraform-state-files" | |
export LOCK_TABLE="${PROJECT}-terraform-locks" |
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
function transfer --description 'Easy file sharing from the command line using http://transfer.sh' | |
if test (count $argv) -eq 0 | |
echo -e "No arguments specified. Usage:\necho transfer /tmp/test.md\ncat /tmp/test.md | transfer test.md"; | |
return 1; | |
end | |
set tmpfile ( mktemp -t transferXXX ); | |
if tty -s | |
set basefile (basename $argv[1] | sed -e 's/[^a-zA-Z0-9._-]/-/g'); | |
curl -v --progress-bar --upload-file $argv[1] "https://transfer.sh/$basefile" 2>&1 | grep -i 'https://transfer.sh' >> $tmpfile; | |
else |
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 | |
# | |
# This script copies our domain cert over to the gateway. We use a wildcard cert so we can have | |
# different names for the guest portal and main admin page if we want. | |
# | |
# Our pub ssh key is in /root/.ssh/authorized_keys on the gateway so we | |
# don't need a password to run it. | |
# | |
# Call this from cron once in a while to make sure your cert stays updated. | |
# Not too often though as it restarts the whole network container which isn't very desireable. |
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 | |
############################################################################################ | |
# Run the script as ./unraid-traefik-labels.sh main_clicks <APP_NAME> <APP_PORT> # | |
# Example: ./unraid-traefik-labels.sh main_clicks my-app 5554 # | |
# # | |
# To get coordinates for click options place your mouse on the desired location and use: # | |
# eval $(xdotool getmouselocation --shell) # | |
# echo $X # | |
# echo $Y # |
OlderNewer