Skip to content

Instantly share code, notes, and snippets.

View oalders's full-sized avatar
🚀
https://www.olafalders.com/2026/01/15/can-others-explain-my-work-without-me/

Olaf Alders oalders

🚀
https://www.olafalders.com/2026/01/15/can-others-explain-my-work-without-me/
View GitHub Profile
{
"Try-Tiny" : {
"0.22" : {
"coverage" : {
"total" : {}
}
},
"0.23" : {
"coverage" : {
"total" : {}
@oalders
oalders / getting-started-with-vim.md
Last active October 23, 2018 20:02
Getting started with vim
lafs-MacBook-Pro:~ olafalders$ curl -I http://cpan.metacpan.org/authors/id/E/ET/ETHER/Try-Tiny-0.23.tar.gz
HTTP/1.1 404 Not Found
Server: nginx
Content-Type: text/html
Accept-Ranges: bytes
Content-Length: 162
Accept-Ranges: bytes
Date: Fri, 19 Oct 2018 19:04:00 GMT
Via: 1.1 varnish
Age: 0
$ git diff lib
diff --git a/lib/lazy.pm b/lib/lazy.pm
index 1d9169d..c5c90fe 100644
--- a/lib/lazy.pm
+++ b/lib/lazy.pm
@@ -84,9 +84,15 @@ sub import {
# Don't try to install if we're called inside an eval
my @caller = caller(1);
- return
$ cat data-printer.pl
use strict;
use warnings;
use Data::Printer;
my @foo = ( 0..9 );
my %bar = @foo;
p @foo;
@oalders
oalders / gist:daea95d7bfb705d9402accccef3b15f4
Created June 7, 2018 14:28
MetaCPAN vs s.c.o. traffic
These are from the "Behavior - All Pages" on the Google Analytics.
1-30 April 2018 (1 month)
PageViews Entrances
MetaCPAN 432,079 169,513
sco 644,029 283,986
31 May 2017 - 30 April 2018 (1 year)
PageViews Entrances
MetaCPAN 5,056,676 1,829,039
@oalders
oalders / meta-hack-v2-sponsors.html
Last active November 19, 2017 16:20
meta::hack v2 sponsors
<a href="https://booking.com" target="_blank">Booking.com</a>,
<a href="https://cpanel.com" target="_blank">cPanel</a>,
<a href="https://servercentral.com" target="_blank">ServerCentral</a>,
<a href="https://kritika.io" target="_blank">Kritika</a>
#!/bin/sh
# Use this script on Vagrant to arbitrarily upgrade modules without running
# 'vagrant provision'
cpanm --local-lib $HOME/carton/metacpan-api $@
# Rewrite the cpanfile.snapshot
PERL_CARTON_PATH=$HOME/carton/metacpan-api carton
olaf$ dzil -I ../Dist-Zilla-PluginBundle-Author-OALDERS/lib build
[@Author::OALDERS/stale modules, build] checking for stale modules...
[DZ] beginning to build WWW-Mechanize-Cached
[@Author::OALDERS/@Git::VersionManager/RewriteVersion::Transitional] no version found in environment or file; falling back to {{null}}
Use of uninitialized value $str in index at /Users/olaf/.plenv/versions/5.26.0/lib/perl5/site_perl/5.26.0/String/RewritePrefix.pm line 41.
Use of uninitialized value $str in index at /Users/olaf/.plenv/versions/5.26.0/lib/perl5/site_perl/5.26.0/String/RewritePrefix.pm line 41.
Use of uninitialized value $str in index at /Users/olaf/.plenv/versions/5.26.0/lib/perl5/site_perl/5.26.0/String/RewritePrefix.pm line 41.
Use of uninitialized value $str in index at /Users/olaf/.plenv/versions/5.26.0/lib/perl5/site_perl/5.26.0/String/RewritePrefix.pm line 41.
Use of uninitialized value $str in substr at /Users/olaf/.plenv/versions/5.26.0/lib/perl5/site_perl/5.26.0/String/RewritePrefix.pm line 47.
`Dist::Zilla
vagrant@metacpan-dev:~/metacpan-api$ ./bin/run bin/metacpan river
GET http://neilb.org/river-of-cpan.json.gz
.-----------------+--------------------------------.
| Request Header | Value |
+-----------------+--------------------------------+
| Accept-Encoding | gzip, x-gzip, deflate, x-bzip2 |
| User-Agent | libwww-perl/6.15 |
'-----------------+--------------------------------'