From 1c86b8b6a40d1ac9ed0a62bb1c744fc9197947de Mon Sep 17 00:00:00 2001 From: miguel Date: Tue, 19 Nov 2024 16:19:08 +0000 Subject: [PATCH] fix(subjects) already fixed in the module but not in public so student complained --- subjects/go-reloaded/README.md | 2 +- subjects/wget/README.md | 6 +++--- subjects/wget/audit/README.md | 20 ++++++++++---------- 3 files changed, 14 insertions(+), 14 deletions(-) diff --git a/subjects/go-reloaded/README.md b/subjects/go-reloaded/README.md index 552a99be4f..6ba37f24b7 100644 --- a/subjects/go-reloaded/README.md +++ b/subjects/go-reloaded/README.md @@ -20,7 +20,7 @@ The tool you are about to build will receive as arguments the name of a file con - Every instance of `(hex)` should replace the word before with the decimal version of the word (in this case the word will always be a hexadecimal number). (Ex: "1E (hex) files were added" -> "30 files were added") - Every instance of `(bin)` should replace the word before with the decimal version of the word (in this case the word will always be a binary number). (Ex: "It has been 10 (bin) years" -> "It has been 2 years") -- Every instance of `(up)` converts the word before with the Uppercase version of it. (Ex: "Ready, set, go (up) !" -> "Ready, set, GO !") +- Every instance of `(up)` converts the word before with the Uppercase version of it. (Ex: "Ready, set, go (up) !" -> "Ready, set, GO!") - Every instance of `(low)` converts the word before with the Lowercase version of it. (Ex: "I should stop SHOUTING (low)" -> "I should stop shouting") - Every instance of `(cap)` converts the word before with the capitalized version of it. (Ex: "Welcome to the Brooklyn bridge (cap)" -> "Welcome to the Brooklyn Bridge") diff --git a/subjects/wget/README.md b/subjects/wget/README.md index b14e1cb688..a4365b6233 100644 --- a/subjects/wget/README.md +++ b/subjects/wget/README.md @@ -126,14 +126,14 @@ This flag should accept different value types, example: k and M. So you can put $ ls download.txt main.go $ cat download.txt -http://ipv4.download.thinkbroadband.com/20MB.zip -http://ipv4.download.thinkbroadband.com/10MB.zip +https://assets.01-edu.org/wgetDataSamples/20MB.zip +https://assets.01-edu.org/wgetDataSamples/Image_10MB.zip $ go run . -i=download.txt content size: [10485760, 20971520] finished 10MB.zip finished 20MB.zip -Download finished: [http://ipv4.download.thinkbroadband.com/20MB.zip http://ipv4.download.thinkbroadband.com/10MB.zip] +Download finished: [https://assets.01-edu.org/wgetDataSamples/20MB.zip https://assets.01-edu.org/wgetDataSamples/Image_10MB.zip] ``` diff --git a/subjects/wget/audit/README.md b/subjects/wget/audit/README.md index 20c65c232e..76f054b5ac 100644 --- a/subjects/wget/audit/README.md +++ b/subjects/wget/audit/README.md @@ -24,7 +24,7 @@ ###### Did the program displayed the name and path of the file that was saved? -##### Try to download a big file, for example: `./wget http://ipv4.download.thinkbroadband.com/100MB.zip` +##### Try to download a big file, for example: `./wget https://assets.01-edu.org/wgetDataSamples/Sample.zip` ###### Did the program download the expected file? @@ -36,39 +36,39 @@ ###### While downloading, did the progress bar progressed smoothly (kept up with the time that the download took to finish)? -##### Try to run the following command, `./wget -O=test_20MB.zip http://ipv4.download.thinkbroadband.com/20MB.zip` +##### Try to run the following command, `./wget -O=test_20MB.zip https://assets.01-edu.org/wgetDataSamples/20MB.zip` ###### Did the program downloaded the file with the name `test_20MB.zip`? -##### Try to run the following command, `./wget -O=test_20MB.zip -P=~/Downloads/ http://ipv4.download.thinkbroadband.com/20MB.zip` +##### Try to run the following command, `./wget -O=test_20MB.zip -P=~/Downloads/ https://assets.01-edu.org/wgetDataSamples/20MB.zip` ###### Can you see the expected file in the "~/Downloads/" folder? -##### Try to run the following command, `./wget --rate-limit=300k http://ipv4.download.thinkbroadband.com/20MB.zip` +##### Try to run the following command, `./wget --rate-limit=300k https://assets.01-edu.org/wgetDataSamples/20MB.zip` ###### Was the download speed always lower than 300KB/s? -##### Try to run the following command, `./wget --rate-limit=700k http://ipv4.download.thinkbroadband.com/20MB.zip` +##### Try to run the following command, `./wget --rate-limit=700k https://assets.01-edu.org/wgetDataSamples/20MB.zip` ###### Was the download speed always lower than 700KB/s? -##### Try to run the following command, `./wget --rate-limit=2M http://ipv4.download.thinkbroadband.com/20MB.zip` +##### Try to run the following command, `./wget --rate-limit=2M https://assets.01-edu.org/wgetDataSamples/20MB.zip` ###### Was the download speed always lower than 2MB/s? ##### Try to create a text file with the name `downloads.txt` and save into it the links below. Then run the command `./wget -i=downloads.txt` ``` -https://pbs.twimg.com/media/EMtmPFLWkAA8CIS.jpg -http://ipv4.download.thinkbroadband.com/20MB.zip -http://ipv4.download.thinkbroadband.com/10MB.zip +https://assets.01-edu.org/wgetDataSamples/Image_20MB.zip +https://assets.01-edu.org/wgetDataSamples/20MB.zip +https://assets.01-edu.org/wgetDataSamples/Image_10MB.zip ``` ###### Did the program download all the files from the downloads.txt file? (EMtmPFLWkAA8CIS.jpg, 20MB.zip, 10MB.zip) ###### Did the downloads occurred in an asynchronous way? (tip: look to the download order) -##### Try to run the following command, `./wget -B http://ipv4.download.thinkbroadband.com/20MB.zip` +##### Try to run the following command, `./wget -B https://assets.01-edu.org/wgetDataSamples/20MB.zip` ``` Output will be written to ‘wget-log’.