Skip to content

Instantly share code, notes, and snippets.

View nunorafaelrocha's full-sized avatar

Nuno Rafael Rocha nunorafaelrocha

View GitHub Profile
@nunorafaelrocha
nunorafaelrocha / s3-bucket-user-policy.json
Created November 3, 2017 13:11
AWS S3 Bucket user read/write policy
{
"Version": "2012-10-17",
"Statement": [
{
"Effect": "Allow",
"Action": "s3:ListAllMyBuckets",
"Resource": "arn:aws:s3:::*"
},
{
"Effect": "Allow",
@nunorafaelrocha
nunorafaelrocha / s3-bucket-policy.json
Created November 3, 2017 13:09
AWS Public S3 Bucket policy
{
"Version": "2012-10-17",
"Statement": [{
"Sid": "AllowPublicRead",
"Effect": "Allow",
"Principal": { "AWS": "*" },
"Action": ["s3:GetObject"],
"Resource": ["arn:aws:s3:::BUCKET_NAME/*" ]
}]
}

Keybase proof

I hereby claim:

  • I am nunorafaelrocha on github.
  • I am nunorafaelrocha (https://keybase.io/nunorafaelrocha) on keybase.
  • I have a public key whose fingerprint is 5070 37AF B517 F48F 53BA 615D 34E2 CC7A 70A2 7C6B

To claim this, I am signing this object:

Verifying that +nunorafaelrocha is my openname. https://onename.io/nunorafaelrocha

tmux cheatsheet

As configured in my dotfiles.

start new:

tmux

start new with session name: