Skip to content

Instantly share code, notes, and snippets.

View azat-co's full-sized avatar
🎯
Focusing

Professor Azat Mardan azat-co

🎯
Focusing
View GitHub Profile
#!/bin/bash
MODsuff=MOD
MP4suff=mp4
for src in `ls -d *.MOD` ;
do
dest=${src%.$MODsuff}.$MP4suff
echo Converting $src to $dest...
`./ffmpeg -i "$src" -s 720x405 -vcodec mpeg4 -b 2300k -deinterlace -strict -2 -aspect 16:9 -acodec aac -ab 192k -ar 44100 "$dest"`
//Executed through a self-invoking anonymous function
(function(){
//declare the variables that we will need
var imgName = "10584590_588581994607732_199003263_n.jpg";
var uriA = "http://photos-e.ak.instagram.com/hphotos-ak-xfa1/10584590_588581994607732_199003263_n.jpg";
var uri1 = "http://instagram.com/p/sLLSiTCXB5/?modal=true";
var uri2 = "http://instagram.com/p/sLLSiTCXB5/";