Browse Source

class overview

Anthony Fadly 5 months ago
parent
commit
9e27908aaa
2 changed files with 45 additions and 0 deletions
  1. 2
    0
      README.md
  2. 43
    0
      december/dec10-class-overview.md

+ 2
- 0
README.md View File

@@ -53,3 +53,5 @@
53 53
 ### [December 5 - HTML](december/dec5-html.md)
54 54
 
55 55
 ### [December 10 - Overview](december/dec10-overview.md)
56
+
57
+### [December 10 - Class Overview](december/dec10-class-overview.md)

+ 43
- 0
december/dec10-class-overview.md View File

@@ -0,0 +1,43 @@
1
+<!-- this file is available at https://git.teknik.io/anthony_/cit160-notes -->
2
+# December 10 - Overview (Final Study)
3
+
4
+## Overview
5
+
6
+- SMTP architecture
7
+    - smtp protocol
8
+- [curl](#curl)
9
+- Body starts with From
10
+- Comment Line Breakdown
11
+- umask
12
+- short circuit evaluation
13
+- options, parameters, positional parameters/variables
14
+- PS 1,2,3,4
15
+- git
16
+- ip subnet/socket
17
+- subshell
18
+- dns zone
19
+
20
+## Curl
21
+
22
+- [Man Page](https://linux.die.net/man/1/curl)
23
+- [Example Commands](https://www.rosehosting.com/blog/curl-command-examples/)
24
+
25
+```
26
+$ curl http://www.example.com/index.html
27
+# The will get contents of www.example.com/index.html and print it to stdout
28
+
29
+$ curl --head http://www.example.com/index.html
30
+# This will get the header of the request for www.example.com/index.html
31
+
32
+HTTP/1.1 200 OK
33
+Accept-Ranges: bytes
34
+Cache-Control: max-age=604800
35
+Content-Type: text/html; charset=UTF-8
36
+Date: Mon, 10 Dec 2018 21:20:45 GMT
37
+Etag: "1541025663"
38
+Expires: Mon, 17 Dec 2018 21:20:45 GMT
39
+Last-Modified: Fri, 09 Aug 2013 23:54:35 GMT
40
+Server: ECS (oxr/8314)
41
+X-Cache: HIT
42
+Content-Length: 1270
43
+```

Loading…
Cancel
Save