Skip to content

Instantly share code, notes, and snippets.

View sabasm's full-sized avatar
🌵

Sabas Mendivil sabasm

🌵
  • Hermosillo
View GitHub Profile
@sabasm
sabasm / index.js
Created May 17, 2019 23:18 — forked from Roverr/index.js
const nodemailer = require('nodemailer');
const key = require('./key.json');
// Change this to one of your email addresses in the organisation
const YOUR_EMAIL_ADDRESS = 'info@your_company.com';
// Change this to the receiver to the mail
const SEND_TO = 'receiver@other_company.com'
async function start() {
@sabasm
sabasm / JS | Basic Algorithms
Created October 30, 2018 02:18
MEX Pair Programing Ejercicio 1 Luis Cascajares Sabás Mendívil
var hacker1 = "Luis"
console.log("The driver's name is "+hacker1)
var hacker2 = prompt("¿Cual es tu nombre?")
console.log("The navigator's name is "+hacker2)
if (hacker1.length > hacker2.length){
console.log("The Driver has the longest name, it has "+hacker1.length+" characters")
}
else if (hacker1.length < hacker2.length){
console.log("Yo, navigator got the longest name, it has "+hacker2.length+" characters")