A list of useful commands for the FFmpeg command line tool.
Download FFmpeg: https://www.ffmpeg.org/download.html
Full documentation: https://www.ffmpeg.org/ffmpeg.html
A list of useful commands for the FFmpeg command line tool.
Download FFmpeg: https://www.ffmpeg.org/download.html
Full documentation: https://www.ffmpeg.org/ffmpeg.html
| #Insall Ajenti | |
| apt-get update | |
| wget http://repo.ajenti.org/debian/key -O- | apt-key add - | |
| echo "deb http://repo.ajenti.org/ng/debian main main ubuntu" >> /etc/apt/sources.list | |
| apt-get update | |
| apt-get install ajenti | |
| service ajenti restart | |
| # Uninstall Apache2 | |
| sudo apt-get autoremove && sudo apt-get remove apache2* |
This Gist has been move to: https://github.com/lbgists/getmyip.
| // all this `toJSON()` does is filter out any circular refs. all other values/refs, | |
| // it passes through untouched, so it should be totally safe. see the test examples. | |
| // only extend the prototype if `toJSON` isn't yet defined | |
| if (!Object.prototype.toJSON) { | |
| Object.prototype.toJSON = function() { | |
| function findCircularRef(obj) { | |
| for (var i=0; i<refs.length; i++) { | |
| if (refs[i] === obj) return true; | |
| } |