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
#!/usr/bin/env bash | |
# Requirements: | |
# brew install gource libav ffmpeg | |
# Feel free to play around with these to test! | |
FILENAME="output" # mp4 extension is currently hardcoded | |
TITLE="Datadog Agent" # This title goes bottom left | |
FRAMERATE="25" # Pick 25, 30, 60 | |
RESOLUTION="3840x2160" # Examples: 1920x1080, 3840x2160, 1280×720 |
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
` # \ | |
# PowerShell Param statement : every line must end in #\ except the last line must with <#\ | |
# And, you can't use backticks in this section #\ | |
param( [ValidateSet('A','B')]$tabCompletionWorksHere, #\ | |
[switch]$andHere #\ | |
) <#\ | |
#^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ` | |
#vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv | |
# Bash Start ------------------------------------------------------------ |
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
from dogapi import dog_http_api as api | |
##### Parameters ##### | |
# Credentials | |
api.api_key = 'my_api_key' | |
api.application_key = 'my_application_key' | |
# Dashboard information | |
title = "Test Quentin via API" |
OlderNewer