Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CON-3263 Fix subjects #2807

Merged
merged 1 commit into from
Nov 19, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion subjects/go-reloaded/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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")

Expand Down
6 changes: 3 additions & 3 deletions subjects/wget/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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]

```

Expand Down
20 changes: 10 additions & 10 deletions subjects/wget/audit/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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?

Expand All @@ -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’.
Expand Down
Loading