I hereby claim:
- I am wot123 on github.
- I am wot123 (https://keybase.io/wot123) on keybase.
- I have a public key ASDoC9LsBkz9Xn1fJJN3LrWvYR46LxvTl_uYbtRojGtumAo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
| #!/bin/bash | |
| NAME=$1 | |
| HOSTEDZONE=$2 | |
| IPADDRESS=$(curl --silent http://169.254.169.254/latest/meta-data/public-ipv4) | |
| echo "{\"Changes\":[{\"Action\": \"UPSERT\", \"ResourceRecordSet\": { \"Name\": \"$(echo $NAME)\", \"Type\":\"A\", \"TTL\":900, \"ResourceRecords\": [{\"Value\": \"$(echo $IPADDRESS)\"}]}}]}" > /tmp/dnsupdate.json | |
| aws route53 change-resource-record-sets --hosted-zone-id $HOSTEDZONE --change-batch file:///tmp/dnsupdate.json |
| ig.module( | |
| 'plugins.websocket' | |
| ) | |
| .defines(function(){ | |
| ig.Websocket = ig.Class.extend({ | |
| action: 'undefined', | |
| ws:null, | |
| enabled:false, |