Skip to content

Instantly share code, notes, and snippets.

View yzhernand's full-sized avatar

Yozen Hernandez yzhernand

View GitHub Profile
@yzhernand
yzhernand / divorce_daemon.txt
Created April 7, 2015 02:22
Divorce daemon
_____________________________________
< You will be divorced within a year. >
-------------------------------------
\ , ,
\ /( )`
\ \ \___ / |
/- _ `-/ '
(/\/ \ \ /\
/ / | ` \
O O ) / |
@yzhernand
yzhernand / pwc_17_ch-1.pl
Created July 21, 2019 04:08
Perl Weekly Challenge #17 Challenge 1 - Solution with benchmarking and tests
#!/usr/bin/env perl
use v5.24;
use strict;
use warnings;
use feature qw(signatures);
no warnings "experimental::signatures";
use Carp;
use Benchmark::Forking qw(cmpthese);
use Memoize;
@yzhernand
yzhernand / pwc_17_ch-2.pl
Last active July 21, 2019 05:49
Perl Weekly Challenge #17, Challenge 2 - Solution with benchmarking and tests
#!/usr/bin/env perl
use v5.24;
use strict;
use warnings;
use feature qw(signatures);
no warnings "experimental::signatures";
use Carp;
use utf8;
use open ':std', ':encoding(UTF-8)';
@yzhernand
yzhernand / 99-noto-mono-color-emoji.conf
Last active November 10, 2023 14:33 — forked from IgnoredAmbience/99-noto-mono-color-emoji.conf
Noto Emoji Color fontconfig for Konsole
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<!--
Noto Mono + Color Emoji Font Configuration.
This config seems to ensure that *all* monospace fonts are affected without breaking
<code> blocks elsewhere. The significant change appears to be setting binding="weak"
on line 22.
Currently the only Terminal Emulator I'm aware that supports colour fonts is Konsole.
@yzhernand
yzhernand / find_cnrp.pl
Created March 23, 2021 21:28
Perl script for searching antiSMASH 5 genbank result files for cationic nonribosomal lipopeptide (CNRLP). Used in an upcoming publication.
#!/usr/bin/env perl
# You may distribute this module under the same terms as perl itself
# POD documentation - main docs before the code
=head1 NAME
find_cnrp.pl
=head1 SYNOPSIS