This file contains hidden or 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
| # Create a new caption file | |
| ~~~~~~~~ | |
| ffmpeg -i captions.srt captions.ass | |
| ~~~~~~~~ | |
| # Add subtitles to main video without changing it | |
| ~~~~~~~~ | |
| ffmpeg -i video.mp4 -vf "subtitles=captions.ass:force_style='OutlineColour=&H80000000,BorderStyle=4,Outline=1,Shadow=0,MarginV=20'" subtitled-video.mp4 |
This file contains hidden or 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
| ffmpeg -i original.mp4 -vcodec h264 -acodec aac compressed.mp4 |
This file contains hidden or 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
| var divs = document.querySelectorAll('.button'); [].forEach.call(divs, function(div) { div.click();}); |
This file contains hidden or 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
| for (x = app.todos.models.length - 1; x >= 0; x--) { | |
| app.todos.models[x].destroy() | |
| } |
This file contains hidden or 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
| for (x = 0; x < 100; x++) { | |
| app.todos.create({ | |
| title: "todo ".concat(x), | |
| order: app.todos.nextOrder(), | |
| completed: false | |
| }) | |
| } |
This file contains hidden or 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
| var zTypeBotAlphaChars = "abcdefghijklmnopqrstuvwxyz"; | |
| var zTypeBotCharToType = 0; | |
| ztypebot = setInterval(function() { | |
| ig.game.shoot( | |
| zTypeBotAlphaChars.charAt(zTypeBotCharToType)); | |
| zTypeBotCharToType = (zTypeBotCharToType +1)%26; | |
| } | |
| , 100); |
This file contains hidden or 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
| javascript:(function(){var%20cats=document.querySelectorAll(%22li.status%22);%20for%20(var%20i%20=%200,%20len%20=%20cats.length;%20i%20%3C%20len;%20i++)%20%7B%20cats%5Bi%5D.innerHTML%20+=%20%22%5Binfo%5D%22.link(%22https://httpstatuses.com/%22+cats%5Bi%5D.innerText);%20%7D})() |
NewerOlder