This file contains 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/perl | |
use MIME::Parser; | |
use URI::Find; | |
use File::Fetch; | |
use HTML::LinkExtractor; | |
use Data::Dumper; | |
use File::Copy qw(move); | |
# Configure path for the output. | |
my $output_dir = '/home/dmillar/Dropbox/To-Solve/'; |
This file contains 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
// ==UserScript== | |
// @name Take Over(cast) | |
// @version 0.1 | |
// @namespace https://davegoesthedistance.com | |
// @description Convert Apple Podcast links to Overcast links. | |
// @author David Millar | |
// @match *://*/* | |
// @run-at document-end | |
// @run-at document-idle | |
// ==/UserScript== |
This file contains 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
var randInt = function (rMin, rMax) { | |
return (rMin + Math.floor(Math.random() * (rMax - rMin + 1))); | |
}; |