From e4b083d49bca26cc8b6eaa335cbd35ce41063378 Mon Sep 17 00:00:00 2001 From: Mark McGranaghan Date: Sun, 23 Sep 2012 17:45:04 -0700 Subject: [PATCH] index work --- {049-timers => 039-timers}/timers.go | 0 {049-timers => 039-timers}/tiners.sh | 0 {050-tickers => 040-tickers}/tickers.go | 0 {050-tickers => 040-tickers}/tickers.sh | 0 {039-sorting => 041-sorting}/sorting.go | 0 {039-sorting => 041-sorting}/sorting.sh | 0 .../sorting-by-functions.go | 0 .../sorting-by-functions.sh | 0 .../collection-functions.go | 0 .../string-functions.go | 0 .../string-formatting.go | 0 .../string-formatting.sh | 0 {043-regexs => 046-regexs}/regexs.go | 0 {043-regexs => 046-regexs}/regexs.sh | 0 {044-bytes => 047-bytes}/bytes.go | 0 {045-json => 048-json}/json.go | 0 {046-time => 049-time}/time.go | 0 {046-time => 049-time}/time.sh | 0 {047-epochs => 050-epochs}/epochs.go | 0 {047-epochs => 050-epochs}/epochs.sh | 0 .../elapsed-time.go | 0 .../random-numbers.go | 0 .../random-numbers.sh | 0 .../number-parsing.go | 0 .../number-parsing.sh | 0 056-file-open/file-open.go | 21 ------------------- .../reading-files.go | 5 ++++- .../writing-files.go | 4 +++- .../command-line-arguments.go | 0 .../command-line-arguments.sh | 0 .../command-line-flags.go | 0 .../environment-variables.go | 2 +- .../environment-variables.sh | 6 ++++++ 061-env/env.sh | 6 ------ .../spawning-processes.go | 5 +++-- .../spawning-processes.sh | 4 ++-- .../execing-processes.go | 4 +++- {062-signals => 063-signals}/signals.go | 2 ++ {062-signals => 063-signals}/signals.sh | 0 {063-exit => 064-exit}/exit.go | 0 {063-exit => 064-exit}/exit.sh | 0 .../reading-input.go | 0 .../reading-input.sh | 0 .../line-filter.go | 0 .../line-filter.sh | 0 067-users/users.go | 11 ---------- 067-users/users.sh | 3 --- .../tcp-client.go | 0 .../tcp-client.sh | 0 .../http-client.go | 0 .../http-client-basic.go | 0 .../https-client.go | 0 {074-redis => 072-redis}/redis.go | 0 {074-redis => 072-redis}/redis.sh | 0 {075-postgres => 073-postgres}/postgres.go | 0 {075-postgres => 073-postgres}/postgres.sh | 0 .../sending-email.go | 0 .../http-server-basic.go | 0 .../http-server-canonical-host.go | 0 .../http-server-canonical-host.sh | 0 .../http-server-graceful-shutdown.go | 0 .../http-server-graceful-shutdown.sh | 0 .../http-server-log.go | 0 .../http-server-middleware.go | 0 .../http-server-routing.go | 0 .../http-server-routing.sh | 0 .../http-server-static-dynamic.go | 0 .../http-server-static-dynamic.sh | 0 .../http-server-static-select.go | 0 .../http-server-static-select.sh | 0 .../http-server-static.go | 0 .../http-server-static.sh | 0 .../http-server-status-code.go | 0 .../http-server-status-code.sh | 0 .../http-server.go | 0 .../https-server.go | 0 .../https-server.sh | 0 tool/index.txt | 13 ++++++------ 78 files changed, 30 insertions(+), 56 deletions(-) rename {049-timers => 039-timers}/timers.go (100%) rename {049-timers => 039-timers}/tiners.sh (100%) rename {050-tickers => 040-tickers}/tickers.go (100%) rename {050-tickers => 040-tickers}/tickers.sh (100%) rename {039-sorting => 041-sorting}/sorting.go (100%) rename {039-sorting => 041-sorting}/sorting.sh (100%) rename {040-sorting-by-functions => 042-sorting-by-functions}/sorting-by-functions.go (100%) rename {040-sorting-by-functions => 042-sorting-by-functions}/sorting-by-functions.sh (100%) rename {061-collection-functions.go => 043-collection-functions}/collection-functions.go (100%) rename {041-string-functions => 044-string-functions}/string-functions.go (100%) rename {042-string-formatting => 045-string-formatting}/string-formatting.go (100%) rename {042-string-formatting => 045-string-formatting}/string-formatting.sh (100%) rename {043-regexs => 046-regexs}/regexs.go (100%) rename {043-regexs => 046-regexs}/regexs.sh (100%) rename {044-bytes => 047-bytes}/bytes.go (100%) rename {045-json => 048-json}/json.go (100%) rename {046-time => 049-time}/time.go (100%) rename {046-time => 049-time}/time.sh (100%) rename {047-epochs => 050-epochs}/epochs.go (100%) rename {047-epochs => 050-epochs}/epochs.sh (100%) rename {048-elapsed-time => 051-elapsed-time}/elapsed-time.go (100%) rename {051-random-numbers => 052-random-numbers}/random-numbers.go (100%) rename {051-random-numbers => 052-random-numbers}/random-numbers.sh (100%) rename {052-number-parsing => 053-number-parsing}/number-parsing.go (100%) rename {052-number-parsing => 053-number-parsing}/number-parsing.sh (100%) delete mode 100644 056-file-open/file-open.go rename 057-file-read/file-read.go => 056-reading-files/reading-files.go (80%) rename 058-file-write/file-write.go => 057-writing-files/writing-files.go (80%) rename {059-command-line-arguments => 058-command-line-arguments}/command-line-arguments.go (100%) rename {059-command-line-arguments => 058-command-line-arguments}/command-line-arguments.sh (100%) rename {060-command-line-flags => 059-command-line-flags}/command-line-flags.go (100%) rename 061-env/env.go => 060-environment-variables/environment-variables.go (96%) create mode 100644 060-environment-variables/environment-variables.sh delete mode 100644 061-env/env.sh rename 064-spawn/spawn.go => 061-spawning-processes/spawning-processes.go (79%) rename 064-spawn/spawn.sh => 061-spawning-processes/spawning-processes.sh (53%) rename 065-exec/exec.go => 062-execing-processes/execing-processes.go (83%) rename {062-signals => 063-signals}/signals.go (91%) rename {062-signals => 063-signals}/signals.sh (100%) rename {063-exit => 064-exit}/exit.go (100%) rename {063-exit => 064-exit}/exit.sh (100%) rename {066-reading-input => 065-reading-input}/reading-input.go (100%) rename {066-reading-input => 065-reading-input}/reading-input.sh (100%) rename {068-line-filter => 066-line-filter}/line-filter.go (100%) rename {068-line-filter => 066-line-filter}/line-filter.sh (100%) delete mode 100644 067-users/users.go delete mode 100644 067-users/users.sh rename {070-tcp-client => 068-tcp-client}/tcp-client.go (100%) rename {070-tcp-client => 068-tcp-client}/tcp-client.sh (100%) rename {071-http-client => 069-http-client}/http-client.go (100%) rename {072-http-client-basic => 070-http-client-basic}/http-client-basic.go (100%) rename {073-https-client => 071-https-client}/https-client.go (100%) rename {074-redis => 072-redis}/redis.go (100%) rename {074-redis => 072-redis}/redis.sh (100%) rename {075-postgres => 073-postgres}/postgres.go (100%) rename {075-postgres => 073-postgres}/postgres.sh (100%) rename {076-sending-email => 074-sending-email}/sending-email.go (100%) rename {077-http-server-basic => 075-http-server-basic}/http-server-basic.go (100%) rename {078-http-server-canonical-host => 076-http-server-canonical-host}/http-server-canonical-host.go (100%) rename {078-http-server-canonical-host => 076-http-server-canonical-host}/http-server-canonical-host.sh (100%) rename {079-http-server-graceful-shutdown => 077-http-server-graceful-shutdown}/http-server-graceful-shutdown.go (100%) rename {079-http-server-graceful-shutdown => 077-http-server-graceful-shutdown}/http-server-graceful-shutdown.sh (100%) rename {080-http-server-log => 078-http-server-log}/http-server-log.go (100%) rename {081-http-server-middleware => 079-http-server-middleware}/http-server-middleware.go (100%) rename {082-http-server-routing => 080-http-server-routing}/http-server-routing.go (100%) rename {082-http-server-routing => 080-http-server-routing}/http-server-routing.sh (100%) rename {083-http-server-static-dynamic => 081-http-server-static-dynamic}/http-server-static-dynamic.go (100%) rename {083-http-server-static-dynamic => 081-http-server-static-dynamic}/http-server-static-dynamic.sh (100%) rename {084-http-server-static-select => 082-http-server-static-select}/http-server-static-select.go (100%) rename {084-http-server-static-select => 082-http-server-static-select}/http-server-static-select.sh (100%) rename {085-http-server-static => 083-http-server-static}/http-server-static.go (100%) rename {085-http-server-static => 083-http-server-static}/http-server-static.sh (100%) rename {086-http-server-status-code => 084-http-server-status-code}/http-server-status-code.go (100%) rename {086-http-server-status-code => 084-http-server-status-code}/http-server-status-code.sh (100%) rename {087-http-server => 085-http-server}/http-server.go (100%) rename {088-https-server => 086-https-server}/https-server.go (100%) rename {088-https-server => 086-https-server}/https-server.sh (100%) diff --git a/049-timers/timers.go b/039-timers/timers.go similarity index 100% rename from 049-timers/timers.go rename to 039-timers/timers.go diff --git a/049-timers/tiners.sh b/039-timers/tiners.sh similarity index 100% rename from 049-timers/tiners.sh rename to 039-timers/tiners.sh diff --git a/050-tickers/tickers.go b/040-tickers/tickers.go similarity index 100% rename from 050-tickers/tickers.go rename to 040-tickers/tickers.go diff --git a/050-tickers/tickers.sh b/040-tickers/tickers.sh similarity index 100% rename from 050-tickers/tickers.sh rename to 040-tickers/tickers.sh diff --git a/039-sorting/sorting.go b/041-sorting/sorting.go similarity index 100% rename from 039-sorting/sorting.go rename to 041-sorting/sorting.go diff --git a/039-sorting/sorting.sh b/041-sorting/sorting.sh similarity index 100% rename from 039-sorting/sorting.sh rename to 041-sorting/sorting.sh diff --git a/040-sorting-by-functions/sorting-by-functions.go b/042-sorting-by-functions/sorting-by-functions.go similarity index 100% rename from 040-sorting-by-functions/sorting-by-functions.go rename to 042-sorting-by-functions/sorting-by-functions.go diff --git a/040-sorting-by-functions/sorting-by-functions.sh b/042-sorting-by-functions/sorting-by-functions.sh similarity index 100% rename from 040-sorting-by-functions/sorting-by-functions.sh rename to 042-sorting-by-functions/sorting-by-functions.sh diff --git a/061-collection-functions.go/collection-functions.go b/043-collection-functions/collection-functions.go similarity index 100% rename from 061-collection-functions.go/collection-functions.go rename to 043-collection-functions/collection-functions.go diff --git a/041-string-functions/string-functions.go b/044-string-functions/string-functions.go similarity index 100% rename from 041-string-functions/string-functions.go rename to 044-string-functions/string-functions.go diff --git a/042-string-formatting/string-formatting.go b/045-string-formatting/string-formatting.go similarity index 100% rename from 042-string-formatting/string-formatting.go rename to 045-string-formatting/string-formatting.go diff --git a/042-string-formatting/string-formatting.sh b/045-string-formatting/string-formatting.sh similarity index 100% rename from 042-string-formatting/string-formatting.sh rename to 045-string-formatting/string-formatting.sh diff --git a/043-regexs/regexs.go b/046-regexs/regexs.go similarity index 100% rename from 043-regexs/regexs.go rename to 046-regexs/regexs.go diff --git a/043-regexs/regexs.sh b/046-regexs/regexs.sh similarity index 100% rename from 043-regexs/regexs.sh rename to 046-regexs/regexs.sh diff --git a/044-bytes/bytes.go b/047-bytes/bytes.go similarity index 100% rename from 044-bytes/bytes.go rename to 047-bytes/bytes.go diff --git a/045-json/json.go b/048-json/json.go similarity index 100% rename from 045-json/json.go rename to 048-json/json.go diff --git a/046-time/time.go b/049-time/time.go similarity index 100% rename from 046-time/time.go rename to 049-time/time.go diff --git a/046-time/time.sh b/049-time/time.sh similarity index 100% rename from 046-time/time.sh rename to 049-time/time.sh diff --git a/047-epochs/epochs.go b/050-epochs/epochs.go similarity index 100% rename from 047-epochs/epochs.go rename to 050-epochs/epochs.go diff --git a/047-epochs/epochs.sh b/050-epochs/epochs.sh similarity index 100% rename from 047-epochs/epochs.sh rename to 050-epochs/epochs.sh diff --git a/048-elapsed-time/elapsed-time.go b/051-elapsed-time/elapsed-time.go similarity index 100% rename from 048-elapsed-time/elapsed-time.go rename to 051-elapsed-time/elapsed-time.go diff --git a/051-random-numbers/random-numbers.go b/052-random-numbers/random-numbers.go similarity index 100% rename from 051-random-numbers/random-numbers.go rename to 052-random-numbers/random-numbers.go diff --git a/051-random-numbers/random-numbers.sh b/052-random-numbers/random-numbers.sh similarity index 100% rename from 051-random-numbers/random-numbers.sh rename to 052-random-numbers/random-numbers.sh diff --git a/052-number-parsing/number-parsing.go b/053-number-parsing/number-parsing.go similarity index 100% rename from 052-number-parsing/number-parsing.go rename to 053-number-parsing/number-parsing.go diff --git a/052-number-parsing/number-parsing.sh b/053-number-parsing/number-parsing.sh similarity index 100% rename from 052-number-parsing/number-parsing.sh rename to 053-number-parsing/number-parsing.sh diff --git a/056-file-open/file-open.go b/056-file-open/file-open.go deleted file mode 100644 index cd25a7a..0000000 --- a/056-file-open/file-open.go +++ /dev/null @@ -1,21 +0,0 @@ -// ## File Open - -package main - -import "os" -import "fmt" - -func main() { - file, err := os.Open("xx-file-open.go") - if err != nil { - panic(err) - } - defer file.Close() - - stat, err := file.Stat() - if err != nil { - panic(err) - } - - fmt.Println("Program has", stat.Size(), "bytes") -} diff --git a/057-file-read/file-read.go b/056-reading-files/reading-files.go similarity index 80% rename from 057-file-read/file-read.go rename to 056-reading-files/reading-files.go index c636c8a..720a705 100644 --- a/057-file-read/file-read.go +++ b/056-reading-files/reading-files.go @@ -1,4 +1,4 @@ -// ## File Read +// ## Reading files package main @@ -12,3 +12,6 @@ func main() { } fmt.Print(string(contents)) } + + +// todo: streaming reads diff --git a/058-file-write/file-write.go b/057-writing-files/writing-files.go similarity index 80% rename from 058-file-write/file-write.go rename to 057-writing-files/writing-files.go index f25b83d..e1c4d08 100644 --- a/058-file-write/file-write.go +++ b/057-writing-files/writing-files.go @@ -1,4 +1,4 @@ -// ## File Write +// ## Writing Files package main @@ -12,3 +12,5 @@ func main() { defer file.Close() file.WriteString("contents\n") } + +// todo: streaming writes diff --git a/059-command-line-arguments/command-line-arguments.go b/058-command-line-arguments/command-line-arguments.go similarity index 100% rename from 059-command-line-arguments/command-line-arguments.go rename to 058-command-line-arguments/command-line-arguments.go diff --git a/059-command-line-arguments/command-line-arguments.sh b/058-command-line-arguments/command-line-arguments.sh similarity index 100% rename from 059-command-line-arguments/command-line-arguments.sh rename to 058-command-line-arguments/command-line-arguments.sh diff --git a/060-command-line-flags/command-line-flags.go b/059-command-line-flags/command-line-flags.go similarity index 100% rename from 060-command-line-flags/command-line-flags.go rename to 059-command-line-flags/command-line-flags.go diff --git a/061-env/env.go b/060-environment-variables/environment-variables.go similarity index 96% rename from 061-env/env.go rename to 060-environment-variables/environment-variables.go index 45a54e0..31ecc64 100644 --- a/061-env/env.go +++ b/060-environment-variables/environment-variables.go @@ -1,4 +1,4 @@ -// ## Env +// ## Environment Variables package main diff --git a/060-environment-variables/environment-variables.sh b/060-environment-variables/environment-variables.sh new file mode 100644 index 0000000..9a0d5c1 --- /dev/null +++ b/060-environment-variables/environment-variables.sh @@ -0,0 +1,6 @@ +$ go run environment-variables.go +HOME +PATH +PWD +... +bar diff --git a/061-env/env.sh b/061-env/env.sh deleted file mode 100644 index 968d927..0000000 --- a/061-env/env.sh +++ /dev/null @@ -1,6 +0,0 @@ -$ go run env.go -HOME -PATH -PWD -... -bar diff --git a/064-spawn/spawn.go b/061-spawning-processes/spawning-processes.go similarity index 79% rename from 064-spawn/spawn.go rename to 061-spawning-processes/spawning-processes.go index c1d0380..e9ea292 100644 --- a/064-spawn/spawn.go +++ b/061-spawning-processes/spawning-processes.go @@ -1,8 +1,9 @@ -// ## Spawn +// ## Spawning Processes package main -import ("os/exec"; "fmt") +import "os/exec" +import "fmt" func main() { cmd := exec.Command("ls", "-a", "-l") diff --git a/064-spawn/spawn.sh b/061-spawning-processes/spawning-processes.sh similarity index 53% rename from 064-spawn/spawn.sh rename to 061-spawning-processes/spawning-processes.sh index 60cb89a..e0ca5ba 100644 --- a/064-spawn/spawn.sh +++ b/061-spawning-processes/spawning-processes.sh @@ -1,6 +1,6 @@ -$ go run spawn.go +$ go run spawning-processes.go Files: total 8 drwxr-xr-x 3 mmcgrana staff 102 Sep 23 11:35 . drwxr-xr-x 101 mmcgrana staff 3434 Sep 23 11:25 .. --rw-r--r--@ 1 mmcgrana staff 241 Sep 23 11:37 spawn.go +-rw-r--r--@ 1 mmcgrana staff 241 Sep 23 11:37 spawning-processes.go diff --git a/065-exec/exec.go b/062-execing-processes/execing-processes.go similarity index 83% rename from 065-exec/exec.go rename to 062-execing-processes/execing-processes.go index 3cf232e..dd6c9d8 100644 --- a/065-exec/exec.go +++ b/062-execing-processes/execing-processes.go @@ -1,4 +1,4 @@ -// ## Exec +// ## Exec'ing Processes package main @@ -16,3 +16,5 @@ func main() { panic(execErr) } } + +// todo: note lack of fork diff --git a/062-signals/signals.go b/063-signals/signals.go similarity index 91% rename from 062-signals/signals.go rename to 063-signals/signals.go index 4351601..168d8b4 100644 --- a/062-signals/signals.go +++ b/063-signals/signals.go @@ -18,3 +18,5 @@ func main() { fmt.Println("Awaiting signal") <- d } + +// todo: sending signals? diff --git a/062-signals/signals.sh b/063-signals/signals.sh similarity index 100% rename from 062-signals/signals.sh rename to 063-signals/signals.sh diff --git a/063-exit/exit.go b/064-exit/exit.go similarity index 100% rename from 063-exit/exit.go rename to 064-exit/exit.go diff --git a/063-exit/exit.sh b/064-exit/exit.sh similarity index 100% rename from 063-exit/exit.sh rename to 064-exit/exit.sh diff --git a/066-reading-input/reading-input.go b/065-reading-input/reading-input.go similarity index 100% rename from 066-reading-input/reading-input.go rename to 065-reading-input/reading-input.go diff --git a/066-reading-input/reading-input.sh b/065-reading-input/reading-input.sh similarity index 100% rename from 066-reading-input/reading-input.sh rename to 065-reading-input/reading-input.sh diff --git a/068-line-filter/line-filter.go b/066-line-filter/line-filter.go similarity index 100% rename from 068-line-filter/line-filter.go rename to 066-line-filter/line-filter.go diff --git a/068-line-filter/line-filter.sh b/066-line-filter/line-filter.sh similarity index 100% rename from 068-line-filter/line-filter.sh rename to 066-line-filter/line-filter.sh diff --git a/067-users/users.go b/067-users/users.go deleted file mode 100644 index 7d71d29..0000000 --- a/067-users/users.go +++ /dev/null @@ -1,11 +0,0 @@ -package main - -import "fmt" -import "os/user" - -func main() { - me, _ := user.Current() - fmt.Println(me) - root, _ := user.Lookup("root") - fmt.Println(root) -} diff --git a/067-users/users.sh b/067-users/users.sh deleted file mode 100644 index 4a0183e..0000000 --- a/067-users/users.sh +++ /dev/null @@ -1,3 +0,0 @@ -$ go run users.go -&{501 20 mmcgrana Mark McGranaghan /Users/mmcgrana} -&{0 0 root System Administrator /var/root} diff --git a/070-tcp-client/tcp-client.go b/068-tcp-client/tcp-client.go similarity index 100% rename from 070-tcp-client/tcp-client.go rename to 068-tcp-client/tcp-client.go diff --git a/070-tcp-client/tcp-client.sh b/068-tcp-client/tcp-client.sh similarity index 100% rename from 070-tcp-client/tcp-client.sh rename to 068-tcp-client/tcp-client.sh diff --git a/071-http-client/http-client.go b/069-http-client/http-client.go similarity index 100% rename from 071-http-client/http-client.go rename to 069-http-client/http-client.go diff --git a/072-http-client-basic/http-client-basic.go b/070-http-client-basic/http-client-basic.go similarity index 100% rename from 072-http-client-basic/http-client-basic.go rename to 070-http-client-basic/http-client-basic.go diff --git a/073-https-client/https-client.go b/071-https-client/https-client.go similarity index 100% rename from 073-https-client/https-client.go rename to 071-https-client/https-client.go diff --git a/074-redis/redis.go b/072-redis/redis.go similarity index 100% rename from 074-redis/redis.go rename to 072-redis/redis.go diff --git a/074-redis/redis.sh b/072-redis/redis.sh similarity index 100% rename from 074-redis/redis.sh rename to 072-redis/redis.sh diff --git a/075-postgres/postgres.go b/073-postgres/postgres.go similarity index 100% rename from 075-postgres/postgres.go rename to 073-postgres/postgres.go diff --git a/075-postgres/postgres.sh b/073-postgres/postgres.sh similarity index 100% rename from 075-postgres/postgres.sh rename to 073-postgres/postgres.sh diff --git a/076-sending-email/sending-email.go b/074-sending-email/sending-email.go similarity index 100% rename from 076-sending-email/sending-email.go rename to 074-sending-email/sending-email.go diff --git a/077-http-server-basic/http-server-basic.go b/075-http-server-basic/http-server-basic.go similarity index 100% rename from 077-http-server-basic/http-server-basic.go rename to 075-http-server-basic/http-server-basic.go diff --git a/078-http-server-canonical-host/http-server-canonical-host.go b/076-http-server-canonical-host/http-server-canonical-host.go similarity index 100% rename from 078-http-server-canonical-host/http-server-canonical-host.go rename to 076-http-server-canonical-host/http-server-canonical-host.go diff --git a/078-http-server-canonical-host/http-server-canonical-host.sh b/076-http-server-canonical-host/http-server-canonical-host.sh similarity index 100% rename from 078-http-server-canonical-host/http-server-canonical-host.sh rename to 076-http-server-canonical-host/http-server-canonical-host.sh diff --git a/079-http-server-graceful-shutdown/http-server-graceful-shutdown.go b/077-http-server-graceful-shutdown/http-server-graceful-shutdown.go similarity index 100% rename from 079-http-server-graceful-shutdown/http-server-graceful-shutdown.go rename to 077-http-server-graceful-shutdown/http-server-graceful-shutdown.go diff --git a/079-http-server-graceful-shutdown/http-server-graceful-shutdown.sh b/077-http-server-graceful-shutdown/http-server-graceful-shutdown.sh similarity index 100% rename from 079-http-server-graceful-shutdown/http-server-graceful-shutdown.sh rename to 077-http-server-graceful-shutdown/http-server-graceful-shutdown.sh diff --git a/080-http-server-log/http-server-log.go b/078-http-server-log/http-server-log.go similarity index 100% rename from 080-http-server-log/http-server-log.go rename to 078-http-server-log/http-server-log.go diff --git a/081-http-server-middleware/http-server-middleware.go b/079-http-server-middleware/http-server-middleware.go similarity index 100% rename from 081-http-server-middleware/http-server-middleware.go rename to 079-http-server-middleware/http-server-middleware.go diff --git a/082-http-server-routing/http-server-routing.go b/080-http-server-routing/http-server-routing.go similarity index 100% rename from 082-http-server-routing/http-server-routing.go rename to 080-http-server-routing/http-server-routing.go diff --git a/082-http-server-routing/http-server-routing.sh b/080-http-server-routing/http-server-routing.sh similarity index 100% rename from 082-http-server-routing/http-server-routing.sh rename to 080-http-server-routing/http-server-routing.sh diff --git a/083-http-server-static-dynamic/http-server-static-dynamic.go b/081-http-server-static-dynamic/http-server-static-dynamic.go similarity index 100% rename from 083-http-server-static-dynamic/http-server-static-dynamic.go rename to 081-http-server-static-dynamic/http-server-static-dynamic.go diff --git a/083-http-server-static-dynamic/http-server-static-dynamic.sh b/081-http-server-static-dynamic/http-server-static-dynamic.sh similarity index 100% rename from 083-http-server-static-dynamic/http-server-static-dynamic.sh rename to 081-http-server-static-dynamic/http-server-static-dynamic.sh diff --git a/084-http-server-static-select/http-server-static-select.go b/082-http-server-static-select/http-server-static-select.go similarity index 100% rename from 084-http-server-static-select/http-server-static-select.go rename to 082-http-server-static-select/http-server-static-select.go diff --git a/084-http-server-static-select/http-server-static-select.sh b/082-http-server-static-select/http-server-static-select.sh similarity index 100% rename from 084-http-server-static-select/http-server-static-select.sh rename to 082-http-server-static-select/http-server-static-select.sh diff --git a/085-http-server-static/http-server-static.go b/083-http-server-static/http-server-static.go similarity index 100% rename from 085-http-server-static/http-server-static.go rename to 083-http-server-static/http-server-static.go diff --git a/085-http-server-static/http-server-static.sh b/083-http-server-static/http-server-static.sh similarity index 100% rename from 085-http-server-static/http-server-static.sh rename to 083-http-server-static/http-server-static.sh diff --git a/086-http-server-status-code/http-server-status-code.go b/084-http-server-status-code/http-server-status-code.go similarity index 100% rename from 086-http-server-status-code/http-server-status-code.go rename to 084-http-server-status-code/http-server-status-code.go diff --git a/086-http-server-status-code/http-server-status-code.sh b/084-http-server-status-code/http-server-status-code.sh similarity index 100% rename from 086-http-server-status-code/http-server-status-code.sh rename to 084-http-server-status-code/http-server-status-code.sh diff --git a/087-http-server/http-server.go b/085-http-server/http-server.go similarity index 100% rename from 087-http-server/http-server.go rename to 085-http-server/http-server.go diff --git a/088-https-server/https-server.go b/086-https-server/https-server.go similarity index 100% rename from 088-https-server/https-server.go rename to 086-https-server/https-server.go diff --git a/088-https-server/https-server.sh b/086-https-server/https-server.sh similarity index 100% rename from 088-https-server/https-server.sh rename to 086-https-server/https-server.sh diff --git a/tool/index.txt b/tool/index.txt index 5214a1e..b041c23 100644 --- a/tool/index.txt +++ b/tool/index.txt @@ -70,18 +70,17 @@ sha1-hashes ~ base64-encoding # systems programming -file-open -file-read -file-write +reading-files +writing-files +~ standard-streams command-line-arguments command-line-flags -env +environment-variables +spawning-processes +execing-processes signals exit -spawn -exec reading-input -users line-filter tcp server