On channels in videos tab you can sort videos by:
- Most popular
- Date added (oldest)
- Date added (newest)
But you cannot sort by length. So I decided to create a bookmarklet to do it in ascending order.
| javascript:(function(){l=[].map.call(document.querySelectorAll("span.ytd-thumbnail-overlay-time-status-renderer"),function(e){l=e.innerHTML.trim().split(":").map(function(t){return parseInt(t)}).reduce(function(p,c){return p*60+c});return{a:e.parentElement.parentElement.parentElement,l:l}}).sort(function(a,b){return a.l-b.l});i=document.querySelector("#primary #items");l.forEach(function(o){i.appendChild(o.a.parentElement.parentElement.parentElement)})})() |
| Make plzip compilable on MSYS2+MinGW-w64. | |
| It's Hannes Domani's plzip.patch taken from: | |
| http://download.savannah.gnu.org/releases/lzip/plzip/plzip-1.1-w.zip | |
| that was applied against plzip 1.7: | |
| http://download.savannah.gnu.org/releases/lzip/plzip/plzip-1.7.tar.gz | |
| changed to not artificially limit number of threads (the limit was 32), | |
| and finally diff has been regenerated using output with unified context. | |
| --- a/decompress.cc 2018-02-07 20:17:00.000000000 +0100 |
| #!/bin/sh | |
| # SPDX-License-Identifier: MIT | |
| ## Copyright (C) 2017 Przemyslaw Pawelczyk <[email protected]> | |
| ## | |
| ## This script is licensed under the terms of the MIT license. | |
| ## https://opensource.org/licenses/MIT | |
| # | |
| # abuild.sh | |
| # Simplistic abuild wrapper for building packages out-of-the-tree. |
| #!/bin/sh | |
| # SPDX-License-Identifier: MIT | |
| ## Copyright (C) 2017 Przemyslaw Pawelczyk <[email protected]> | |
| ## | |
| ## This script is licensed under the terms of the MIT license. | |
| ## https://opensource.org/licenses/MIT | |
| # | |
| # Traffic control - Make DNS requests delayed and low priority on Linux. |
| #!/bin/sh | |
| # SPDX-License-Identifier: MIT | |
| ## Copyright (C) 2016 Przemyslaw Pawelczyk <[email protected]> | |
| ## | |
| ## This script is licensed under the terms of the MIT license. | |
| ## https://opensource.org/licenses/MIT | |
| # Reassemble arguments (support-most-cases implementation) |
| Make pigz.c (2.4) compilable on MSYS2+MinGW-w64. | |
| diff --git a/pigz.c b/pigz.c | |
| index bbbfd2cd19a1..85a61eeca674 100644 | |
| --- a/pigz.c | |
| +++ b/pigz.c | |
| @@ -324,6 +324,11 @@ | |
| // Use large file functions if available. | |
| #define _FILE_OFFSET_BITS 64 | |
| Package: * | |
| Pin: release n=jessie-backports | |
| Pin-Priority: 800 | |
| Package: * | |
| Pin: release n=jessie-updates | |
| Pin-Priority: 700 | |
| Package: * | |
| Pin: release n=jessie |
| ### default values: sensitivity=128, speed=97 | |
| ACTION=="add", SUBSYSTEM=="input", ATTR{name}=="TPPS/2 IBM TrackPoint", ATTR{device/sensitivity}="196", ATTR{device/speed}="255" |