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
| // Version 2.0.1 | |
| // This script will remove all videos from watch later list | |
| // | |
| // Usage | |
| // | |
| // #1 go to https://www.youtube.com/playlist?list=WL | |
| // #2 run following script in your browser console | |
| (async function() { | |
| const playlistName = document.querySelector('.metadata-wrapper #container #text')?.textContent || document.querySelector('#text')?.textContent |
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 | |
| # WARNING!! | |
| # This will obliterate all the data in your partition!! (not actually true, but act as if it was) | |
| # Do NOT execute this script if you don't fully understand it! | |
| # a few vars | |
| amount_of_swap=$( free --si -g | grep Mem: | gawk '{ print $2 + 1}' ) | |
| # create directories |