Examples here use the default settings, see the VidStab readme on GitHub for more advanced instructions.
Here's an example video I made
brew install ffmpeg --with-libvidstab
| # List disks | |
| diskutil list | |
| # Unmount selected disk | |
| diskutil unmountDisk /dev/diskX | |
| # Copy the content of the system image in the device | |
| sudo dd bs=1m if=raspbian.img of=/dev/rdiskX conv=sync | |
| # Sync changes | |
| sync |
| # Author: https://twitter.com/kageiit/status/955717679435911169 | |
| find ~/.gradle -type f -atime +30 -delete | |
| find ~/.gradle -type d -mindepth 1 -empty -delete |
| # Send message | |
| WEBHOOK_URL="<SLACK_WEBHOOK_URL>" | |
| curl -X POST --data "payload={\"text\": \":robot_face: MESSAGE\"}" ${WEBHOOK_URL} | |
| # Rename versions and send them to Slack | |
| SLACK_CHANNEL='#example' | |
| SLACK_TOKEN='<SLACK_TOKEN>' | |
| FILE_PATH="./path-to-file"; | |
| echo "Sending $FILE_PATH to Slack"; | |
| curl -F file=@"$FILE_PATH" -F channels=${SLACK_CHANNEL} -F token=${SLACK_TOKEN} https://slack.com/api/files.upload; |
| # | |
| # https://dade.co.za/2016/06/17/simple-python-script-to-send-a-pushbullet-image/ | |
| # | |
| import json | |
| import requests | |
| import sys | |
| import os | |
| # This is not a valid token, get your access token from https://www.pushbullet.com/#settings |
| # | |
| # https://stackoverflow.com/a/10312587/2271287 | |
| # | |
| git branch -r | grep -v '\->' | while read remote; do git branch --track "${remote#origin/}" "$remote"; done | |
| git fetch --all | |
| git pull --all |
Examples here use the default settings, see the VidStab readme on GitHub for more advanced instructions.
Here's an example video I made
brew install ffmpeg --with-libvidstab
| #!/usr/bin/python | |
| # -*- coding: UTF-8 -*- | |
| import pycurl | |
| import json | |
| import time | |
| from StringIO import StringIO | |
| # | |
| # Inspired by this Ruby version: https://gist.github.com/jamescmartinez/909401b19c0f779fc9c1 |