Skip to content

Instantly share code, notes, and snippets.

View sneakyPad's full-sized avatar

Patrick sneakyPad

View GitHub Profile
# Originally taken from: https://docs.pytest.org/en/stable/explanation/fixtures.html#fixture-errors
import pytest
@pytest.fixture
def order():
return []
@pytest.fixture

Install black globally

brew install black

Gets installed to: /opt/homebrew/bin/black

change path of external tools -> black

Desc: Black is the uncompromising Python code formatter.

How to use GIT Secrets

Find more information here: https://git-secret.io/

Installation

Install GPG:

ibrew install gnupg

Install git-secret:

@sneakyPad
sneakyPad / macos_setup_ohmyzsh.md
Last active August 24, 2021 08:18
Setting up (my) Oh My Zsh for macOS Big Sur 11.1 (M1)

Setup of Oh My Zsh on macOS (M1)

Install the basis

Install Homebrew:

/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)" 
#(In doubt go to: https://brew.sh/)

echo 'eval "$(/opt/homebrew/bin/brew shellenv)"' >> /Users/<username>/.zprofile
eval "$(/opt/homebrew/bin/brew shellenv)"