irthomasthomas / undecidability

1 stars 0 forks source link

TUI-apps/CLI-Exercises/README.md at main · learnbyexample/TUI-apps #742

Open irthomasthomas opened 2 months ago

irthomasthomas commented 2 months ago

TUI-apps/CLI-Exercises/README.md at main · learnbyexample/TUI-apps

Linux CLI Text Processing Exercises

This TUI application includes 60+ questions to test your CLI text processing skills.

Note
This application is intended for exercises based on Linux CLI tools. You might still be able to solve the exercises on other platforms, but I'm not sure if it works.

Installation

This app is available on PyPI as cliexercises. Example installation instructions are shown below, adjust them based on your preferences and OS.

# virtual environment
$ python3 -m venv textual_apps
$ cd textual_apps
$ source bin/activate
$ pip install cliexercises

# launch the app
$ cliexercises

To run the app without having to enter the virtual environment again, add this alias to .bashrc (or equivalent):

# you'll have to change the path
alias cliexercises='/path/to/textual_apps/bin/cliexercises'

As an alternative, you can install textual (see Textual documentation for more details), clone this repository and run the cli_exercises.py file.

Adjust the terminal dimensions for the widgets to appear properly, for example 84x25 (characters x lines). Here's a sample screenshot:

Sample screenshot for CLI exercises

Guide

See app_guide.md

Video demo

You can view a demo video about this app on Youtube: https://youtu.be/lcm_F7zPzRY

License

Code snippets are licensed under MIT LICENSE

Exercise questions and associated files (like questions.json) are licensed under Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License

View on GitHub

Suggested labels

{'label-name': 'text-processing-exercises', 'label-description': 'Exercises for testing CLI text processing skills', 'confidence': 76.45}

irthomasthomas commented 2 months ago

Related content

625

Similarity score: 0.87

309

Similarity score: 0.85

704

Similarity score: 0.85

727

Similarity score: 0.85

712

Similarity score: 0.85

725

Similarity score: 0.85