This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
TOKEN="Your-Duck-DNS-Token" | |
BASEDOMAIN=`echo ${CERTBOT_DOMAIN} | awk -F. '{OFS="."; print $(NF-1),$(NF)}'` | |
echo $CERTBOT_DOMAIN | |
curl "https://www.duckdns.org/update?domains=${CERTBOT_DOMAIN}&token=${TOKEN}&txt=${CERTBOT_VALIDATION}" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
if [ $# -ne 1 ] ; then | |
echo "Need File Name" | |
exit | |
fi | |
s3AccessKey="##ACCESS##" | |
s3SecretKey="##SECRET##" | |
s3Bucket="data.example.com" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python3 | |
import socket | |
import datetime | |
domainlist = { | |
'home.mydomain.com': 'user.myisp.net', | |
'mydomain.com': 'account.myhosting.com' | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python3 | |
import json | |
import requests | |
import os,sys,time,getopt | |
import configparser | |
helpinfo=""" | |
Usage: | |
-s IncludeList |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python3 | |
# This program is free software: you can redistribute it and/or modify | |
# it under the terms of the GNU General Public License as published by | |
# the Free Software Foundation, either version 3 of the License, or | |
# (at your option) any later version. | |
# | |
# This program is distributed in the hope that it will be useful, | |
# but WITHOUT ANY WARRANTY; without even the implied warranty of | |
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python3 | |
from random import choice,shuffle | |
import string | |
password=[] | |
words=[] | |
shortwords=[] | |
wordfile=open("/usr/share/dict/words") |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
frontend localnodes | |
bind :::443 v4v6 | |
mode tcp | |
default_backend nodes | |
timeout client 1m | |
backend nodes | |
mode tcp | |
balance roundrobin | |
server W.X.Y.Z:443 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
KEY="GoDaddyAuthKey" | |
SECRET="GoDaddySecret" | |
APISITE="api.godaddy.com" | |
BASEDOMAIN=`echo ${CERTBOT_DOMAIN} | awk -F. '{OFS="."; print $(NF-1),$(NF)}'` | |
SUBDOMAIN=`echo ${CERTBOT_DOMAIN} | sed -e 's/'${BASEDOMAIN}'//' -e 's/\.$//'` |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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) { |