Skip to content

Instantly share code, notes, and snippets.

View 12q's full-sized avatar

Slava Plisco 12q

  • mobndev.com
  • Kyiv
View GitHub Profile
@12q
12q / gist:7025140
Created October 17, 2013 13:43
readline 6.2 make install error (from zhbluatoic)
cd shlib
sed -e 's/-dynamic/-dynamiclib/' Makefile > Makefile.good
mv Makefile.good Makefile
cd ..
make
sudo make install
@12q
12q / gist:7333239
Created November 6, 2013 09:20
shell imagemagick convert tif to png
for file in *; do convert $file "${file%.tif}.png"; done
@12q
12q / gist:7529207
Created November 18, 2013 15:02
remove the last commit from repo
git push -f origin HEAD^:master
@12q
12q / gist:7910559
Created December 11, 2013 13:37
osx; terminal; macos; extract tar
tar -zxvf filename.tar
for s in *.MOV;
do echo "$s";
mediainfo $s | grep com.apple.quicktime.model;
done;