- Access the Alexa Developer Console: Go to https://developer.amazon.com/alexa/console/ask.
- Create a New Skill: Click on Create Skill, give it a name, and choose your preferred language.
- Choose a Template: Select the "Start from Scratch" template and leave the rest as the default.
This file contains hidden or 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
#!/usr/bin/env bash | |
# ssh targets and log search pattern | |
user="root" # remote ssh user | |
hostlist="host1.example.com host2.example.com host3.example.com" # space-separated ssh hosts list | |
remote_logfile="/var/log/syslog" | |
search_pattern="Session" # can use regexps here (grep -E) | |
# trap ctrl-c for named pipe cleanup and ssh process killing | |
trap 'echo -e "\n\nCleaning up..."; for pid in $children; do kill -9 $pid 2>/dev/null; done; rm "$HOME/tailpipe"; exit 0' INT |
This gist has moved to its own repository HERE
See you there!