-i
- ignore errors
-c
- continue
-t
- use video title as file name
--extract-audio
- extract audio track
<!DOCTYPE html> | |
<html lang="en-US"> | |
<head> | |
<meta charset="UTF-8"> | |
<title>Nostr Static</title> | |
<style> | |
article { | |
margin-bottom: 1rem; | |
border-top: 1px solid #999; | |
} |
# Forces HTTPS redirect on all requests | |
server { | |
listen 80 default_server; | |
listen [::]:80 default_server; | |
server_name _; | |
return 301 https://$host$request_uri; | |
} | |
pact install python-setuptools python-ming | |
pact install libxml2-devel libxslt-devel libyaml-devel | |
curl -skS https://bootstrap.pypa.io/get-pip.py | python | |
Optional/Not sure what these are for: | |
pip install virtualenv | |
curl -skS https://raw.githubusercontent.com/mitsuhiko/pipsi/master/get-pipsi.py | python |
#!/bin/bash | |
#To execute it directly: sudo bash <(curl -s https://gist.githubusercontent.com/agarzon/ecb0b92d4c8e1bbde126534c76721a58/raw/install-php-tools.sh) | |
BIN_PATH=/usr/local/bin/ | |
#COMPOSER | |
sudo curl -LsS https://getcomposer.org/composer.phar -o ${BIN_PATH}composer | |
sudo chmod a+x ${BIN_PATH}composer |
# Set php version through phpenv. 5.3, 5.4 and 5.5 available | |
phpenv local 5.4 | |
# == install pecl extensions | |
yes yes | pecl install imagick | |
# == prepare composer | |
composer config -g github-oauth.github.com "$GITHUB_ACCESS_TOKEN" #make sure this env var is configured in your project settings. otherwise remove this line. | |
# update phpunit | |
composer global remove "phpunit/phpunit" --update-with-dependencies |
# Built application files | |
/*/build/ | |
# Crashlytics configuations | |
com_crashlytics_export_strings.xml | |
# Local configuration file (sdk path, etc) | |
local.properties | |
# Gradle generated files |
# losslessly concat mp4 files | |
ffmpeg -i input1.mp4 -c copy -bsf:v h264_mp4toannexb -f mpegts intermediate1.ts | |
ffmpeg -i input2.mp4 -c copy -bsf:v h264_mp4toannexb -f mpegts intermediate2.ts | |
ffmpeg -i "concat:intermediate1.ts|intermediate2.ts" -c copy -bsf:a aac_adtstoasc output.mp4 | |
# concat files with the same format | |
# 1. create a file list | |
file '/path/to/file1' | |
file '/path/to/file2' | |
file '/path/to/file3' |