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
^+\:: | |
DiscordServer = https://discord.gg/z8qBSAP | |
CountToGoDownWhenServerIsRejoined = 7 | |
; Get current mouse position and activate discord | |
MouseGetPos, xcur, ycur | |
WinActivate, ahk_exe Discord.exe | |
; Leave server |
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 | |
# Download and install Splunk | |
wget https://download.splunk.com/products/splunk/releases/7.1.2/linux/splunk-7.1.2-a0c72a66db66-linux-2.6-amd64.deb | |
sudo dpkg -i splunk-7.1.2-a0c72a66db66-linux-2.6-amd64.deb | |
sudo /opt/splunk/bin/splunk enable boot-start | |
sudo service splunk start | |
# Configure Splunk to work with ipv6 only | |
echo 'listenOnIPv6=only' >> /opt/splunk/etc/system/local/server.conf |
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
image: google/cloud-sdk:latest | |
stages: | |
- deploy | |
deploy: | |
stage: deploy | |
environment: Production | |
only: | |
- master |
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 shell variables with your contents | |
email="[email protected]" | |
authKey="" | |
zoneid="" | |
dnsrecord="" | |
domain="example.com" | |
# Collect current IP | |
current_ip=$(curl --silent --show-error --fail ipecho.net/plain) || exit |