Skip to content

Instantly share code, notes, and snippets.

Avatar
💭
Working :'v

Montserrat Lona vmmartinezlona

💭
Working :'v
View GitHub Profile
@vmmartinezlona
vmmartinezlona / aws-config.js
Created Dec 27, 2019
Script for upload edited image (with watermark) with gm to s3. Took the time of execution.
View aws-config.js
const AWS = require('aws-sdk');
AWS.config.update({
region: "***",
endpoint: "***",
accessKeyId: "***",
secretAccessKey: "***"
});
@vmmartinezlona
vmmartinezlona / index.js
Last active Dec 5, 2019
Upload a watermark image with Jimp
View index.js
'use strict'
const Jimp = require('jimp');
const AWS = require('aws-sdk');
AWS.config.update({
region: '****',
endpoint: '****',
accessKeyId: '****',
secretAccessKey: '****'
You can’t perform that action at this time.