Skip to content

Instantly share code, notes, and snippets.

View GoofProg's full-sized avatar

GoofProg GoofProg

  • Las Vegas
View GitHub Profile
@GoofProg
GoofProg / gist:5002e17cafb48ef77204ec0aa637cf8a
Created December 4, 2017 00:43
Getting the new openshot working.....or maybe the old one....
Using debian derivative OS, use the PPA for blender.
This one https://launchpad.net/~thomas-schiex/+archive/ubuntu/blender
@GoofProg
GoofProg / gist:3e644439ef6cbf0e82bb4632a0cb1832
Created November 30, 2017 20:52
People need to use STL!
I think the main problem with using STL is when a custom template object is used and the compiler gets upset that it does not match up with the otehr standard template objects. That is because overloaded operators need to be written.
@GoofProg
GoofProg / gist:4ecfcdb697b7697fded60ba70b687207
Created November 21, 2017 23:23
Extract all tar files and decompress - 7zip
rem make sure 7zip is in command path. You may have to add it
rem navagate to tar files
for /f "delims=" %a in ('dir /b *.tar') do 7z x "%a"
for /f "delims=" %a in ('dir /s /b *.rar') do 7z "%a"
@GoofProg
GoofProg / gist:6913f200b36acee00da57c27a19d795c
Created October 30, 2017 15:48
transcode all mkv media to SD 128K 44.1k using ffmpeg (Linux)
find -name "*.mkv" -exec ffmpeg -i {} -c:v libx264 -c:a mp3 -ar 44100 -ab 128k -vf scale=-2:360 {}-H264-SD.mp4 \;
@GoofProg
GoofProg / gist:879975295e36ea6b1a362cda0f8f3243
Created October 30, 2017 15:12
to clear the screen in linux console
clear