Skip to content

Instantly share code, notes, and snippets.

Dear Dr. Peterson
Hello, I hope you are yours are doing well and that the continued fame is not
draining you too badly. You're doing such a fantastic job. Keep up your spirits and
I'm sure this good fortune will continue for you.
My name is Dustin and I am writing you to present an idea that I have had rolling
around for a while. I am in no way a trained academic and I appologize for any
conflations or inconsistencies that follow. I am not a trained academic, just someone
who is interested in Philosophy and Science. I have come to know your work through
with import <nixpkgs> {};
with pkgs.python27Packages;
stdenv.mkDerivation {
name = "orchestrator-api";
buildInputs = [
# these packages are required for virtualenv and pip to work:
#
python27Full
python27Packages.virtualenv
nix-shell
these paths will be fetched (1.07 MiB download, 7.18 MiB unpacked):
/nix/store/55rrxaa6g0mhlsmj72swgx663z8x7zlf-libxml2-2.9.7-doc
/nix/store/gvbbjgcwn6sbff4rm6rzbwpqpr2vq42y-libzip-1.3.0
/nix/store/kqjn73mw6nfnjqd9yfj06mb4627vzsvh-libxml2-2.9.7-man
/nix/store/ns0lljl5009a1s09fg20b0f9cs0k8hg4-libzip-1.3.0-dev
/nix/store/qqp4xajh7hsmrgwz1688q9pzd5plsjs7-libxslt-1.1.32-doc
/nix/store/sqrn99nx4daakqy0yak77b8zcj9924m4-libxslt-1.1.32-py
/nix/store/vjsz2g1p9zvs0fh0njx8xaq92zaj8gnw-zlib-1.2.11-static
/nix/store/vsafpyfyxk3qcfyml94ldnn3rf3zl57a-libxslt-1.1.32-man
pip install virtualenvwrapper
Collecting virtualenvwrapper
Downloading https://files.pythonhosted.org/packages/2b/8c/3192e10913ad945c0f0fcb17e9b2679434a28ad58ee31ce0104cba3b1154/virtualenvwrapper-4.8.2-py2.py3-none-any.whl
Requirement already satisfied: virtualenv in /nix/store/836im85gwpjj7bj2clxngwhvppf4x7rq-python-2.7.14-env/lib/python2.7/site-packages (from virtualenvwrapper)
Collecting virtualenv-clone (from virtualenvwrapper)
Downloading https://files.pythonhosted.org/packages/6d/c2/dccb5ccf599e0c5d1eea6acbd058af7a71384f9740179db67a9182a24798/virtualenv_clone-0.3.0-py2.py3-none-any.whl
Collecting stevedore (from virtualenvwrapper)
Downloading https://files.pythonhosted.org/packages/17/6b/3b7d6d08b2ab3e5ef09e01c9f7b3b590ee135f289bb94553419e40922c25/stevedore-1.28.0-py2.py3-none-any.whl
Requirement already satisfied: six>=1.10.0 in /nix/store/836im85gwpjj7bj2clxngwhvppf4x7rq-python-2.7.14-env/lib/python2.7/site-packages (from stevedore->virtualenvwrapper)
Exception:
sudo pip install virtualenvwrapper
Enter PIN for 'Certificate For PIV Authentication (Yubico PIV Authentication)':
The directory '/Users/dustinlacewell/Library/Caches/pip/http' or its parent directory is not owned by the current user and the cache has been disabled. Please check the permissions and owner of that directory. If executing pip with sudo, you may want sudo's -H flag.
The directory '/Users/dustinlacewell/Library/Caches/pip' or its parent directory is not owned by the current user and caching wheels has been disabled. check the permissions and owner of that directory. If executing pip with sudo, you may want sudo's -H flag.
Collecting virtualenvwrapper
Downloading https://files.pythonhosted.org/packages/2b/8c/3192e10913ad945c0f0fcb17e9b2679434a28ad58ee31ce0104cba3b1154/virtualenvwrapper-4.8.2-py2.py3-none-any.whl
Requirement already satisfied: virtualenv in /nix/store/836im85gwpjj7bj2clxngwhvppf4x7rq-python-2.7.14-env/lib/python2.7/site-packages (from virtualenvwrapper)
Collecting virtualenv-clone

hydra-elisp

  (defhydra hydra-elisp (:color blue :hint nil)
    "
    execute            debug

[d] defun          [D] defun
[x] expression     [c] call at point
[b] buffer         [a] tag all defs: %`edebug-all-defs
[r] region         [A] tag all forms: %`edebug-all-forms

Work

Worklog

Tasks

Task 1

Task 2

Projects

Project 1

Project 2

Archive

Essays

Workiva

Worklog

This is the target for my date-tree capture template.

Tasks

This is where I keep TODO’s that are not DONE

Reviews

This is where I keep TODO’s that are specifically code reviews

Runbooks

This is where I keep a shit-ton of literate-devops documentation. Code-blocks are executed with C-c C-c. There is a lot of customization you can do here including

+ acl acl:{{$endpoint}}:is_options method OPTIONS
+ use_backend cors_backend if acl:{{$endpoint}}:is_options
+backend cors_backend
+ errorfile 503 /etc/haproxy/options.http