running:
bash create-vod-hls.sh beach.mkv
will produce:
beach/
|- playlist.m3u8
|- 360p.m3u8
| // ==UserScript== | |
| // @name youtube popup killer | |
| // @namespace http://tampermonkey.net/ | |
| // @version 0.3 | |
| // @description try to take over the world! | |
| // @author Selbereth | |
| // @match https://*.youtube.com/* | |
| // @icon https://www.google.com/s2/favicons?sz=64&domain=youtube.com | |
| // @grant none | |
| // ==/UserScript== |
running:
bash create-vod-hls.sh beach.mkv
will produce:
beach/
|- playlist.m3u8
|- 360p.m3u8
| Note for newcomers: | |
| In the shortcuts below, "C" stands for CTRL and "A" stands for "ALT". This is a convention | |
| used in the Midnight Commander documentation and was kept here. | |
| You can also use "ESC" instead of "ALT", which is useful on Macbooks. | |
| Main View | |
| --------------------------------------------------------------- | |
| - File/directory operations |
These are my notes basically. At first i created this gist just as a reminder for myself. But feel free to use this for your project as a starting point. If you have questions you can find me on twitter @thomasf https://twitter.com/thomasf This is how i used it on a Debian Wheezy testing (https://www.debian.org/releases/testing/)
Discuss, ask questions, etc. here https://news.ycombinator.com/item?id=7445545
| <?php | |
| /* Gets individual core information */ | |
| function GetCoreInformation() { | |
| $data = file('/proc/stat'); | |
| $cores = array(); | |
| foreach( $data as $line ) { | |
| if( preg_match('/^cpu[0-9]/', $line) ) | |
| { | |
| $info = explode(' ', $line ); | |
| $cores[] = array( |
| #!/usr/bin/env python | |
| import paramiko | |
| hostname = 'localhost' | |
| port = 22 | |
| username = 'foo' | |
| password = 'xxxYYYxxx' | |
| if __name__ == "__main__": |