Skip to content

Instantly share code, notes, and snippets.


Oleg Lavrovsky loleg

View GitHub Profile
loleg /
Created Dec 6, 2020 — forked from will-bainbridge/
Secret Santa script
Ye olde Secret Santa script based on
You will need to prepare a "people file", which is in CSV format (UTF-8, comma delimited) and has the following columns (without a header row)
Name, E-mail, Extra content 1, Extra content 2
We used the postal address as extra content 1 and a link to Google Street View as extra content 2. Then you can specify a plain text message file which includes %s for the buyer name, recipient name, recipient extra 1, and recipient extra 2 (in that order!). For example:
loleg /
Last active Dec 8, 2017 — forked from jiffyclub/
Activate and deactivate commands for working with conda environments in the fish shell. Currently assumes you are switching to a named environment, not specifying a directory.. Adapted from
# To use this, add to the ~/.config/fish/ directory and source them from
# the end of the ~/.config/fish/ file:
# source $HOME/.config/fish/
# set this to YOUR anaconda/miniconda path:
set CONDAHOME $HOME/miniconda3/envs
function condalist -d 'List conda environments.'
for dir in (ls $CONDAHOME)
View gist:7458a26da3bfcd803b5ed9f7b16d5231
This is gist.
There are many like it, but this one is mine.
It is my life.
I must master it as I must master my life.
Without me gist is useless.
Without gist, I am useless.