What this will cover
- Host a static website at S3
- Redirect
www.website.com
towebsite.com
- Website can be an SPA (requiring all requests to return
index.html
) - Free AWS SSL certs
- Deployment with CDN invalidation
#!/bin/bash | |
wget -O - https://repo.saltstack.com/apt/ubuntu/14.04/amd64/latest/SALTSTACK-GPG-KEY.pub | sudo apt-key add - | |
echo "deb http://repo.saltstack.com/apt/ubuntu/14.04/amd64/latest trusty main" > /etc/apt/sources.list.d/salt.list | |
apt-get update | |
apt-get install salt-minion |
#!/bin/bash | |
wget -O - https://repo.saltstack.com/apt/ubuntu/12.04/amd64/latest/SALTSTACK-GPG-KEY.pub | sudo apt-key add - | |
echo "deb http://repo.saltstack.com/apt/ubuntu/12.04/amd64/latest precise main" > /etc/apt/sources.list.d/salt.list | |
apt-get update | |
apt-get install salt-minion |
#!/usr/bin/env python3 | |
# Based on Ted Bensons' script to identify Amazon Dash buttons hardware MAC addresses | |
# Original post: | |
# https://blog.cloudstitch.com/how-i-hacked-amazon-s-5-wifi-button-to-track-baby-data-794214b0bdd8 | |
# Since then, it seems Amazon updated the buttons to behave differently -or the script in the blog had an error. | |
# IMPORTANT: Read the comments!!! | |
from scapy.all import * |
#!/bin/bash | |
ls -lha ~/Library/Keychains/login.keychain |