/prefect.cfg

The Prefect setup.

Primary LanguageShellApache License 2.0Apache-2.0

Prefect.cfg

The Prefect setup.

Getting started

git clone https://github.com/PrefectHQ/prefect.cfg 
cd prefect.cfg

Follow the instructions below.

Scripts

applications

sh applications.sh

Installs the following applications:

python

sh python.sh

Installs Anaconda and additional Python dependencies, including:

  • black (formatter)
  • ipdb (debugger)
  • mypy (linter)
  • pylint (linter)

macos

sh macos.sh

Installs various Mac OS extensions.

node

sh node.sh

Installs Node

Configurations

Hammerspoon

Hammerspoon is a utility for scripting your Mac. The hammerspoon directory contains an init.lua configuration for Hammerspoon and can be copied to your home folder as .hammerspoon (note the leading dot):

cp -r hammerspoon ~/.hammerspoon

Shortcuts for window management

shortcut first press repeated presses
cmd opt moves window to the left third of the screen cycles through left half and left two-thirds
cmd opt moves window to the right third of the screen cycles through right half and right two-thirds
cmd opt moves window to the middle third of the screen cycles through "middle half" and "middle two-thirds"
cmd opt makes window full-screen moves window to the middle of the screen
cmd ctrl sends window to next monitor