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 / locale.i
Last active April 22, 2025 17:17
make locale.i
# 1 "locale.c"
# 1 "<built-in>" 1
# 1 "<built-in>" 3
# 466 "<built-in>" 3
# 1 "<command line>" 1
# 1 "<built-in>" 2
# 1 "locale.c" 2
# 330 "locale.c"
# 1 "./config.h" 1
# 331 "locale.c" 2
@karenetheridge
karenetheridge / locale.i
Created April 22, 2025 16:48
make locale.i
# 1 "locale.c"
# 1 "<built-in>" 1
# 1 "<built-in>" 3
# 466 "<built-in>" 3
# 1 "<command line>" 1
# 1 "<built-in>" 2
# 1 "locale.c" 2
# 330 "locale.c"
# 1 "./config.h" 1
# 331 "locale.c" 2
@karenetheridge
karenetheridge / nopaste
Created April 20, 2025 22:26
PERL_DEBUG_FULL_TEST=2 ./perl -Ilib -T -DLv lib/locale.t ../lib/locale 2>&1 | gist
This file has been truncated, but you can view the full file.
./vutil.c: 686: lc_numeric_standard now locked to depth 1
./vutil.c: 686: lc_numeric_standard now unlocked
./vutil.c: 686: lc_numeric_standard now locked to depth 1
./vutil.c: 686: lc_numeric_standard now unlocked
./vutil.c: 686: lc_numeric_standard now locked to depth 1
./vutil.c: 686: lc_numeric_standard now unlocked
./vutil.c: 686: lc_numeric_standard now locked to depth 1
./vutil.c: 686: lc_numeric_standard now unlocked
./vutil.c: 686: lc_numeric_standard now locked to depth 1
@karenetheridge
karenetheridge / nopaste
Created April 20, 2025 22:25
./perl -Ilib -T -DLv lib/locale.t ../lib/locale 2>&1 | gist
This file has been truncated, but you can view the full file.
./vutil.c: 686: lc_numeric_standard now locked to depth 1
./vutil.c: 686: lc_numeric_standard now unlocked
./vutil.c: 686: lc_numeric_standard now locked to depth 1
./vutil.c: 686: lc_numeric_standard now unlocked
./vutil.c: 686: lc_numeric_standard now locked to depth 1
./vutil.c: 686: lc_numeric_standard now unlocked
./vutil.c: 686: lc_numeric_standard now locked to depth 1
./vutil.c: 686: lc_numeric_standard now unlocked
./vutil.c: 686: lc_numeric_standard now locked to depth 1
@karenetheridge
karenetheridge / offer.txt
Created April 9, 2025 19:30
Shoppers Drug Mart offer, April 6
Full text of offer is:
---
Get $40 off when you redeem 30,000 points. That's an extra $10!
1:23 PM to 11:59 PM Today only
Start Date: Sunday April 6th
End Date: Sunday April 6th
Good for: Almost anything in the store. Certain restrictions apply. This offer cannot be combined
@karenetheridge
karenetheridge / repro.pl
Last active February 18, 2025 19:10
mysterious bug in HTTP::Headers::Fast::XS (?)
# vim: set ts=8 sts=2 sw=2 tw=100 et :
use strict;
use warnings;
use 5.020;
use experimental 'signatures';
use Data::Dumper;
use List::Util 'pairs';
use HTTP::Request;
use URI;
@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]