mirror of
https://codeberg.org/Mo8it/How_To_Linux.git
synced 2024-12-05 01:40:32 +00:00
Compare commits
3 commits
bb03656c61
...
f82bffd78f
Author | SHA1 | Date | |
---|---|---|---|
f82bffd78f | |||
9270ffd09d | |||
dada325ba7 |
4 changed files with 12 additions and 13 deletions
4
cs/Cargo.lock
generated
4
cs/Cargo.lock
generated
|
@ -190,9 +190,9 @@ checksum = "2da6da31387c7e4ef160ffab6d5e7f00c42626fe39aea70a7b0f1773f7dd6c1b"
|
|||
|
||||
[[package]]
|
||||
name = "collective-score-client"
|
||||
version = "0.0.5"
|
||||
version = "0.0.6"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "d7bf3513f18ebf36b12e0bf91049c2091d5d014a585c65bf54648d19223abe19"
|
||||
checksum = "c0a1f0538b4f7938dbc45e1910ccbeb4b348824f74728b7839800dab131dc263"
|
||||
dependencies = [
|
||||
"anyhow",
|
||||
"clap",
|
||||
|
|
|
@ -8,6 +8,6 @@ license = "AGPL-3.0"
|
|||
repository = "https://codeberg.org/mo8it/dev-tools"
|
||||
|
||||
[dependencies]
|
||||
collective-score-client = "0.0.5"
|
||||
collective-score-client = "0.0.6"
|
||||
dirs = "5.0.1"
|
||||
regex = "1.9.3"
|
||||
|
|
|
@ -84,11 +84,18 @@ Save the PDF file using the name `knowunity.pdf`.
|
|||
|
||||
The link to the PDF file starts with `https://` and ends with `.pdf`.
|
||||
|
||||
After that it works, write a script that asks the user for the link to a document at [knowunity.de](https://knowunity.de) and downloads the PDF file.
|
||||
|
||||
🟢 Run `cs task pdf` in the same directory where the downloaded PDF file is.
|
||||
|
||||
### Hints
|
||||
|
||||
- To capture a regex group using ripgrep, you should use `rg '.*(GROUP_PATTERN).*' -r '$1'` after replacing `GROUP_PATTERN` with the pattern that you are looking for.
|
||||
- If you find the link of the file using `rg`, copy it into a browser to make sure that you got a correct link to a PDF file.
|
||||
|
||||
## Task: Vim game
|
||||
|
||||
In this task, we are going to play a game! 🎮️
|
||||
|
||||
The game is an educational game that lets you learn the very basics of navigation in Vim which we learn about later.
|
||||
But for now, I can get familiar with the basics during the game.
|
||||
|
||||
Play the game on this website: [https://vim-adventures.com](https://vim-adventures.com/)
|
||||
|
|
|
@ -145,14 +145,6 @@ Verify the redirection of the standard output and standard error in the director
|
|||
1. Use `poetry shell` to enter the environment.
|
||||
1. Run the script and check the generated PDF file `h_t.pdf`.
|
||||
|
||||
## Task: Vim game
|
||||
|
||||
In this task, we are going to play a game! 🎮️
|
||||
|
||||
The game is an educational game that lets you learn the very basics of the navigation in Vim.
|
||||
|
||||
Play the game on this website: [https://vim-adventures.com](https://vim-adventures.com/)
|
||||
|
||||
## Task: Python rewrite
|
||||
|
||||
Choose one of the scripts that you have written during the course and rewrite it in Python!
|
||||
|
|
Loading…
Reference in a new issue