I encounter wifi disonnection problem on a Dell XPS 13 9360. Here is the solution I used to fix this bad behavior.
lspci | grep -i net
3a:00.0 Network controller: Qualcomm Atheros QCA6174 802.11ac Wireless Network Adapter (rev 32)
This focuses on generating the certificates for loading local virtual hosts hosted on your computer, for development only.
Do not use self-signed certificates in production ! For online certificates, use Let's Encrypt instead (tutorial).
edit /etc/hosts add my.
set -x AWS_PROFILE default # replace | |
set -x AWS_REGION us-east-1 # replace | |
set -x CODEARTIFACT_DOMAIN foo # replace | |
set -x CODEARTIFACT_DOMAIN_ID 123456789 # replace | |
set -x CODEARTIFACT_REPOSITORY somepypi # replace | |
function codeartifact_login | |
set -Ux CODEARTIFACT_TOKEN (aws --profile $AWS_PROFILE codeartifact get-authorization-token --domain $CODEARTIFACT_DOMAIN --domain-owner $CODEARTIFACT_DOMAIN_ID --query authorizationToken --output text) | |
set -Ux PIPENV_PYPI_MIRROR "https://aws:$CODEARTIFACT_TOKEN@$CODEARTIFACT_DOMAIN-$CODEARTIFACT_DOMAIN_ID.d.codeartifact.$AWS_REGION.amazonaws.com/pypi/$CODEARTIFACT_REPOSITORY/simple/" | |
end |
from functools import wraps | |
class SometimesClassmethod: | |
def __init__(self, wrapped_function): | |
self._wrapped = wrapped_function | |
def __get__(self, instance, owner=None): | |
if instance is None: | |
return self._class_call(owner) |