Skip to content

Instantly share code, notes, and snippets.

Python 3.8.8 (default, Apr 13 2021, 12:59:45)
Type 'copyright', 'credits' or 'license' for more information
IPython 7.22.0 -- An enhanced Interactive Python. Type '?' for help.
In [1]: import numpy as np
...:
...:
...: class ScoreAggregator:
...: def __init__(self):
...: self._scores = []
@aletheap
aletheap / gist:f6fd66fcd699d8f789bcbc2b33e1ad1e
Created August 11, 2020 23:18
load ssh key automatically
SSH_AGENT_CONFIG="$HOME/.ssh/agent_config"
SSH_AGENT_RUNNING=FALSE
if ! [ -f "$SSH_AGENT_CONFIG" ] ; then
pkill -U $UID ssh-agent
ssh-agent > "$SSH_AGENT_CONFIG"
fi
source "$SSH_AGENT_CONFIG"
@aletheap
aletheap / aletheap_keybase_verification.txt
Created December 3, 2018 21:23
Keybase verification
### Keybase proof
I hereby claim:
* I am aletheap on github.
* I am aletheap (https://keybase.io/aletheap) on keybase.
* I have a public key ASCOmt_2KgScxWVPvyQQLSwemNYAdk51UyX_QpDumZKAQgo
To claim this, I am signing this object: