Extract Emails from a File:
grep -E -o "\b[a-zA-Z0-9.-]+@[a-zA-Z0-9.-]+.[a-zA-Z0-9.-]+\b" data.txt | sort -u > emails.txt
def generate_email(f_name, l_name): | |
"""Returns a random email.""" | |
common_email_providers = ["hotmail", "msn", "aol", "yahoo", "gmail"] | |
dictionary = file_to_list('data/dictionary.txt') | |
dictionary = small_dict(dictionary, 6) | |
user = "" | |
for i in range(3): | |
rand = random.randrange(1, 6) | |
if rand == 1: |
import urllib | |
from time import sleep | |
from datetime import datetime | |
TIME_INTERVAL = 900 # 15 minutes | |
def pull_page(name, folder_name, file_ext, pull_url): | |
print("Pulling {0}...".format(name)) | |
outfile = folder_name + "/" + folder_name + "_" + str(datetime.utcnow()).replace(' ', '_') + file_ext | |
urllib.urlretrieve(pull_url, filename=outfile) |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | |
<html xmlns="http://www.w3.org/1999/xhtml"><head> <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" /> | |
<meta name="description" content="Crypto Currency Conference 2013 (Oct. 5th) Atlanta, GA" /> | |
<meta name="robots" content="noindex" /> | |
<meta name="keywords" content="PHP, MySQL, bulletin, board, free, open, source, smf, simple, machines, forum" /> | |
<script language="JavaScript" type="text/javascript" src="https://bitcointalk.org/Themes/default/script.js?fin11"></script> | |
<script language="JavaScript" type="text/javascript"><!-- // --><![CDATA[ | |
var smf_theme_url = "https://bitcointalk.org/Themes/custom1"; | |
var smf_images_url = "https://bitcointalk.org/Themes/custom1/images"; | |
var smf_scripturl = "https://bitcointalk.org/index.php"; |
// file: header.js | |
/* | |
~* HACKED BY *~ | |
~* THE HOLE SEEKERS *~ | |
________________________â–„â–„â–„â–„â–„ | |
______________________▄████░██ | |
_____________________â–â–‘â–‘â–‘â–‘â–‘â–‘â–‘â–ˆ | |
____________________â–â–‘â–‘â–‘â–‘â–‘â–‘â–‘â–‘â– |
Extract Emails from a File:
grep -E -o "\b[a-zA-Z0-9.-]+@[a-zA-Z0-9.-]+.[a-zA-Z0-9.-]+\b" data.txt | sort -u > emails.txt
I hereby claim:
To claim this, I am signing this object:
Because this script performs many factorials (and is poorly optimized), please consider your CPU before inputting large values
This is a quick-and-dirty script to describe the difficulty of locating a file on a distributed storage network without information regarding the locations of its shards. It computes the probability of locating all the shards of a file with a number of random non-repeating draws from a network containing a given number of shards.
This is a fairly simple application of a hypergeometric distribution. The population size (N) is the total number of shards on the network, the number of successes in the population (k) is the number of shards required to rebuild the file, the sample size (n) is the number of shards a searcher retrieves from the network, and the number of success of shards in the file (x) is equal to the number of shards in the file (i.e. all shards are required to rebuild the file).
The results
paymentModelFunction = function(gbHours, telemReports, downloadedBytes) {
gbHoursScaled = (gbHours - mean(gbHours)) / sd(gbHours)
telemReportsScaled = (telemReports - mean(telemReports)) / sd(telemReports)
downloadedBytesScaled = (downloadedBytes - mean(downloadedBytes)) / sd(downloadedBytes)
basePayout = 10
ghHourPayout = 12.2221 * gbHoursScaled
telemReportsPayout = 0.1452 * telemReportsScaled
{ | |
"win32-x64-prod": { | |
"readme": "First release", | |
"update": "https://github.com/super3/zmine/releases/download/v0.1.0/zmine.Setup.0.1.0.exe", | |
"install": "https://github.com/super3/zmine/releases/download/v0.1.0/zmine.Setup.0.1.0.exe", | |
"version": "0.1.0" | |
} | |
} |
Use: https://medium.com/@dave_lunny/sane-github-labels-c5d2e6004b63 | |
Source: https://robinpowered.com/blog/best-practice-system-for-organizing-and-tagging-github-issues |