This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Instructions for setting up a virtualenv venv | |
######### | |
# SETUP # | |
######### | |
## Make sure you have python3 | |
python3 --version |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Filter function | |
function filterEmail(element, index,array){ | |
return validateEmail(element); | |
} | |
// Clean array (empty / non-valid elements are removed) | |
function validEmails(emails){ | |
var valid_emails = emails.filter(filterEmail); | |
return valid_emails; | |
} |