Skip to content

Instantly share code, notes, and snippets.

View rjbs's full-sized avatar
🤝
here to help

Ricardo Signes rjbs

🤝
here to help
View GitHub Profile
15:39 <@rjbs> Last night, I dreamed I was a rapper.
15:39 <@rjbs> I was asked to come to the funeral of a fan I had never met and eulogize her.
15:40 <@arcanez> did you?
15:40 <@autarch> and you laid down some mad rhymez there?
15:41 <@rjbs> No, I did my best to do a good job. I think I was part of a duo and my counterpart did not take things as seriously.
15:41 <@hanekomu> certainly repressed sexual desires or traumatic events, as Freud would say. :)
15:42 * rjbs watches the cornfield out the window.
15:42 < daxelrod> Nah, he would chalk it up to repressed sexual desires *for* traumatic events
15:47 * stevan would totally take a rjbs/stevan rap duo seriously
15:47 <@stevan> the Moose-Tang Clan
#!/usr/bin/env python
from rich import print
from rich.table import Table
from rich.text import Text
table = Table(show_header=True, header_style="bold magenta")
table.add_column("Issue", width=8)
table.add_column("S", width=1)
table.add_column("Pri", width=3)
table.add_column("Title", no_wrap=True)
#!/bin/env perl
use v5.36.0;
my $fn = $ARGV[0];
my @output;
{
open my $fh, '<', $fn;
my @input = <$fh>;
#!/usr/bin/env python3.7
import iterm2
import re
async def main(connection):
app = await iterm2.async_get_app(connection)
# This regex splits the font into its name and size. Fonts always end with
# their size in points, preceded by a space.
r = re.compile(r'^(.* )(\d*)$')
use reqwest::blocking::Client;
use reqwest::header::{AUTHORIZATION,CONTENT_TYPE};
use serde::{Serialize, Deserialize};
use std::collections::HashMap;
use std::env;
#[derive(Serialize, Deserialize, Debug)]
struct FilterOperator {
operator: String,
conditions: Vec< HashMap<String, JMAPArgValue> >,
5.6.0
5.004 -> 5.6.0 = 660,232 lines
5.6.0 -> 5.6.1 = 214,426 lines
5.6.1 -> 5.6.2 = 155,160 lines
5.8.0
5.6.0 -> 5.8.0 = 1,341,129 lines
5.8.0 -> 5.8.1 = 554,396 lines
5.8.1 -> 5.8.2 = 56,646 lines
cpanm (App::cpanminus) 1.7044 on perl 5.034000 built for darwin-2level
Work directory is /Users/rjbs/.cpanm/work/1622558772.78238
You have make /usr/bin/make
You have LWP 6.54
You have /usr/bin/tar: bsdtar 3.3.2 - libarchive 3.3.2 zlib/1.2.11 liblzma/5.0.5 bz2lib/1.0.6
You have /usr/bin/unzip
Searching Test2::Harness () on cpanmetadb ...
--> Working on Test2::Harness
Fetching http://www.cpan.org/authors/id/E/EX/EXODIST/Test2-Harness-1.000056.tar.gz
-> OK
203263 ExtUtils::MakeMaker
173535 Test::Simple
120299 Cwd
77311 List::Util
68507 Carp
59047 File::Temp
49478 Exporter
37483 Data::Dumper
36013 IO
35946 Encode
11 Devel-ebug
11 Device-WebIO
11 Dist-Zilla-Plugin-AssertOS
11 Dist-Zilla-Plugin-ChangelogFromGit
11 Dist-Zilla-Plugin-CheckIssues
11 Dist-Zilla-Plugin-Prepender
11 Dist-Zilla-Plugin-SchwartzRatio
11 Dist-Zilla-Plugin-StaticVersion
11 Dist-Zilla-Role-MetaCPANInterfacer
11 Dist-Zilla-Stash-PodWeaver