25th Week of 2021
Life is a real time sandbox role game where you play as yourself surviving in today's world.
bruty is a Python program to bruteforce dynamic web applications with Selenium.
Improvement: Add textual as interesting library to explore.
textual: Textual is a TUI (Text User Interface) framework for Python using Rich as a renderer.
- Improvement: Explain how to change the command line help description.
- New: Explain how to make redirections with fastapi.
- New: Explain how to run a FastAPI server in the background for testing purposes.
With pytest-rerunfailures that is a plugin for pytest that re-runs tests to eliminate intermittent failures. Using this plugin is generally a bad idea, it would be best to solve the reason why your code is not reliable. It's useful when you rely on non robust third party software in a way that you can't solve, or if the error is not in your code but in the testing code, and again you are not able to fix it.
feat(python_snippets#Create combination of elements in groups of two): Explain how to create combination of elements in groups of two
>>> list(itertools.combinations('ABC', 2)) [('A', 'B'), ('A', 'C'), ('B', 'C')]
- New: Explain how to use selenium with python.
os.environ["DBUS_SESSION_BUS_ADDRESS"] = "/dev/null"
If you have a job that has failed after the 6 default retries, it will show up in your monitorization forever, to fix it, you can manually trigger the job.
kubectl get job "your-job" -o json \ | jq 'del(.spec.selector)' \ | jq 'del(.spec.template.metadata.labels)' \ | kubectl replace --force -f -
split -l 200000 filename