Skip to content

Instantly share code, notes, and snippets.

View openstrike's full-sized avatar
💭
Migrating repos to Gitlab which isn't owned by Microsoft

Pete Houston openstrike

💭
Migrating repos to Gitlab which isn't owned by Microsoft
View GitHub Profile
@openstrike
openstrike / dark_cpan.pl
Last active February 10, 2016 11:34 — forked from windytan/dark_cpan.pl
@namespace url(http://www.w3.org/1999/xhtml);
@-moz-document
domain('cpan.org')
{
html, body, tbody, tr, td, div { background-color: #232323 !important; color: #ccc !important }
pre {
display: block !important ;
background-color: #333333 !important ;
border: #777777 solid 0.1em !important ;
#!/usr/bin/perl
use strict;
use warnings;
use LWP::UserAgent;
print "Content-type: text/html\n\n";
my $ua = LWP::UserAgent->new;
$ua->ssl_opts ({ SSL_version => 'TLSv1_2' });
my $res = $ua->get ('https://tlstest.nochex.com');