#!/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
U2FsdGVkX1+JSlGUhXTIJmmcSBRzyI+6ITm5CqXwUirG3M7NLekbEB4cVC/3tB9xZOCGu02k6zz8D0LpVYx4Xj6muBKFIaT1Wjnz0VaSyqGuSPsmDKOfHq2jwMiU7rdRejunFNIHExAJwv4Oih8YlmJ8+m6+OQXv8ldL2q3zrHbl20xVFOSaA+Y2g53omiwLHInVu4aNaZYQOkbXinG+nnMHsvgX8K3d6hmkjO4KGkFFNyPCBZF59s1C3PpeJ4vikaNu0Fk01BR3iB5hpSD7wy1Lj/AUwWFkCUJ/oFXN/Nxz97r3ynAlj525mm/tr93/O2LSeFyfEIIt327l/EI9YALakWHpcWCori0CKYMpWyx5GDkKz/+HnX6c1gah92MPy5a/mzZB/TSvt1ZiyUQGp58dgI/ty7CNeqshaF8LiQr3IPhXKinma+eGxIjs1rhdIyQGRhVpFEHQOuJl3cFBjDKxtDRpj7DcvRMFCqVXpq37g/DgU8rVmRvmx9sfSK4Dbt9OZvPVjlHOM3PF8w1us+St/iNfeTkinl+i5rssfJmnUbZK5o8fPEGxRz5VL0zC4UNnnwB7A3c1VOzBKMliwlg43RC7sk/f4UVmmTPkvkOEDu9zNZ1Gf8RqcHYDI8OnRVEUf0hZqCj9lFhaKma/qCZEP1rTKa9qR7L8d8j5+VkgNXxjd8SudIdHek0jceaprsZ8RosCtvZuEfR6XJJJ2A1TG2InDnyBsC8sAmjoTKx3CT4L87HxxEvBt8mgYTxqYKjSM0wChIZ0cDsKFJc2/hsC09aWlgYuBm7yNcV0iF72weycNH0AGiU4M1/AVR8r0Sed/oOfxZNAIJiAt4jDwB8kIwTvIOx0zAsdwN6jWLGG5mHjFerg1SAeVzYXOSblFWtqNd/oPmRLDZWv5zh3K5gGeR5ToVLiUewToccUMzxChT7t7NRDercYR+cAEJTxD0YttqDL7NP+lENKDvY8EaMDKW8IXWCE29MTaQjQJxRiUldy/XGNxPM6zcI8Tx5E |
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: