Skip to content

Instantly share code, notes, and snippets.

View vmmartinezlona's full-sized avatar
💭
Working :'v

Montserrat Lona vmmartinezlona

💭
Working :'v
  • Mexico
View GitHub Profile
@vmmartinezlona
vmmartinezlona / aws-config.js
Created December 27, 2019 17:45
Script for upload edited image (with watermark) with gm to s3. Took the time of execution.
const AWS = require('aws-sdk');
AWS.config.update({
region: "***",
endpoint: "***",
accessKeyId: "***",
secretAccessKey: "***"
});
@vmmartinezlona
vmmartinezlona / index.js
Last active December 5, 2019 00:38
Upload a watermark image with Jimp
'use strict'
const Jimp = require('jimp');
const AWS = require('aws-sdk');
AWS.config.update({
region: '****',
endpoint: '****',
accessKeyId: '****',
secretAccessKey: '****'