#!/usr/bin/env bash
# Other types of handlers, e.g. file extensions
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
U2FsdGVkX19FLm2PYcztMeAwnSO0N4nSI1hy7IKI37zG1JmFempgSnakWLBIXI9yqDbRcC66Yn3XZYINlrdWxI+PjLdRQGgmhqYKtKKZNlDjc2tqzijR5EffLBX+4cbI9m80/3e7dWpGxiTayQFUC1VxI58MnR09kcZkw/ymDJruSA1OOIw4KJAkbgGac4xd3e202YIcRnT5sfnqlNlCnFwY5rEZ8I2c4ZYas5mEC6quH5TzNfGldBrr2mWAWxYfTf8oIP35BxNpGxF3oAm+tFJh8+F+qmBu8+iE4vGHOUR/q4y5KoaaBhwyNuPkR8KNVqscFHQGYILKT58YjKdj83MIu16SpWrrFKW8lfYqS2dQxeuyptSufwvE1/vJ09UzUPbhFW2bVkiE7wUvJU25xEZHlWK1tT/Ocl1p4krSE7U0LNCoIeI4XJWKQTUOo39a9+Z080sulBk9d1Wlk8Xxh2eo9loSe82XaiD2a4RCvxvR+IbaBcZtODchO4roFzGGN2mITP8NTw/fWQRbmM6DrjLliWWtn7OuWlzMC/t5rXlZWckjY49sbLGxRd9uD2U14biGO3CJLoHBqicQ+EiulXsbU6VQjOVe4eH/kH2+ECVqk/GJNDaxNFEVG0ApTWkUDYOEBMbYMaHKiPZ2omSiVo+6Pfy7Q1Xm9yrJx0M9qp7Wo/+gvUwazOmg8fgX7Iziwx3QPdeP7XRzUJwU3GfNpM8vTBomc8OkAQyHyx1IywGJnmNnj9reutCqY8xN6k6vvzBZItTx/dA6pUjwAsQUe8PGeBKiZLjNz5SWV6uyE1/iohY2KvJgvFPBHtZfhwnu+2FudLwyg2ZWgRoOBGw7v7VbYPGDl/Fa1sQr0A/+1eCo0bT8pmh+0hnx8oIjf+fDnYYepNppb24mHBOTm9tL60lOr1HzittCHvs+i8rifg3Te/iqhftjUaV46aCouV7rE17WCqv3dSdA0E3Ojf6ASQ/V+0zhHCOXpUNW97IljikVCBWwDp0CbPP/Ob1I7d+g |
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
'use strict'; | |
const tls = require('tls'); | |
// HT: https://medium.com/@keithwan.programming/doing-ssl-certificate-expiry-alert-in-node-js-1714ef15621 | |
const HOSTNAME = 'amazon.com'; | |
const EXPIRATION_DAYS_THRESHOLD = 60; | |
function checkCertExpiry({ cert, days }) { |
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 | |
#################################################################### | |
# \\\/// # | |
# / _ _ \ # | |
# (| (.)(.) |) # | |
# .-----------------------.OOOo--()--oOOO.-----------------------. # | |
# | | # | |
# | Test whether the machine has assigned itself a random number | # | |
# | for rolling out policies in staggered groups and assign one | # |
I hereby claim:
- I am thegoodsheppard on github.
- I am thegoodsheppard (https://keybase.io/thegoodsheppard) on keybase.
- I have a public key ASBul9257xIZWdk-pcOHjI4dfYXojm_237UgUciy68lK3go
To claim this, I am signing this object: