echo "Enter m3u8 link:";read link;echo "Enter output filename:";read filename;ffmpeg -i "$link" -bsf:a aac_adtstoasc -vcodec copy -c copy -crf 50 $filename.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
| {% embed 'partials/base.html.twig' %} | |
| {% block content %} | |
| {% set taxname = uri.query|split('=')[0] %} | |
| {% set taxval = uri.query|split('=')[1]|replace({'+':" "}) %} | |
| {% if taxname %} | |
| {% set c = breadcrumbs.get() %} |
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
| map $cookie_skip_http_auth $auth_type { | |
| default "Restricted Area"; | |
| "123" "off"; | |
| } | |
| server { | |
| location /setauthcookie { | |
| add_header Set-Cookie "skip_http_auth=123"; | |
| return 301 http://example.com; | |
| } |
This guide is unmaintained and was created for a specific workshop in 2017. It remains as a legacy reference. Use at your own risk.
Workshop Instructor:
- Lilly Ryan @attacus_au
This workshop is distributed under a CC BY-SA 4.0 license.
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
| // Using this code, we can retrieve an image from a user's filesystem, resize the image, and then upload the image | |
| // to a server using AJAX. Because we use base64 encoding, we can just include the image data as just another string value | |
| // in a JSON payload. | |
| // So we can use AJAX to send the file to a server, which is convenient. | |
| // We have one line of relevant html | |
| // get file in the first place => <input type="file" custom-on-change="onAcqImageFileChange" class="form-control"> |
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
| #!/usr/bin/env bash | |
| # SOURCES: | |
| # https://gist.github.com/pirafrank/18d62c062e2806c1d183 | |
| # SEE THIS EXCELLENT SITE IF GIST FAILS: | |
| # https://office-reset.com | |
| # activate verbose standard output (stdout) | |
| set -v |
Make sure there is at least one file in it (even just the README.md)
ssh-keygen -t rsa -C "[email protected]"
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
| blockquote,body,h1,li,ol,p,table,td,th,tr,ul{margin:0;padding:0;font-size:100%}strong{color:#333;!important}h2{color:white;!important}input{background-color:#333333;!important}body{padding-bottom:10px;color:white;font-family:"Helvetica Neue", Helvetica, Arial, sans-serif;text-rendering:optimizeLegibility;background-color:#333333}small{font-size:0.8em}hr{border:0;height:0;border-top:1px solid rgba(0, 0, 0, 0.1);border-bottom:1px solid rgba(255, 255, 255, 0.3)}.page{margin-left:10px;margin-right:10px;background-color:#333333}.margin-top{margin-top:20px}.margin-bottom{margin-bottom:20px}.pull-right{text-align:right}ul.no-bullet li{list-style-type:none;margin-left:0}#app-loading-icon{position:fixed;right:3px;bottom:3px}.assign-me{vertical-align:bottom}a{color:#fff;border:none}a:focus{outline:0;color:#DF5353;text-decoration:none}a:hover{color:white;text-decoration:none}a .fa{padding-right:3px;text-decoration:none;color:333}h1,h2,h3{font-weight:normal;color:white}h1{font-size:1.5em}h2{font-size:1.4em;margin-bottom: |
Calibre is a powerful cross-platform, open source, ebook manager and editing platform. Its calibre-server component can be used to publish an e-book library on a local network. While you can launch calibre-server as a desktop application, it can also be run as a daemon on a headless Linux server.
This tutorial on setting up calibre-server using Ubuntu 14.04 is very good, but dated.
- Copy-paste to split book into separate chapter files
- Fix inline spans broken by a space after a word before the closing
* - Remove image width and height inherited from images in docx
- Wrap all images in an Electric Book figure blockquote
- Simplify indentation in lists by reducing space after list marker to one space
- Remove non-kramdown markdown
^around superscripts after numbers - Wrap the opening words of a paragraph in a span
- Find an email address
