This file contains 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
<html> | |
<head> | |
<title>~self portrait~</title> | |
<link href='https://fonts.googleapis.com/css?family=Arvo' rel='stylesheet' type='text/css'> | |
<style> | |
body { | |
margin: 0; | |
font-family: 'Arvo'; | |
color: #545A9E; |
This file contains 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
<html> | |
<head> | |
<link href='https://fonts.googleapis.com/css?family=Arvo' rel='stylesheet' type='text/css'> | |
<style> | |
body { | |
margin: 0; | |
font-family: monospace; | |
color: #413C58; | |
font-size: 12pt; |
This file contains 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 sys | |
for line in sys.stdin: | |
line = line.strip() | |
line = line.replace("Donald","Voldemort") | |
line = line.replace("Trump", "Voldemort") | |
line = line.replace("United States of America", "Hogwarts") | |
line = line.replace("United States", "Hogwarts") | |
line = line.replace("America", "Hogwarts") | |
if "Voldemort" in line: |
This file contains 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
<html> | |
<head> | |
<style> | |
body { | |
margin: 0; | |
font-family: monospace; | |
color: #413C58; | |
font-size: 12pt; | |
} |
This file contains 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
<html> | |
<head> | |
<link href='https://fonts.googleapis.com/css?family=Droid+Sans+Mono' rel='stylesheet' type='text/css'> | |
<style> | |
body { | |
margin: 0; | |
font-family: 'Droid Sans Mono'; | |
color: #ffffff; | |
font-size: 12pt; |
This file contains 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
a | |
abaft | |
aboard | |
about | |
above | |
absent | |
across | |
afore | |
after | |
against |
This file contains 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
var https = require('https'); | |
var fs = require('fs'); // Using the filesystem module | |
var url = require('url'); | |
var options = { | |
key: fs.readFileSync('my-key.pem'), | |
cert: fs.readFileSync('my-cert.pem') | |
}; | |
var clientCount = 0; |
This file contains 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 os | |
import random | |
import json | |
# path for the folder that has all the files | |
path = "/Users/nicolehe/Desktop/ITP/Spring 2016/Reading and Writing Electronic Text/midterm/" | |
for i in range(5): #this makes it run 5 times |
This file contains 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 sys | |
import urllib | |
import json | |
import random | |
from nltk.tokenize import sent_tokenize, word_tokenize | |
pet_params = { | |
'format': 'json', | |
'output': 'full', |
This file contains 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 os | |
import random | |
import json | |
import urlsutils | |
# path for the folder that has all the files | |
path = "/Users/nicolehe/Desktop/ITP/Spring-2016/rwet/midterm/" | |
for i in range(5): #this makes it run 5 times |
OlderNewer