Skip to content

Instantly share code, notes, and snippets.

Avatar
:atom:
But still, like dust, I'll rise.

Ahmed Ali meetAhmed

:atom:
But still, like dust, I'll rise.
View GitHub Profile
View app.js
var command;
const fs = require('fs');
function some(){
const ffmpegInstaller = require('@ffmpeg-installer/ffmpeg');
var ffmpeg = require('fluent-ffmpeg');
ffmpeg.setFfmpegPath(ffmpegInstaller.path);
command = ffmpeg();
createVideo(command);
@meetAhmed
meetAhmed / email.js
Created Aug 17, 2019
Code for sending the verification emails in node js using the nodemailer and uuid library. This script exports the sendVerificationEmail method that takes two parameters email address and callback for the response to the calling agent.
View email.js
var nodemailer = require('nodemailer');
const uuid = require('uuid');
var transporter = nodemailer.createTransport({
service : 'gmail',
auth : {
user : '',
pass : ''
}
});
You can’t perform that action at this time.