Skip to content

Instantly share code, notes, and snippets.

@chk-m8
chk-m8 / cert-bot-aws-osx.sh
Last active October 12, 2021 22:59
cert-bot aws commands on osx
# Set-up
# Note: This will be our base path, since lets encrypt wants to use a folder inaccessible by new versions of osx
mkdir /Users/{YOUR_LOCAL_USER}/Documents/letsencrypt
# Read local certs
sudo docker run -it --rm --name certbot \
-v "/Users/{YOUR_LOCAL_USER}/Documents/letsencrypt:/etc/letsencrypt" \
-v "/Users/{YOUR_LOCAL_USER}/Documents/letsencrypt/lib:/var/lib/letsencrypt" \
-p 80:80 \
-e AWS_ACCESS_KEY_ID='{AWS_ACCESS_KEY_ID}' \
@chk-m8
chk-m8 / useful_html_meta_tags.html
Last active January 15, 2020 17:15
Useful HTML Meta tags
<head>
<!--
Enforce IE11 browsers to use latest renderer
Note:
This can be a problem when a customer uses work laptops.
It's not limited to just being at work, but also if a customer
tries to view your website while at work, so include this to be safe.
-->
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />