Last active
December 17, 2015 19:28
-
-
Save JamesPrudente/5660184 to your computer and use it in GitHub Desktop.
command line
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
MKV to MP4 | |
ffmpeg -i input.mkv -vcodec copy -acodec copy output.mp4 | |
copy file from vagrant | |
scp -P 2222 -i ~/.vagrant.d/insecure_private_key [email protected]:/home/vagrant/hipache/docker.png . | |
parse json | |
echo "{'cat':'dog'}" | python -c "json=eval(''.join(__import__('sys').stdin.readlines()));print json['cat']" | |
format json | |
curl localhost:4243/images/json?all=0 | python -mjson.tool | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment