Skip to content

Instantly share code, notes, and snippets.

View jacoby's full-sized avatar
🌮
I ❤️ Tacos

Dave Jacoby jacoby

🌮
I ❤️ Tacos
View GitHub Profile
@jacoby
jacoby / build_log
Created March 5, 2024 20:51
Build Log for trying to do Jekyll on my blog. Error on line 97,98
Run docker run \
Unable to find image 'jekyll/builder:latest' locally
latest: Pulling from jekyll/builder
df9b9388f04a: Pulling fs layer
837e9cfc7e43: Pulling fs layer
c7850f1a8c23: Pulling fs layer
6ca4c39baa3d: Pulling fs layer
daa3a8cb79d3: Pulling fs layer
227459856603: Pulling fs layer
6ca4c39baa3d: Waiting
@jacoby
jacoby / test.py
Created March 1, 2024 04:49
Python test
#!/usr/bin/env python
from sys import argv
import os
def read_file (file):
if os.path.exists(file):
with open( file , "r") as f:
words = f.read()
f.closed
@jacoby
jacoby / ash_valentine.pl
Created February 14, 2024 20:36
Perl program to show when Ash Wednesday falls on St. Valentine's Day
#!/usr/bin/env perl
use strict;
use experimental qw{say};
use DateTime;
use DateTime::Event::Easter;
my $val_day = 14;
my $val_mon = 2;
my $api = DateTime::Event::Easter->new(day=>'Ash Wednesday');
@jacoby
jacoby / build.perl-5.36.1.log
Last active July 3, 2023 18:11
Perl 5.38 not building in perlbrew on WSL
Auto-guessed '5.36.1'
Nothing else to do, '5.36.1' is fine
Beginning of configuration questions for perl5.
Checking echo to see how to suppress newlines...
...using \c
The star should be here-->*
First let's make sure your kit is complete. Checking...

Keybase proof

I hereby claim:

  • I am jacoby on github.
  • I am jacoby (https://keybase.io/jacoby) on keybase.
  • I have a public key whose fingerprint is EEFB 8804 862C ECCF A99F A873 2AEE 731D B3FB 3D5F

To claim this, I am signing this object:

#!/usr/bin/env perl
use strict;
use warnings;
use Benchmark qw(:all);
my $count = 1_000_000;
timethese(
$count,
{
@jacoby
jacoby / ladder.pl
Created October 11, 2021 04:40
Current Ladder Code
#!/usr/bin/env perl
use strict ;
use warnings ;
use feature qw{ say postderef signatures } ;
no warnings qw{ experimental } ;
use utf8 ;
use JSON ;
use List::Util qw{min} ;
@jacoby
jacoby / beating_my_head_against_a_moose.pl
Created January 19, 2021 21:35
This is my commented understanding of the suggestions, after it was made to work. Wondering if I should blog this.
#!/usr/bin/env perl
use strict;
use warnings;
# This must come before `main`. Most Moose uses will be in a
# separate module, but for the Perl Challenge code, I try to
# keep in all in one file to avoid issues.
package Stack;
@jacoby
jacoby / .vimrc
Created June 28, 2020 00:18
Dave's .vimrc
" Dave Jacoby - 2011-02-13
"
" A key to .vimrc happiness is to have an alias like
" alias vimrc="vi ~/.vimrc"
" in your .alias file or .bashrc or whatever, so, should you have
" a tweak to add or disable, you just go in and tweak it. Just
" a little pessimization removal
"
" Also, it is good to have the long version of settings in your
" configuration, so you have the best chance of reading and
@jacoby
jacoby / perl-5.30.0.log
Created October 17, 2019 16:17
Once More, With Feeling! also WSL2
Auto-guessed '5.30.0'
Nothing to do '5.30.0' is fine
Beginning of configuration questions for perl5.
Checking echo to see how to suppress newlines...
...using \c
The star should be here-->*
First let's make sure your kit is complete. Checking...