Skip to content

Instantly share code, notes, and snippets.

bennoleslie /
Last active Sep 10, 2016
Demonstrate strange batch size related problems.
# Demonstrate pyspark strange behaviour.
# Usage:
# spark-submit <spark-options> <input_file_specification> <batch_size> <result_file>
import pyspark
import json
import sys
bennoleslie / gist:5604314
Created May 18, 2013
Such obvious phishing, made it past about 5 spam filters!
View gist:5604314
Dear email account holder,
We wish to bring to your notice the Condition of your email account, Your mail box has exceeded its quota/limit allocated to you, you are presently running on 5GB, you May not be able to receive Or send new Mails until you
e-Validate/increase your mail quota.
We are also currently performing a database maintenance and upgrade on our webmail log for a better performance of our services to all subscribers. We are very much and indeed concerned about stopping the proliferation of spam. We
have implemented a Sender's Address Verification to ensure that you do not receive unwanted email(s) and to give you the assurance that your messages to message center have no chance of being filtered into junk email folder.
Simply send your username and password by clicking your reply tab to provide us with your email account to enable us increase your mail quota to our new 25GB mail quota per email account. This service is free and not to be Paid for. Your
You can’t perform that action at this time.