I hereby claim:
- I am incognitosj on github.
- I am swapniljain13 (https://keybase.io/swapniljain13) on keybase.
- I have a public key ASAclapamgrN47p8BeZ6T24b74IgScmxJ9KWYCq8yu-0Ugo
To claim this, I am signing this object:
<div id="fb-root"></div> | |
<script> | |
(function(d, s, id) { | |
var js, fjs = d.getElementsByTagName(s)[0]; | |
if (d.getElementById(id)) return; | |
js = d.createElement(s); | |
js.id = id; | |
js.src = "//connect.facebook.net/en_US/all.js#xfbml=1&appId={yourAppId}"; | |
fjs.parentNode.insertBefore(js, fjs); |
<html lang="en"> | |
<head> | |
<meta charset="utf-8"> | |
<title> | |
FB like | |
</title> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
<meta name="description" content=""> | |
<meta name="author" content=""> |
<span class="sub-title"> | |
{Description} | |
</span> |
<div> | |
//Paste the code you got from twitter here | |
</div> |
# to generate your dhparam.pem file, run in the terminal | |
openssl dhparam -out /etc/nginx/ssl/dhparam.pem 2048 |
/** | |
* label: gmail label to be read | |
**/ | |
function readGmailLabel(label) { | |
var emails = []; | |
var label = GmailApp.getUserLabelByName(label); | |
var threads = label.getThreads(); | |
for (var j = threads.length - 1; j >= 0; j--) { | |
emails.push({ |
/** | |
* text: data from which data needs to be parsed | |
* regularExpression: Regular expression | |
**/ | |
function extractData(text, regularExpression) { | |
var regex = new RegExp(regularExpression); | |
var res = body.match(regex); | |
return res; | |
} |
/** | |
* method for parsing the data | |
**/ | |
function parseEmail() { | |
var emails = readGmailLabel("your label here"); | |
var parsedData = []; | |
var data, parsedRegex; | |
for (var i = 0; i < emails.length; i++) { | |
data = [] |
I hereby claim:
To claim this, I am signing this object: