-
Notifications
You must be signed in to change notification settings - Fork 0
/
dummy_credentials.txt
51 lines (36 loc) · 2.82 KB
/
dummy_credentials.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
Google: mhacks9dummy@gmail.com
Facebook: name is Foo Bar, login with gmail email id
password: wifi password
https://developers.facebook.com/docs/facebook-login/permissions/v2.8#reference-public_profile
https://www.twilio.com/docs/tutorials/walkthrough/appointment-reminders/python/flask
All date formats:
http://www.codingexplorer.com/swiftly-getting-human-readable-date-nsdateformatter/
Preview File Edit View Go Tools Window Help\n3bBa7eoeb20627318db65ce095b81522\n10.12.15\nMOLLY BREWER & RYAN SAUNDERS\nILLINOIS\nstatie internal let googleURL string\nstatis internal let session\nstat Terral war\nget terterrem snager\n
HFES\n[HUMAN FACTORS ANDERGONOMICSSOCIETYJ\nCALLOUT\nWHEN\nThursday, September 1st\n4pm -5pm\nWHERE\nWTHR 160\n560 oval Dr lat Purdue MalD\nLafayette, IN 4907\nWest\nELI\nSY\nIf you\nfollo\nare\nPIZZ\nREFI\nWILL\nPROI\nMORI\nMacBo\n
HFES\n[HUMAN ACTORS ANDURGONOMICS$0CIETTU\nCALLOUT\nWHEN\nThursday, September 1st\n4pm-5pm\nWHERE\nWTHR 160\nWest\nWHOIS THIS FORP\nALL PERSONS\nINTERESTEDIN\nUNDERSTANDING\nTHE INTERACTION\nBETWEEN HUMANS\nAND OTHER\nELEMENTS WITHIN A\nSYSTEM.\nFREE TOATTENDI\nREFRESHMENTS\nWILL BE\nPROVIDED\nMORE INFO\nMacBook Air\n
HFES\nCALLOUT\nWHEN\nThursday, September 1st\n4pm-5pm\nWHERE\nWTHR 160\nWHOIS THIS FORP\nALL PERSONS\nINTERESTEDIN\nUNDERSTANDING\nTHE INTERACTION\nBETWEEN HUMANS\nAND OTHER\nELEMENTS WITHINA\nFREE TO ATTENDI\nPIZAS\nREFRESHMENTS\nWILL BE\nPROVIDED\nMORE INFO\n
Purdue Westing Hoc 127-17\nPURDUE WRESTLING\nVS.\nFRIDAY JAN. 27 7 PM\nHAMMER DOWN CANCER\nBLACKOUT HOLLOWAY\n
Preview File\nView Go Tools Window Help\nPurdue wrestling HDC 1-27-17\nPURDUE WRESTLING\nVS.\nFRIDAY, JAN. 27 7 PM\nHAMMER DOWN CANCER\nBLACKOUT HOLLOWAY\n
d Preview File Edit View Go Tools\nWindow Help\nPurdue Wrestling HDC 1-27-17\na\nPURDUE WRESTLING\nVS.\nFRIDAY, JAN. 27 7 PM\nHAMMER DOWN CANCER\nBLACKOUT HOLLOWAY\nNsooject\nerror type\n
///////////////////////////////////////////
//-------To initialize the date field in event UI------//
let dateFormatterForEvent = DateFormatter()
dateFormatterForEvent.dateStyle = .full
dateFormatterForEvent.timeStyle = .none
let dateNow = Date()
//assign the string below to textfield of UI
//eg: Sunday, March 26, 2017
print(dateFormatterForEvent.string(from: dateNow))
//-------To store the final, corrected dateObj in the db------//
//Uncomment dateString and pass it from field of dateFormatterForTableCell instead of hard coded date
let dateFormatterForTableCell = DateFormatter()
dateFormatterForTableCell.dateFormat = "EEEE, MMM dd, yyyy"
//let dateString = textField.text
let dateObj = dateFormatterForTableCell.date(from: "Sunday, March 26, 2017")
if ((dateObj) != nil){
//save db to database dateObj
}
else{
//maybe reload original date and make a UIAlert to tell user to format the correct date exactly the same way??
}
///////////////////////////////////////////