Skip to content

Instantly share code, notes, and snippets.

View lilmuckers's full-sized avatar

Patrick McKinley lilmuckers

View GitHub Profile
@lilmuckers
lilmuckers / README.md
Last active September 3, 2019 14:13
AWS S3 bucket region move

AWS S3 Bucket Region Migration

This is a simple script to "automate" the migration of a bucket between regions on AWS.

The way that AWS is built makes it annoyingly difficult to move an S3 bucket between regions. This is often nessecary if you have a case where a AWS service that reads from S3 isn't available in the region you have your data - so moving the bucket is the best way to ensure that the service can access the data quickly and without additinoal S3 costs.

This is only really an issue on data heavy applications like EMR, Athena, Sagemaker, Quicksight, and suchlike.

This tool was written very quickly so i didn't have to babysit the process overnight, and could verify the results in the morning after the job had completed.

@lilmuckers
lilmuckers / builder.lua
Last active December 1, 2020 14:23
Compact Claustrophobia - Simplified robot builder lib for the shrrinking projector field
-- This was written for shrinking field automation in Compact Claustrophobia modpack
-- This modpack has disabled the navigation upgrade, so navigation is done relative
-- to the starting point, and waypoints are handled with keyed in
-- Starting point is x,y,z - 0,0,0
-- This does not use the minecraft coordinate paradigm because i don't find that intuitive
-- and it kept tripping me up when writing the code.
-- therefore - relative the robots starting position:
-- X -> +ve forward, -ve backwards