Updated: Just use qutebrowser (and disable javascript). The web is done for.
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
| public class MyApp extends Application { | |
| @Override | |
| public void onCreate() { | |
| TypefaceUtil.overrideFont(getApplicationContext(), "SERIF", "fonts/Roboto-Regular.ttf"); // font from assets: "assets/fonts/Roboto-Regular.ttf | |
| } | |
| } |
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
| <?php | |
| date_default_timezone_set('GMT'); | |
| //1- file we want to serve : | |
| $data_file = "/home/f0rud/Aalto Talk with Linus Torvalds [Full-length].mp4"; | |
| $data_size = filesize($data_file); //Size is not zero base | |
| $mime = 'application/otect-stream'; //Mime type of file. to begin download its better to use this. | |
| $filename = basename($data_file); //Name of file, no path included |