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/perl | |
=encoding utf8; | |
=head1 NAME | |
grab-gist - download all the files in a gist | |
=head1 SYNOPSIS |
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
<html> | |
<head> | |
<title>Selector example</title> | |
</head> | |
<body> | |
<a href="https://stackoverflow.com/a/76537358/2766176">https://stackoverflow.com/a/76537358/2766176</a> | |
<div> |
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
#!/Users/brian/bin/perl | |
use v5.36; | |
use open qw(:std :utf8); | |
use Mojo::UserAgent; | |
my $ua = Mojo::UserAgent->new; | |
my( $user, $repo ) = split m|/|, $ARGV[0]; | |
my $url = $ARGV[1]; |
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
use v5.26; | |
use warnings; | |
=encoding utf8 | |
=head1 NAME | |
rt_cpan_org_export - grab the tickets for an rt.cpan.org queue | |
=head1 SYNOPSIS |
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
use v5.26; | |
use open qw(:std :utf8); | |
use Mojo::JSON qw(decode_json); | |
use Mojo::UserAgent; | |
use Mojo::Util qw(dumper); | |
# See another gist to create JSON https://gist.github.com/briandfoy/656a8986e2d998122e37486df1f1f999 | |
@ARGV = '/Users/brian/Desktop/net-ssh-perl-rt.json'; | |
my $raw = Mojo::File->new($ARGV[0])->slurp; |
OlderNewer