I hereby claim:
- I am paulwakeford on github.
- I am paulwakeford (https://keybase.io/paulwakeford) on keybase.
- I have a public key whose fingerprint is CDF6 C159 2E43 E8FB DB9D 8E8E E2D3 637E DD58 0463
To claim this, I am signing this object:
#!/bin/bash | |
for region in `aws ec2 describe-regions --region us-east-1 --output text | cut -f3` | |
do | |
echo -e "Enabling GuardDuty in region:'$region'..." | |
aws guardduty create-detector --enable --region $region | |
done |
var http = require('http'); | |
exports.handler = function (event, context) { | |
var options = {}; | |
options.host = "YOUR_HOST"; | |
options.port = "YOUR_PORT"; | |
options.path = '/YOUR_ROOM/state'; | |
console.log("doing initial GET " + options.host + ":" + options.port + options.path ); | |
http.get(options, function(res) { | |
console.log("in first get block"); | |
var body = ''; |
#!/bin/sh | |
############################################################################### | |
# | |
# Script to recursively search a directory and batch convert all files of a given | |
# file type into another file type via HandBrake conversion. | |
# | |
# To run in your environment set the variables: | |
# hbcli - Path to your HandBrakeCLI | |
# |
I hereby claim:
To claim this, I am signing this object:
for i in `aws ec2 describe-regions --region ap-southeast-2 --query 'Regions[*].RegionName' --output text`; do aws cloudtrail --region $i create-trail --name Default --s3-bucket-name BUCKETNAME-HERE `[[ "$i" = "ap-southeast-2" ]] && echo "--include-global-service-events" || echo "--no-include-global-service-events"`; aws cloudtrail --region $i start-logging --name Default; done |