echo "file video1.mp4" >> filelist.txt
echo "file video2.mp4" >> filelist.txt
ffmpeg -f concat -i filelist.txt -c copy timelapse.mp4
ffmpeg -i video1.mp4 -i video2.mp4 -filter_complex "[0:v:0] [1:v:0] concat=n=2:v=1 [v]" -map "[v]" output.mp4
import hashlib | |
import datetime | |
import sys | |
import jwt | |
import requests | |
from typing import Any, Mapping, Optional, Sequence | |
# Grab from jira integration config, I think it's usually `<sentry_host>.jira` | |
JIRA_KEY = "sentry.example.com.jira" |
echo "file video1.mp4" >> filelist.txt
echo "file video2.mp4" >> filelist.txt
ffmpeg -f concat -i filelist.txt -c copy timelapse.mp4
ffmpeg -i video1.mp4 -i video2.mp4 -filter_complex "[0:v:0] [1:v:0] concat=n=2:v=1 [v]" -map "[v]" output.mp4
#!/bin/bash | |
FLICKR_API_KEY="..." | |
GOOGLE_MAPS_KEY="..." | |
CURL="curl --silent" | |
BASE_URL="https://api.flickr.com/services/rest/?api_key=${FLICKR_API_KEY}&format=json&nojsoncallback=1" | |
PAGE=1 | |
TOTAL_PAGES=$(${CURL} "${BASE_URL}&method=flickr.people.getPhotos&user_id=85777547@N00&page=${PAGE}&per_page=${PER_PAGE}" | jq -r '.photos.pages') | |
PER_PAGE=100 |
See the open_rounds.txt
file for how I mapped out the different rounds into something that sort of makes sense. The first_two_rounds.json
is just an attempt to convert that format into JSON.
#! /bin/sh | |
### BEGIN INIT INFO | |
# Provides: lsyncd | |
# Required-Start: $all | |
# Required-Stop: $all | |
# Default-Start: 2 3 4 5 | |
# Default-Stop: 0 1 6 | |
# Short-Description: starts the lsyncd daemon | |
# Description: starts lsyncd using start-stop-daemon |
## Queue | |
- List messages | |
postqueue -p | |
- Flush the queue: | |
postqueue -f | |
- Attempt deliver of one message | |
postqueue -i [ID] | |
- Delete message | |
postsuper -d [ID] |
rm -rf old.owncloud | |
cp -a owncloud old.owncloud | |
rm -rf owncloud-latest.tar.bz2 | |
wget http://download.owncloud.org/community/owncloud-latest.tar.bz2 | |
sed "s/maintenance' => false/maintenance' => true/g" owncloud/config/config.php | |
tar xf owncloud-latest.tar.bz2 | |
chmod -R 775 owncloud/config owncloud/apps | |
sed "s/maintenance' => true/maintenance' => false/g" owncloud/config/config.php |