I hereby claim:
- I am heitortsergent on github.
- I am heitortsergent (https://keybase.io/heitortsergent) on keybase.
- I have a public key whose fingerprint is A20D FDA0 B5F9 3EC8 DBC3 D37F A4D5 19A7 E9F8 CFF3
To claim this, I am signing this object:
app.post('/login', function(req,res) { | |
console.log('user email: ', req.body.email); | |
res.render('index', {title: 'Sent authentication email'}); | |
}); | |
app.get('/verify_email', function(req,res) { | |
console.log('verify_email token: ',req.query.token); | |
res.render('index', {title: 'Authenticating...'}); |
{ | |
"trigger_url": "https://api.runscope.com/radar/81de52ef-ccf6-4063-ba43-d4755b29d05f/trigger", | |
"name": "Stoplight-GitHub Sync", | |
"version": "1.0", | |
"exported_at": 1505331232, | |
"steps": [ | |
{ | |
"headers": {}, | |
"url": "https://api.stoplight.io/v1/versions/version-id-here/export/oas.json", | |
"variables": [ |
<!DOCTYPE html> | |
<html> | |
<head> | |
<title>Layouts » Hero-Thirds</title> | |
<link rel="stylesheet" type="text/css" href="../../assets/lib/bootstrap/dist/css/bootstrap.min.css" /> | |
<link rel="stylesheet" type="text/css" href="../../assets/css/keen-dashboards.css" /> | |
</head> | |
<body class="application"> | |
<div class="navbar navbar-inverse navbar-fixed-top" role="navigation"> |
Use the extraction endpoint first to make sure you're getting just the events you want to delete. Adjust it by changing the timeframe and filters parameters: | |
# GET | |
$ curl https://api.keen.io/3.0/projects/:PROJECT_ID/queries/extraction?api_key=READ_KEY&event_collection=EVENT_COLLECTION&timeframe=this_1_days | |
After you're sure of getting only the events you want to delete, just make a DELETE request to the endpoint below, with the same parameters you used in the previous request (with the exception of the MASTER_KEY in place of the READ_KEY): | |
# DELETE | |
$ curl https://api.keen.io/3.0/projects/:PROJECT_ID/events/:EVENT_COLLECTION?api_key=MASTER_KEY&timeframe=TIMEFRAME&filters=FILTERS |
MailMessage mail = new MailMessage(); | |
mail.From = new MailAddress(fromEmail); | |
mail.To.Add(toEmail); | |
mail.Subject = subject; | |
mail.Body = body; | |
mail.Headers.Add("X-SMTPAPI", xsmtpapiJSON); | |
SmtpClient smtpServer = new SmtpClient("smtp.sendgrid.net"); | |
smtpServer.Port = 587; |
public void SendSendgridEmailWebAPI () { | |
string url = "https://sendgrid.com/api/mail.send.json?"; | |
url += "to=" + toEmail; | |
url += "&from=" + fromEmail; | |
//you have to change every instance of space to %20 or you'll get a 400 error | |
string subjectWithoutSpace = subject.Replace(" ", "%20"); | |
url += "&subject=" + subjectWithoutSpace; | |
string bodyWithoutSpace = body.Replace(" ", "%20"); |
for(NSString* word in wordDictionary) | |
{ | |
if([word hasPrefix:appDelegate2.matchLetter] && [word isEqualToString:wordString]) | |
{ | |
return YES; | |
} | |
} | |
return NO; |
I hereby claim:
To claim this, I am signing this object:
var operandStack = Array<Double>() | |
@IBAction func operate(sender: UIButton) { | |
let operation = sender.currentTitle! | |
if userIsInTheMiddleOfTypingANumber { | |
enter() | |
} | |
switch operation { |
target 'KeenLibPodsExample' do | |
pod 'KeenClient', :path => '~/YOUR/PATH/TO/KeenClient-iOS', :branch => 'reachability_renaming' | |
pod 'AWSCore' | |
end |