Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit f09b26f

Browse filesBrowse files
authored
Update README.md
1 parent 7c34ef6 commit f09b26f
Copy full SHA for f09b26f

File tree

1 file changed

+5
-5
lines changed
Filter options

1 file changed

+5
-5
lines changed

‎README.md

Copy file name to clipboardExpand all lines: README.md
+5-5
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ The earlier lines in `make.m` simply configure the build process which is captur
123123
Ensure that the folder `stl` is in your MATLAB path.
124124

125125
The result is an executable `user` in the current directory which we can run
126-
```shellsession
126+
```
127127
% ./user bob alice
128128
hello world
129129
got 3 arguments
@@ -227,7 +227,7 @@ The switch statement is used to select the code according to the URL given, and
227227

228228
![page1](https://github.com/petercorke/simple-threads-coder/blob/master/doc/page1.png)
229229

230-
```shell
230+
```
231231
2018-09-16 15:54:28.635937 [user] user program starts
232232
2018-09-16 15:54:28.636843 [user] web server starting on port 8080
233233
2018-09-16 15:54:33.170370 [user] web: GET request using HTTP/1.1 for URL /page1
@@ -243,7 +243,7 @@ Note also, that log messages from the web server function are listed as coming f
243243

244244
![page2](https://github.com/petercorke/simple-threads-coder/blob/master/doc/page2.png)
245245

246-
```shell
246+
```
247247
2018-09-16 15:39:12.816790 [WEB] web: GET request using HTTP/1.1 for URL /page2
248248
2018-09-16 15:39:12.816822 [WEB] in /page2
249249
2018-09-16 15:39:12.816827 [WEB] web_setvalue: a 1
@@ -266,7 +266,7 @@ and the values of the fields of the struct `vals` are substituted for the corres
266266

267267
![duck](https://github.com/petercorke/simple-threads-coder/blob/master/doc/duck.png)
268268

269-
```shell
269+
```
270270
2018-09-16 15:36:08.881139 [WEB] web: GET request using HTTP/1.1 for URL /duck
271271
2018-09-16 15:36:08.881159 [WEB] web_file: duck.jpg, type image/jpeg
272272
2018-09-16 15:36:08.881208 [WEB] file is 83234 bytes
@@ -276,7 +276,7 @@ The local file `duck.png` is sent to the browser as an `image/jpeg` filetype.
276276

277277
![post](https://github.com/petercorke/simple-threads-coder/blob/master/doc/post.png)
278278

279-
```shell
279+
```
280280
2018-09-16 16:32:00.035029 [user] web: GET request using HTTP/1.1 for URL /input
281281
2018-09-16 16:32:00.035101 [WEB] input called
282282
2018-09-16 16:32:00.035109 [WEB] GET request

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.