If you are lazy and want to set up credentials as in last commit
git config user.name $(git log --format='%an' -1)
git config user.email $(git log --format='%ae' -1)
| import requests | |
| r = requests.get("https://api.kraken.com/0/public/OHLC?pair=XETHZEUR&interval=60") | |
| data = r.json() | |
| viewable = data['result']["XETHZEUR"][-1][-3] | |
| print(viewable[:-3]+'€') |
| ((nil . ((eval . ( | |
| defvar projectile-main-project "/home/mwm/repositories/LHCb/ml_analysis_recreation" | |
| ))))) |
If you are lazy and want to set up credentials as in last commit
git config user.name $(git log --format='%an' -1)
git config user.email $(git log --format='%ae' -1)
| #!/bin/bash | |
| DIR1=$(pwd) | |
| MAINDIR=$(pwd)/3rdparty | |
| mkdir ${MAINDIR} | |
| cd ${MAINDIR} | |
| conda create -y -n "NavAgents" python=3.6 | |
| source activate NavAgents | |
| conda install opencv -y | |
| conda install pytorch torchvision -c pytorch -y |
| import random | |
| from typing import get_type_hints | |
| class Bar: | |
| def foo(self, a: str) -> int: | |
| return 1 | |
| class fakedict(dict): |
| import subprocess | |
| import multiprocessing | |
| class MultiImuSubprocess(multiprocessing.Process): | |
| def __init__(self, result_queue, death_pill_queue, cmd, *args, **kwargs): | |
| multiprocessing.Process.__init__(self) | |
| self.result_queue = result_queue | |
| self.death_pill_queue=death_pill_queue | |
| self.data = None |
Example of transfer learning taken from https://gist.github.com/baraldilorenzo/07d7802847aaad0a35d3