Skip to content

Instantly share code, notes, and snippets.

View karenetheridge's full-sized avatar
💭
🇹🇼🇭🇰🇺🇦"The only person who ever got his work done by Friday was Robinson Crusoe"

Karen Etheridge karenetheridge

💭
🇹🇼🇭🇰🇺🇦"The only person who ever got his work done by Friday was Robinson Crusoe"
View GitHub Profile
@karenetheridge
karenetheridge / mermaid_examples.md
Last active September 13, 2023 22:25
tests of mermaid

tests of mermaid.

Do they work in gists?

sequenceDiagram
    autonumber
    Alice->>John: Hello John, how are you?
    loop Healthcheck
        John->>John: Fight against hypochondria
@karenetheridge
karenetheridge / nopaste
Last active February 25, 2019 21:56
create csv file of relevant device_validate entries; commit 097cb34c4
use strict;
use warnings;
use feature 'say';
use Text::CSV_XS;
use DBI;
# dump (the relevant bits of) device_validate entries in a db to a csv file,
# for later processing on live systems.
# to run in a triton instance, first do:
@karenetheridge
karenetheridge / gist:eed7fdd9d2d5ef92f35c5fc0510fcb51
Created July 23, 2018 16:27
DB_File rescuing (assumes you are installing using carton, under local/)
Installing some database-related modules (such as DBD::Pg) under macos 10.13.x
(High Sierra) will be problematic because Apple is shipping a bad berkeley-db
with this OS. If you see installation issues mentioning DB_File, you've hit
this problem.
To fix, do these commands in a new shell, in the directory where you are
trying to do the module installation (so as to not pollute your existing
environment):
sudo port install db48 # you may have this already, e.g. via python27
@karenetheridge
karenetheridge / nopaste
Created July 11, 2018 20:45
ssh pubkey for ether
ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAACAQDym0FFd/irYDipkQzg3Q9qO+V4X/9d6km31qEb5ZuXsFINlKLNlPcRxQms4tlrrNph6Dx/eAcmAgy3fPMJfvfi+XI5sHTsDxFSAHSYtwJeoZ6gnFntsTzH/rLxcsIhnYH+Vs2JOTzXtN0FXKgUwcSePVul+NU4zeQBY1lIRzEkvD1xa4875RS+Z+6fWyf9lgiDDROx0lnNblpT1wI8R9dfNsTOuf0pomHAHFWsVwoLzOVtVjT7H91wroS3HSjhYMQ8f45eWfKJ8FKISsbFJV0pEy2is7NZSw+JvIYJk4U/DAceO1AD6Js7WlXTH080+Cq3kyN6gEOXdY03VTVYaTWHWJDPv+8bMuWUJk/N9jty/93MP3gVTdV0BJdscnwKsM9Qh5mwlEBsJCptrK7PFlQqxDlKNKqksEcYmrnk5DjovbUnhCR+mQzG/8GhxnA49O1yoWCdnokQgddzQnNPqGNu8j4hHx5DCQHubtEHDpyKhWPVI6zWolHC2CYHp+Q/jF3nZjrhSkI3suk4nfOxKt40zqmCdstfblorjW4qbyfe5tOJKUVIz1v43+Bo69nu8ypb6Ep20DXkEJNtLYwPcnFhuGnB9AzbMdW+J/eKynFNant6f9h3kqWJE9YcINI8D2vyrb8uezOxLjQLQJqrj/rMu1KZLgdXmyjSvHqWw6bNpw== [email protected]
@karenetheridge
karenetheridge / gist:2bfac834e063f5316dd698c35847b4ab
Created May 12, 2017 08:53
garu - cannot reproduce B::Hooks::OP::Check issue. do you see B::Hooks::OP::Check::Install::Files being installed?
: [ether@jaeger 1494578091.9720/B-Hooks-OP-Check-0.21]$; perl Makefile.PL && make && make install
Generating a Unix-style Makefile
Writing Makefile for B::Hooks::OP::Check
Writing MYMETA.yml and MYMETA.json
Running Mkbootstrap for Check ()
chmod 644 "Check.bs"
"/Volumes/amaretto/Users/ether/perl5/perlbrew/perls/25.12/bin/perl5.25.12" -MExtUtils::Command::MM -e 'cp_nonempty' -- Check.bs blib/arch/auto/B/Hooks/OP/Check/Check.bs 644
cc -c -fno-common -DPERL_DARWIN -fno-strict-aliasing -pipe -fstack-protector-strong -I/opt/local/include -O3 -DVERSION=\"0.21\" -DXS_VERSION=\"0.21\" "-I/Volumes/amaretto/Users/ether/perl5/perlbrew/perls/25.12/lib/5.25.12/darwin-2level/CORE" Check.c
rm -f blib/arch/auto/B/Hooks/OP/Check/Check.bundle
env MACOSX_DEPLOYMENT_TARGET=10.3 cc -bundle -undefined dynamic_lookup -L/opt/local/lib -fstack-protector-strong Check.o -o blib/arch/auto/B/Hooks/OP/Check/Check.bundle \
: [ether@jaeger ~]$; cpanm LWP::Protocol::https
--> Working on LWP::Protocol::https
Fetching http://mirrors.gossamer-threads.com/CPAN/authors/id/O/OA/OALDERS/LWP-Protocol-https-6.07.tar.gz ... ERROR: LWP will support https URLs if the LWP::Protocol::https module is installed.
FAIL
! Download http://mirrors.gossamer-threads.com/CPAN/authors/id/O/OA/OALDERS/LWP-Protocol-https-6.07.tar.gz failed. Retrying ...
ERROR: LWP will support https URLs if the LWP::Protocol::https module is installed.
! Download http://mirrors.gossamer-threads.com/CPAN/authors/id/O/OA/OALDERS/LWP-Protocol-https-6.07.tar.gz failed. Retrying ...
ERROR: LWP will support https URLs if the LWP::Protocol::https module is installed.
! Download http://mirrors.gossamer-threads.com/CPAN/authors/id/O/OA/OALDERS/LWP-Protocol-https-6.07.tar.gz failed. Retrying ...
! Failed to download http://mirrors.gossamer-threads.com/CPAN/authors/id/O/OA/OALDERS/LWP-Protocol-https-6.07.tar.gz
11:08 < ether> I have a message from the Perl QA Hackathon! Could System::Info be made into a debian package? is there a proper channel for making this request?
11:10 < Dom> the official way is to email the bug tracking system with an 'RFP'
11:10 < Dom> using reportbug on a debian system, or https://www.debian.org/devel/wnpp/#l2
11:10 < Dom> X-Debbugs-Cc: [email protected]
11:11 < Dom> or, persuade someone here to take care of it :)
11:15 < axhn> Or: Learn the packaging skill and find a sponsor who will do the upload
11:15 < Dom> quite
13:17 < carandraug> ether: did you open a RFP?
13:19 < ether> did not see the response until just now; I shall do so
13:19 < ether> ..or have the person making the request do so :)
11:08 < ether> I have a message from the Perl QA Hackathon! Could System::Info be made into a debian package? is there a proper channel for making this request?
11:10 < Dom> the official way is to email the bug tracking system with an 'RFP'
11:10 < Dom> using reportbug on a debian system, or https://www.debian.org/devel/wnpp/#l2
11:10 < Dom> X-Debbugs-Cc: [email protected]
11:11 < Dom> or, persuade someone here to take care of it :)
11:15 < axhn> Or: Learn the packaging skill and find a sponsor who will do the upload
11:15 < Dom> quite
13:17 < carandraug> ether: did you open a RFP?
13:19 < ether> did not see the response until just now; I shall do so
13:19 < ether> ..or have the person making the request do so :)
@karenetheridge
karenetheridge / master.out
Created September 24, 2016 19:07
Cody-TidyAll test results
# Failed test 'root_dir'
# at t/lib/Test/Code/TidyAll/Basic.pm line 485.
# (in Test::Code::TidyAll::Basic->test_cli)
# ' {backup_ttl => '15m',plugins => {},root_dir => '/private/tmp/Code-TidyAll-vD2j',verbose => 1}'
# doesn't match '(?^:root_dir\ \=\>\ \'\/tmp\/Code\-TidyAll\-vD2j\')'
# Failed test 'pipe: stdin tidied'
# at t/lib/Test/Code/TidyAll/Basic.pm line 527.
# (in Test::Code::TidyAll::Basic->test_cli)
: [ether@jaeger git/Sub-Name]$; perl Makefile.PL && make
********************************* WARNING **********************************
This module uses Dist::Zilla for development. This Makefile.PL will let you
run the tests, but you are encouraged to install Dist::Zilla and the needed
plugins if you intend on doing any serious hacking.
****************************************************************************