Skip to content

Instantly share code, notes, and snippets.

@ayan-b
Last active November 2, 2023 03:06
Show Gist options
  • Save ayan-b/61fb95cc18578bb9f7f62d62412e6f7f to your computer and use it in GitHub Desktop.
Save ayan-b/61fb95cc18578bb9f7f62d62412e6f7f to your computer and use it in GitHub Desktop.
Fixes

Linux Stuff

Things to do after installing Linux:

How to update keys in manjaro?

sudo pacman-mirrors -g --geoip

How to add to path?

  • Temporarily: export PATH=$PATH:/path/to/dir
  • Permanently: Add the same line to ~/.zshrc and then execute source ~/.zshrc, e.g.: export PATH="/var/lib/snapd/snap/bin:$PATH" Neat trick: https://stackoverflow.com/a/47795375

No commands are working on zsh

PATH=/bin:/usr/bin:/usr/local/bin:${PATH}
export PATH

Python Stuff

pytest-cov cannot discover tests

Add __init__.py into the test folder.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment