Skip to content

Instantly share code, notes, and snippets.

Arun Avanathan avanathan

Block or report user

Report or block avanathan

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@avanathan
avanathan / SendEmailWithSTARTTLS-Ruby
Last active Jan 29, 2019
Ruby: Send Email with STARTTLS
View SendEmailWithSTARTTLS-Ruby
msgstr = <<END_OF_MESSAGE
From: Your Name <from@email.domain>
To: Destination Address <to@email.domain>
Subject: test message
Date: Sat, 19 Jan 2019 16:26:43 +0900
Message-Id: blah123
This is a test message. Now I can use your email address to send emails..yay!!!
END_OF_MESSAGE
@avanathan
avanathan / javahome.txt
Last active Jul 28, 2018
Setting JAVA HOME
View javahome.txt
export JAVA_HOME="$(dirname $(dirname $(realpath $(which javac))))"
You can’t perform that action at this time.