ffmpeg -an -i input.mov -vcodec libx264 -pix_fmt yuv420p -colorspace bt709 -color_trc bt709 -color_primaries bt709 -color_range tv output.mp4
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
# Install GCC 4.7.3 | |
sudo apt-add-repository ppa:ubuntu-sdk-team/ppa | |
sudo apt-get update | |
sudo apt-get install -y build-essential | |
# Install CMake 2.8.10.1 | |
sudo apt-get install -y cmake cmake-curses-gui | |
wget http://netcologne.dl.sourceforge.net/project/opencvlibrary/opencv-unix/2.4.5/opencv-2.4.5.tar.gz | |
tar -xf opencv-2.4.5.tar.gz |
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
{ | |
"so_SO":"Af-Soomaali", | |
"af_ZA":"Afrikaans", | |
"az_AZ":"Azərbaycan dili", | |
"id_ID":"Bahasa Indonesia", | |
"ms_MY":"Bahasa Melayu", | |
"jv_ID":"Basa Jawa", | |
"cx_PH":"Bisaya", | |
"bs_BA":"Bosanski", | |
"br_FR":"Brezhoneg", |
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
<?php | |
/** | |
* Facebook Languange Code list Array PHP. | |
* | |
* Locales taken from http://www.facebook.com/translations/FacebookLocales.xml | |
* | |
* Last Updated: 22/02/2017 | |
* | |
* @author Lasida Azis | |
* Inspiration from SVC Invoke |
cd images/
find . -iname "*.jp*" -print0 | xargs -0 jpegoptim -v --strip-exif --strip-iptc --strip-xmp --all-progressive
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
import string | |
import random | |
import requests | |
collection_id = '<YOUR COLLECTION ID>' | |
uid = ''.join(random.choices(string.digits, k=18)) | |
cookies = { | |
'first_visit_src': 'collection_share_desktop', |