Skip to content

Instantly share code, notes, and snippets.

@carlkibler
carlkibler / standard.sh
Created August 16, 2018 16:45 — forked from hfossli/standard.sh
Standard bash script format
#!/bin/bash
CLEAR='\033[0m'
RED='\033[0;31m'
function usage() {
if [ -n "$1" ]; then
echo -e "${RED}👉 $1${CLEAR}\n";
fi
echo "Usage: $0 [-n number-of-people] [-s section-id] [-c cache-file]"
@carlkibler
carlkibler / setup.md
Created May 1, 2018 20:02 — forked from brosner/setup.md
My development environment setup

Prepare by switching out of bash from Homebrew:

chsh -s /bin/bash

To clean my system and reinstall Homebrew:

rm -rf ~/.local && mkdir ~/.local
rm -rf ~/Library/Caches/pip
rm -rf ~/.pyenv

rm -rf ~/.config/yarn

Effective Engineer - Notes

What's an Effective Engineer?

  • They are the people who get things done. Effective Engineers produce results.

Adopt the Right Mindsets

  • Update HISTORY.rst
  • $ bumpversion minor
  • Install the package again for local development, but with the new version number:
$ mkvirtualenv runtests
$ python setup.py develop
$ cookiecutter --version
  • Run the tests: