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)
| # Contributor License Agreement (CLA) | |
| _For projects licensed under the Elastic License 2.0_ | |
| Thank you for your interest in contributing to this project. To ensure that all contributions can be used, licensed, and redistributed under the Elastic License 2.0 (ELv2), we require that all contributors agree to the following terms. | |
| ## 1. Definitions | |
| - **"You"** means the individual submitting a contribution. | |
| - **"Contribution"** means any code, documentation, or other material you intentionally provide to this project via pull request, issue, patch, or any other method. | |
| ## 2. License Grant |
| 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 |