Skip to content

Instantly share code, notes, and snippets.

@UnixSage
UnixSage / rock-bottom-calc.pl
Last active March 17, 2018 14:53
Rock Bottom Table Generator
#!/usr/bin/perl
# mod-ead-calc
# By: John C. Place
# http://www.unixsage.com
print <<EOT
Assumptions:
<ul>
<li>Stressed diver SAC rate 1cf/min
<li>1 min to sort out problem at depth
@UnixSage
UnixSage / mod-ead-calc.pl
Last active March 17, 2018 14:35
Generate EAD (Equivalent Air Depth) tables For SCUBA Diving
#!/bin/perl
# mod-ead-calc
# By: John C. Place
# http://www.unixsage.com
print "<title>Maximim Operating Depth and Eqivlant Air Depth Table</title>\n";
print "<table border cellpadding=\"3\">\n";
print "<caption>Maximim Operating Depth and Eqivlant Air Depth Table (fsw)</caption>";
for($x=20; $x <= 100; $x+=2) {
@UnixSage
UnixSage / haproxy.cfg
Last active March 17, 2018 14:20
Using haproxy as a shim between a SSLv3 Interface and a modern browser
global
daemon
maxconn 1028
tune.ssl.default-dh-param 1024
user haproxy
group haproxy
log 127.0.0.1 local0
defaults
timeout connect 5000ms

Keybase proof

I hereby claim:

  • I am unixsage on github.
  • I am unixsage (https://keybase.io/unixsage) on keybase.
  • I have a public key whose fingerprint is 8ED3 5054 68A8 86AF 537B AD5B 2CFD B395 BE67 3984

To claim this, I am signing this object: