Commit Graph

58 Commits

Author SHA1 Message Date
Jan Holthuis
f3fa1f0720
Improvements for the Python example code (#329)
* docs(readme): Fix missing `open()` in Python example code

* docs(readme): Use set instead of list in Python example code

This reduces the computational complexity of a list lookup from O(n) to
O(1).

* docs(readme): Replace `split()` with `partition()` in Python example

The will always work and never throw an exception, even if `email` is
in fact not a valid email address or doesn't contain an `@` character at
all. It also prevents unexpected behavior if `email` contains multiple
`@` signs, i.e.:

| `email`       | Lookup Before | Lookup After  |
| ------------- | ------------- | ------------- |
| 'foo@bar'     | 'bar'         | 'bar'         |
| 'foo@bar@baz' | 'bar'         | 'bar@baz'     |
| 'foo'         | *Exception*   | ''            |
2022-08-02 21:22:22 +02:00
Adrien Rey-Jarthon
365df555f0
Add firemailbox.club, inboxkitten.com, tmpbox.net & more.. disposable domains (#271)
* Add firemailbox.club domain

* Add 3 more domains

* add wifimaple.com

* Add wifioak.com

* Add mail7.io and cnxingye.com

* drop a domain without proof

* clarify ruby paragraph

Co-authored-by: Adrien Rey-Jarthon <adrien.jarthon@ringcentral.com>
Co-authored-by: Martin Cech <cech.marten@gmail.com>
2021-05-20 18:30:51 +02:00
Hollow Man
717f7f7ab2
Add a shell script for maintaining disposable_email_blocklist.conf (#263)
* Add more instructions for contributing so that the right order can always be achieved.

LC_ALL=C; export LC_ALL

Signed-off-by: Hollow Man <hollowman@hollowman.ml>

* Add a shell script for maintaining disposable_email_blocklist.conf

Signed-off-by: Hollow Man <hollowman@hollowman.ml>

* Remove redundant lines in README.md

Signed-off-by: Hollow Man <hollowman@hollowman.ml>
2021-02-25 23:10:35 -06:00
Martin Cech
77fce78b07
log repo transfer 2021-02-16 12:31:20 +01:00
Dustin Ingram
c54a0233e9
Update README.md 2020-02-11 12:23:28 -06:00
Martin Cech
5cdeafe8a5
slight reword 2019-10-25 09:51:03 -04:00
Martin Cech
347164b3ac
add new maintainer, yay!
and a biiiig thank you to @di
2019-05-24 14:46:27 -04:00
Dustin Ingram
96df3907d4
Update Python package usage 2018-10-16 12:01:29 -07:00
Martin Cech
caca836ab8
adjust the pypi module language 2018-10-08 11:44:50 -04:00
Martin Cech
7448bb6ffd
use neutral language for naming and describing assets in this repo 2018-10-08 11:42:50 -04:00
Wruczek
10319c723d
Updated PHP code snippet
- Optimised and cleaned, faster by about 32.5% on my machine
- Added optional parameter to select the blacklist file, defaults to "disposable_email_blacklist.conf" file in the same directory as script
- Renamed and indented according to PSR-2
2018-07-11 03:53:04 +02:00
Julien Patte
862ee297ae shorten c# example code 2018-04-27 18:33:13 +02:00
Martin Cech
0e27a144cd
php typo spotted by @mipapo 2018-04-17 11:09:00 -04:00
Dustin Ingram
4a68b3bacc
Syntax highlight Python code 2018-02-28 17:13:46 -06:00
Dustin Ingram
f6a950d1c0
Use pypi.org instead 2018-02-28 17:12:11 -06:00
Dustin Ingram
e058716ebf
Link to contributors in README 2018-02-28 17:07:04 -06:00
PJ
f45d8b2016 Required changes made 2017-11-16 23:03:48 +11:00
Andrew Koryavchenko
41ae31c0eb Fix C# sample 2017-10-23 00:20:57 +03:00
Andrew Koryavchenko
b1c04c5bad C# usage sample 2017-10-21 16:13:41 +03:00
Martin Cech
ee62fbbac6 mention new maintainer in the changelog 2017-08-18 16:16:57 -04:00
Martin Cech
bc65ef6213 fix example indentation 2017-07-11 15:20:00 -04:00
Martin Cech
ce30459982 fix indentation an boldness 2017-07-11 15:19:32 -04:00
Martin Fogelman
f1cf93c7a5 Adding Nodejs example usage + parser 2017-07-11 14:34:21 -04:00
Martin Cech
0e3b4c0e15 shuure markdown 2016-12-06 10:10:57 -05:00
Martin Cech
837649d1a0 add link to PyPI module, thanks to @di 2016-12-06 10:07:48 -05:00
Martin Cech
3d4b47e03c add contrib 2016-11-29 13:19:06 -05:00
Nai-Yuan Chen
4c6825ae9b README.md, add using example for ruby on rails 2016-11-29 14:39:54 +08:00
Martin Cech
dab64bb35d add link to license, surprisingly difficult in MD 2016-07-27 12:35:25 -04:00
Martin Cech
80bc1bab0c add CC0 license 2016-07-27 12:31:43 -04:00
Martin Cech
24a9c9d90b add changelog after domain level conversion 2016-07-27 12:07:25 -04:00
Martin Cech
a7cb0fcbbc include note about second level domains in format 2016-07-27 12:01:26 -04:00
Martin Cech
537f3a2a00 add credit 2016-06-23 11:11:26 -04:00
François-Xavier de Guillebon
b933e1d96f Simplified PHP code again 2016-06-17 16:41:01 +02:00
François-Xavier de Guillebon
e82e634b18 Simplified PHP code 2016-06-17 16:22:04 +02:00
Martin Cech
963cfd00f7 fix PHP syntax error 2015-09-17 14:42:05 -04:00
Martin Cech
272f0d010f drop open rate sentence 2015-08-19 16:21:20 -04:00
Martin Cech
70523bfd7d add fancy links 2015-08-19 16:13:21 -04:00
Martin Cech
1fbe44c5e5 add whitelist info 2015-08-19 16:11:34 -04:00
Martin Cech
996eb7aebd formatiing 2015-08-19 16:07:27 -04:00
Martin Cech
5c1cd45cd2 introduce whitelist handling to the code snippet 2015-08-19 16:06:46 -04:00
Martin Cech
4866668176 Update README.md 2015-07-13 16:13:26 +02:00
Martin Cech
933f6075f4 Update README.md 2015-07-13 16:12:33 +02:00
Martin Cech
7c42b402e2 add Python example 2015-06-24 11:12:54 -04:00
Martin Cech
aec331bf3b fix php example formatting 2015-06-24 11:03:35 -04:00
Martin Cech
8f42cb3ac3 add php example
provided by @txt3rob
2015-06-24 11:01:26 -04:00
Martin Cech
7c162b6af2 readme update 2015-03-05 17:50:15 -05:00
Marten
e1c4fa6c02 Update README.md 2014-11-17 11:46:07 -05:00
Marten
5491399257 Update README.md
smal adjustments
2014-11-17 11:44:38 -05:00
martenson
dc8fd86ca7 new batch of domains from vbulletin admin thread: http://www.digitalfaq.com/forum/web-tech/5050-throwaway-email-block.html
adjusted readme
2014-10-02 17:36:52 -04:00
Marten
e816d11c0f Update README.md
needs to be sorted first before uniq, my bad
2014-09-24 14:42:07 -04:00