Syncing a bucket doesn't seem to copy the access rights for files. This script changes the
acl for all objects in the bucket to public-read
require 'aws-sdk'
region_code = 'REGION_CODE_HERE'
aws_access_key = 'ACCESS_KEY_ID_HERE'
Rehearsal -------------------------------------------- | |
option1: 0.711160 0.076554 0.787714 ( 0.796558) | |
option2: 0.327121 0.003232 0.330353 ( 0.334768) | |
----------------------------------- total: 1.118067sec | |
user system total real | |
option1: 0.718185 0.075168 0.793353 ( 0.802384) | |
option2: 0.322129 0.001361 0.323490 ( 0.325277) |
class ResistorColorDuo | |
attr_reader :color_bands | |
COLORS = { 'black' => 0, | |
'brown' => 1, | |
'red' => 2, | |
'orange' => 3, | |
'yellow' => 4, | |
'green' => 5, | |
'blue' => 6, |
I hereby claim:
To claim this, I am signing this object:
{ | |
"~ " = ("insertText:", "💩"); | |
} |