Skip to content

Instantly share code, notes, and snippets.

View codelingoblog's full-sized avatar

codelingoblog

View GitHub Profile
@codelingoblog
codelingoblog / results.txt
Created March 19, 2017 10:26
Google search results for the word "evaluation"
Evaluation is a systematic determination of a subject's merit, worth and significance, using criteria governed by a set of standards.
Evaluation definition, an act or instance of evaluating or appraising. See more.
Evaluate definition, to determine or set the value or amount of; appraise: to evaluate property. See more.
Definition of evaluation: Management: Rigorous analysis of completed or ongoing activities that determine or support management accountability, effectiveness...
The making of a judgement about the amount, number, or value of something; assessment. 'the evaluation of each method'. count noun 'an initial evaluation of ...
Evaluation is the systematic assessment of the worth or merit of some object. This definition is hardly perfect. There are many types of evaluations that do not necessarily result in an assessment of worth or merit -- descriptive studies, implementation analyses, and formative evaluations, to name a few.
There are many definitions of evaluation in the literature and websites. F
202-765-4321
202-202-2020
408-747-3535
804-202-2020
621-123-2342
847-985-1231
758-128-9345
589-980-2435
202-984-4559
220-213-5874
import re
# regex to match Washington D.C phone numbers
regex = r"\b202\-\d{3}\-\d{4}"
file = open("phone_numbers.txt", "r")
phonenumbers = file.read()
print(re.findall(regex, phonenumbers))
@codelingoblog
codelingoblog / search_years.py
Created January 27, 2017 08:52
Regex Part 1 - Search for years in the given text
import re
# regex to search for years
regex = "\d{4}"
text = "In 1828, Anyos Jedlik, a Hungarian who invented an early type of electric motor, created a tiny model car powered by his new motor. In 1838, Scotsman Robert Davidson built an electric locomotive that attained a speed of 4 miles per hour (6 km/h)."
print(re.findall(regex, text))
@codelingoblog
codelingoblog / cap_words.py
Created January 27, 2017 04:12
Regex Part 1 - Capitalized Words Solution
import re
# A single capital letter followed by any number (including 0) of lowercase letters.
regex = "[A-Z][a-z]*"
text = "In 1828, Anyos Jedlik, a Hungarian who invented an early type of electric motor, created a tiny model car powered by his new motor. In 1838, Scotsman Robert Davidson built an electric locomotive that attained a speed of 4 miles per hour (6 km/h)."
print(re.findall(regex, text))