Skip to content

Instantly share code, notes, and snippets.

Avatar

Dennis J. Bell dennisjbell

View GitHub Profile
@dennisjbell
dennisjbell / breathe.pl
Created Sep 16, 2020
Breathe - calculate death in minutes for a given room dimension
View breathe.pl
#!/usr/bin/env perl
use List::Util qw/sum reduce/;
use Data::Dumper;
use Pry;
print STDERR "ERROR: Specify 3 dimensions of the room\n"
if (@ARGV != 3) || grep {$_ !~ /\d+(\.\d+)?/} @ARGV;
my @room_in_ft = @ARGV;
View gist:70f868cee5678786b06bf36b95782ee6
#!/usr/bin/env perl
# License: MIT
# Most content reused from https://github.com/genesis-community/genesis
use strict;
use warnings;
use CWD ();
use Data::Dumper;
View example jq issue
$ cat > json
[{
"values": [
{
"skip_ssl_validation": false
}
],
"default": false,
"example": null
}]
View keybase.md

Keybase proof

I hereby claim:

  • I am dennisjbell on github.
  • I am dennisjbell (https://keybase.io/dennisjbell) on keybase.
  • I have a public key whose fingerprint is 4C84 1077 7DEE 2F3A 58CA 3A8F 1AA1 5CC4 E9F1 EB67

To claim this, I am signing this object:

View gist:950148
server {
listen 80;
server_name employeehomeview.com;
rewrite ^(.*)$ https://$host$1 permanent;
}
View gist:270983
relation.sort_by { |r| [ -r[:age], r[:name] ] }
relation.order { |r| [ -r[:age], r[:name] ] }
relation.order_by { |r| [ -r[:age], r[:name] ] }
relation.sort_by([ -relation[:age], relation[:name] ])
relation.order([ -relation[:age], relation[:name] ])
View gist:215609
5602 15 23.0 MB 0.4 MB PassengerNginxHelperServer /usr/lib/passenger /usr/bin/ruby 3 4 0 3 0 300 1 nobody 101 440 /tmp/passenger.5592
5611 1 50.3 MB 8.5 MB Passenger spawn server
5639 1 199.0 MB 102.4 MB Passenger ApplicationSpawner: /data/sizzix_2_us/current
You can’t perform that action at this time.