Python Requests – How to use system ca-certificates (debian/ubuntu)?

From https://stackoverflow.com/a/33717517/1695680 To make python requests use the system ca-certificates bundle, it needs to be told to use it over its own embedded bundle export REQUESTS_CA_BUNDLE=/etc/ssl/certs/ca-certificates.crt Requests embeds its bundles here, for reference: /usr/local/lib/python2.7/site-packages/requests/cacert.pem /usr/lib/python3/dist-packages/requests/cacert.pem Or in newer versions use additional package to obtain certificates from: https://github.com/certifi/python-certifi To verify from which file certificates are loaded, … Read more

How to upgrade docker-compose to latest version

First, remove the old version: If installed via apt-get sudo apt-get remove docker-compose If installed via curl sudo rm /usr/local/bin/docker-compose If installed via pip pip uninstall docker-compose Then find the newest version on the release page at GitHub or by curling the API and extracting the version from the response using grep or jq (thanks … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)