1. Virtualenv env vars

    Fri 08 July 2022

    Setup postactivate script on a new virtualenv

    ~/.virtualenvs/project/bin/postactivate

    #!/usr/local/Cellar/bash/5.0.18/bin/bash
    PROJECT_PATH=~/some/project/path/
    
    export $(grep -v '^#' $PROJECT_PATH/.env | eval echo $(eval xargs))
    

    ~/some/project/path/.env

    # DEV ENV
    # DATABASE_URL=<some_dev_env_db_url>
    
    # LOCAL ENV …
  2. Inkdrop plugin

    Fri 28 January 2022

    This note was commited to Gitlab, using a plugin for Inkdrop!

    Features

    Done

    • Pushing new or updating existing files
    • Remove a note
    • Show a message after a command runs

    WIP

    Backlog

    • Config for metadata Category
    • Keyboard shortcuts
    • Handle pushing notes with images
    • Show message if minimal config is missing
    • Handle …
  3. Pelican + Gitlab CI/CD + Gitlab Pages

    Tue 25 January 2022

    💡I wanted to setup a place for some of my dev notes. For myself, but also to maybe share?

    Pelican site setup

    Up and running

    If a Makefile was created:

    • Run make devserver to serve and regenerate on …