Skip to content

Instantly share code, notes, and snippets.

@iamblue
Created September 3, 2014 01:31
Show Gist options
  • Select an option

  • Save iamblue/919706b7bb99f2ff895c to your computer and use it in GitHub Desktop.

Select an option

Save iamblue/919706b7bb99f2ff895c to your computer and use it in GitHub Desktop.
//js
s3 = new aws-sdk.S3({
credentials:{
accessKeyId: $mtk.config.S3.accessKeyId,
secretAccessKey:$mtk.config.S3.secretAccessKey
}
,endpoint: $mtk.config.S3.endpoint
})
//livescript
s3 = new aws-sdk.S3 {
credentials:
accessKeyId: $mtk.config.S3.accessKeyId
secretAccessKey:$mtk.config.S3.secretAccessKey
endpoint: $mtk.config.S3.endpoint
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment