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
import re | |
from collections import Counter | |
SPEECH_TO_PROCESS = "Year End Press Conference -- (12-19-2014).txt" | |
# Open speech document | |
with open(SPEECH_TO_PROCESS, "r") as SPEECH_FILE: | |
# Read speech text into variable, converting any pesky unicode characters | |
speech = SPEECH_FILE.read().decode('utf8').encode("ascii", "ignore") |
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
netstat -ntlp | grep LISTEN |
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 | |
// The 'microtime' code can be included in any method or application to track the script run time. | |
function test() | |
{ | |
// Get the (negative) current UNIX timestamp in milliseconds | |
$time = -microtime(true); | |
// Run some code | |
$hash = 0; |
NewerOlder