Skip to content

Instantly share code, notes, and snippets.

View rot26's full-sized avatar
💬
is typing...

Chris rot26

💬
is typing...
  • Colorado, United States
View GitHub Profile
@rot26
rot26 / environment.py
Created May 29, 2020 21:58
[Behave Hooks ] #gherkin #behave #bdd #template #python
def before_all(context):
print('before_all activated')
def after_all(context):
print('after_all activated')
def before_feature(context, feature):
print('before_feature activated')
@rot26
rot26 / change-ssh-keyfile-password.md
Last active February 24, 2021 16:52
[change ssh keyfile password] #ssh #security #password #SecurityTheater
@rot26
rot26 / .bashrc
Last active November 26, 2022 02:56
[.bashrc.d] Use bashrc directory instead of bashrc #bash #bashrc
# Add this to your ~/.bashrc file
# Use .bashrc.d directory instead of bloated .bashrc file
# From: https://waxzce.medium.com/use-bashrc-d-directory-instead-of-bloated-bashrc-50204d5389ff
BASHRC_DIR="${HOME}/.bashrc.d"
# Optionally create directory if not exists
if [ ! -d "${BASHRC_DIR}" ]; then
mkdir -p "${BASHRC_DIR}";
chmod 700 "${BASHRC_DIR}";
fi
# Load any *.bashrc files in ~/.bashrc.d/