Skip to content

Instantly share code, notes, and snippets.

John Houghton SuperJohn

Block or report user

Report or block SuperJohn

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@SuperJohn
SuperJohn / .gitignore
Created Feb 17, 2019 — forked from ELLIOTTCABLE/.gitignore
BASH Script to keep Route53 updated with your current external IP address
@SuperJohn
SuperJohn / jupyter_userdata.sh
Created Nov 1, 2016 — forked from frangipane/jupyter_userdata.sh
configure jupyter notebook server (to be passed as user data when you launch an aws ec2 instance)
View jupyter_userdata.sh
#!/bin/bash
CERTIFICATE_DIR="/home/ubuntu/certificate"
JUPYTER_CONFIG_DIR="/home/ubuntu/.jupyter"
if [ ! -d "$CERTIFICATE_DIR" ]; then
mkdir $CERTIFICATE_DIR
openssl req -x509 -nodes -days 365 -newkey rsa:1024 -keyout "$CERTIFICATE_DIR/mykey.key" -out "$CERTIFICATE_DIR/mycert.pem" -batch
chown -R ubuntu $CERTIFICATE_DIR
fi
You can’t perform that action at this time.