Skip to content

Instantly share code, notes, and snippets.

View grantm's full-sized avatar

Grant McLean grantm

View GitHub Profile
@grantm
grantm / gist:5242453
Created March 26, 2013 01:47
cpan-api test failures
$ prove -l -v
t/fakecpan.t ..
ok 1 - got ElasticSearch object
ok 2 - Connected to the ElasticSearch test instance on 127.0.0.1:9900
ok 3 - put mapping
ok 4 - remove old fakepan
ok 5 - make fake cpan
ok 6 - index fakecpan
ok 7 - latest
ok 8 - index authors
@grantm
grantm / console.log
Created December 22, 2015 06:03
DNS queries against Slingshot nameservers
~$ host www.lighthousepetone.co.nz 202.180.64.10
Using domain server:
Name: 202.180.64.10
Address: 202.180.64.10#53
Aliases:
Host www.lighthousepetone.co.nz not found: 2(SERVFAIL)
~$ host www.lighthousepetone.co.nz 202.180.64.11
Using domain server:
Name: 202.180.64.11
$the_cow = <<EOC;
$thoughts
$thoughts __
/ \\
| |
@ @
|| ||
|| ||
|\\_/|
\\___/
@grantm
grantm / metacpan-v1-fields.md
Created November 13, 2016 20:43
Metacpan API /v1 fields
### Keybase proof
I hereby claim:
* I am grantm on github.
* I am grantmnz (https://keybase.io/grantmnz) on keybase.
* I have a public key ASCDS3p9-PMlPFwXwLZqwrGgF5c2zAE8XKb0aEODSMQNBQo
To claim this, I am signing this object:
@grantm
grantm / no-more-f-s-git-log.txt
Last active April 1, 2022 19:57
git log for the repo with no more f***s to give
$ git clone https://github.com/grantm/no-more-f-s-repo.git
Cloning into 'no-more-f-s-repo'...
remote: Enumerating objects: 279, done.
remote: Counting objects: 100% (279/279), done.
remote: Compressing objects: 100% (97/97), done.
remote: Total 279 (delta 87), reused 279 (delta 87), pack-reused 0
Receiving objects: 100% (279/279), 22.66 KiB | 2.83 MiB/s, done.
Resolving deltas: 100% (87/87), done.
$ cd no-more-f-s-repo/
$ git --no-pager log