what does this product do?
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
$ ANSIBLE_CALLBACK_WHITELIST=cprofile CPROFILE_FILTERS=ansible.plugins.connection,ansible.executor.task_executor ansible-playbook -i localhosts whoami.yml | |
PLAY [My Cool Play] ************************************************************************************************************************************************************************************************************************** | |
TASK [Check who I am 1] ********************************************************************************************************************************************************************************************************************** | |
changed: [localhost0] | |
changed: [localhost1] | |
TASK [Check who I am 2] ********************************************************************************************************************************************************************************************************************** | |
changed: [localhost0] |
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
""" | |
This class makes creating a REST handler for Splunk easier. | |
The class will automatically call a function within the class based on the path and the method. | |
For example, if a GET call is made to the path "ping", then this class will call the function | |
get_ping(). | |
Below is an example. |
The set
lines
- These lines deliberately cause your script to fail. Wait, what? Believe me, this is a good thing.
- With these settings, certain common errors will cause the script to immediately fail, explicitly and loudly. Otherwise, you can get hidden bugs that are discovered only when they blow up in production.
set -euxo pipefail
is short for:
set -e
set -u
I use a cheap Tapo C100 webcam to monitor my 3D prints. It supports RTSP.
- Go to the Cameras section at https://connect.prusa3d.com
- Add a new camera.
- Click the QR code link
- Click "Start Camera"
OlderNewer