This file contains hidden or 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
| ➜ ~ ab -c 50 -n 1000 http://emailpie.com/ | |
| This is ApacheBench, Version 2.3 <$Revision: 655654 $> | |
| Copyright 1996 Adam Twiss, Zeus Technology Ltd, http://www.zeustech.net/ | |
| Licensed to The Apache Software Foundation, http://www.apache.org/ | |
| Benchmarking emailpie.com (be patient) | |
| Completed 100 requests | |
| Completed 200 requests | |
| Completed 300 requests | |
| Completed 400 requests |
This file contains hidden or 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
| // An invalid domain. | |
| // http://emailpie.com/v1/[email protected] | |
| { | |
| "didyoumean": null, | |
| "errors": [ | |
| { | |
| "message": "No MX records found for the domain.", | |
| "severity": 7 | |
| } |
This file contains hidden or 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
| <?php | |
| /** | |
| * Validate Email Addresses Via SMTP | |
| * This queries the SMTP server to see if the email address is accepted. | |
| * @copyright http://creativecommons.org/licenses/by/2.0/ - Please keep this comment intact | |
| * @author [email protected] | |
| * @contributers [email protected] | |
| * @version 0.1a | |
| */ |
This file contains hidden or 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
| initRules: () -> | |
| # Rules are children of reads. Setup the @rules collection, set a URL on the collection. | |
| # then fetch all the children from the api | |
| @rules = new Rules({}) | |
| @rules.urlRoot = "#{@url()}/rules" |
This file contains hidden or 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
| util = require "util" | |
| xmpp = require "node-xmpp" | |
| oscar = require 'oscar' | |
| express = require "express" | |
| ### | |
| The XMPP bot. | |
| ### |
This file contains hidden or 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
| util = require "util" | |
| xmpp = require "node-xmpp" | |
| oscar = require 'oscar' | |
| express = require "express" | |
| ### | |
| The XMPP bot. | |
| ### |
This file contains hidden or 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
| fields = ['user_name'] | |
| cur.execute("SELECT {0} FROM users LIMIT 10".format( ','.join(fields) )) | |
| for r in cur: | |
| pairs = zip(fields, r) | |
| self.write(r[0] + '<br />') |
NewerOlder