Python Asyncio
Note
This is not a Python asyncio tutorial. Just some personal quick tips here, and could be updated from time to time.
Note
This is not a Python asyncio tutorial. Just some personal quick tips here, and could be updated from time to time.
It might be a common case that you have multiple github.com accounts (personal and professional), and you want to use different ssh keys for different github accounts, as github.com does not allow same ssh key for different accounts with "Key is already in use" error.
To achieve this, you could follow this tutorial:
Unittest based on Pytest framework not embedded unittest.
Sonarcloud Github Action doesn't work by default with Python pytest coverage.xml file, hereunder a working example.
This blog Calling Azure REST API via curl is pretty good. Just two more things.
HTTP rate limit is often the max requests in a limited time period, and sometimes could also be the max concurrent requests.
I need to sync github repository (files and commits only) https://github.com/copdips/copdips.github.io to gitee repository https://gitee.com/copdips/copdips.github.io.
For people who encounter UnicodeEncodeError when using Windows Azure Pipeline agent, the issue might be here.
As per above link, or this email, the solutions could be:
PYTHONIOENCODING=UTF-8.PYTHONUTF8=1, or by passing the command-line option -X utf8.