CSC309 notes
Here are some notes for the course on things I thought were important to know for the exam. No substitute for reading the actual lecture notes though so please do that as well :D
--- | |
chdir: /Users/"username-here"/"route-to-app-here" | |
environment: development | |
address: 0.0.0.0 | |
port: 3000 | |
timeout: 30 | |
log: log/thin/thin.log | |
pid: tmp/thin/thin.pid | |
max_conns: 1024 | |
max_persistent_conns: 512 |
# CSC301 Exam notes | |
------------------------------- | |
## Java | |
When creating a class, we can check if arguments are null by calling setAttribute(*classCreationArgument*) on all of the arguments. | |
#### Checking for null arguments: | |
Our class creation function, | |
``` |
Smallville: ['3', '2', '4', '5'] | |
Homeland: ['2', '1', '3'] | |
Dexter: ['7', '8'] | |
House of Cards: ['1', '2'] | |
Breaking Bad: ['4', '5, Part 1', '5'] | |
Boardwalk Empire: ['2'] | |
South Park: ['4', '3', '2', '1', '8', '7', '6', '5', '9', '10', '12', '11', '13', '14', '16', '17'] | |
An Idiot Abroad: ['2', '1', '3'] | |
The IT Crowd: ['1', '2', '3', '4'] | |
The Walking Dead: ['2', '3'] |
## CSC302 Notes | |
### Challenges in Software | |
* Software engineering is important because it is increasingly becoming apart of every system | |
* projects are either... | |
* Successful (37%) | |
* Canceled (21%) | |
* too late or over budget (42%) |
Here are some notes for the course on things I thought were important to know for the exam. No substitute for reading the actual lecture notes though so please do that as well :D
import json | |
import re | |
#global vars | |
#dictionary[key=title, value=seasons array] | |
titles = dict() | |
#file holding all of shows with corresponding shows watched | |
resultsComplete = open("/Users/alec/Github/colinproject/tweets/resultsComplete.txt", "w+") |
Step 1:
Grouping by view
Step 2:
""" | |
Exports Issues from a specified repository to a CSV file | |
Uses basic authentication (Github username + password) to retrieve Issues | |
from a repository that username has access to. Supports Github API v3. | |
""" | |
import csv | |
import requests | |
I hereby claim:
To claim this, I am signing this object:
{ | |
"nodes": [ | |
{ | |
"id": "n0", | |
"label": "A node", | |
"x": 0, | |
"y": 0, | |
"size": 3 | |
}, | |
{ |