- Download the latest zsh package: https://packages.msys2.org/package/zsh?repo=msys&variant=x86_64
Example:
zsh-5.7.1-1-x86_64.pkg.tar.xz
#!/usr/bin/env sh | |
## Clone Gist to ~/scripts | |
git clone git@gist.github.com:4b1b573c408d3a7d488fe77d20c984c7.git ~/scripts | |
## Run Setup Script | |
~/scripts/setup.sh |
Example:
zsh-5.7.1-1-x86_64.pkg.tar.xz
FFMPEG YouTube Live Stream
https://drjohnstechtalk.com/blog/2019/04/live-stream-to-youtube-from-a-raspberry-pi-webcam/
Papier
https://www.crx4chrome.com/extensions/hhjeaokafplhjoogdemakihhdhffacia/
Miscellaneous
import sys | |
def get_base_prefix_compat(): | |
"""Get base/real prefix, or sys.prefix if there is none.""" | |
return getattr(sys, "base_prefix", None) or getattr(sys, "real_prefix", None) or sys.prefix | |
def in_virtualenv(): | |
return get_base_prefix_compat() != sys.prefix | |
in_virtualenv() |