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
| #!/bin/bash | |
| # ./pushover.sh -t "Pushover via Bash" -m "Pushover message sent with bash from $(hostname -f)" -p1 -s siren -u http://www.google.com -n "Google" | |
| USER_TOKEN=YOUR_USER_TOKEN_HERE | |
| # YOUR APPS TOKENS / UPPERCASE NAME WITH _TOKEN (usage: "-a monitor" uses MONITOR_TOKEN) | |
| MONITOR_TOKEN=APP_TOKEN | |
| BACKUP_TOKEN=APP_TOKEN | |
| ALERT_TOKEN=APP_TOKEN | |
| APP_LIST="monitor, backup, alert" # FOR USAGE |
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 | |
| # Download HTML converted from provided Markdown, using GitHub API v3 | |
| ## | |
| md2html(){ | |
| if [[ $# -ne 2 ]]; then | |
| echo "ERROR.\nSYNTAX: Markdown_To_HTML <markdown-filepath> <dest-html-filepath>" | |
| return | |
| fi | |
| unset _markdown_filepath |
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
| gource -1920x1080 --title "MyTitle" --hide filenames --stop-at-end --file-idle-time 0 -o temporary.ppm --seconds-per-day .00050 ~/prj/svn/myproject | |
| ffmpeg -y -r 60 -f image2pipe -vcodec ppm -i temporary.ppm -vcodec libx264 -pix_fmt yuv420p -crf 1 -threads 0 -bf 0 -preset slow finalVideo.mp4 |
NewerOlder