Skip to content

Instantly share code, notes, and snippets.

@hiono
hiono / direnvrc
Created December 16, 2021 04:46 — forked from candeira/direnvrc
layout_poetry for direnv
# Layout Poetry originally from
# https://github.com/direnv/direnv/issues/592
layout_poetry() {
if [[ ! -f pyproject.toml ]]; then
log_error 'No pyproject.toml found. Use `poetry new` or `poetry init` to cr
exit 2
fi
local VENV=$(poetry env list --full-path | cut -d' ' -f1)
@hiono
hiono / 0_reuse_code.js
Created January 13, 2016 17:43
Here are some things you can do with Gists in GistBox.
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console