This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| """ | |
| Export a Conda environment with --from-history, but also append | |
| Pip-installed dependencies | |
| Exports only manually-installed dependencies, excluding build versions, but | |
| including Pip-installed dependencies. | |
| Lots of issues requesting this functionality in the Conda issue tracker, no | |
| sign of progress (as of March 2020). |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| [LabBuildApp] Building in /home/maye/miniconda3/envs/py38/share/jupyter/lab | |
| [LabBuildApp] Node v16.10.0 | |
| [LabBuildApp] Yarn configuration loaded. | |
| [LabBuildApp] Building jupyterlab assets (production, minimized) | |
| [LabBuildApp] > node /home/maye/miniconda3/envs/py38/lib/python3.8/site-packages/jupyterlab/staging/yarn.js install --non-interactive | |
| [LabBuildApp] yarn install v1.21.1 | |
| [1/5] Validating package.json... | |
| [2/5] Resolving packages... | |
| success Already up-to-date. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # taken from: https://raw.githubusercontent.com/pete88b/decision_tree/master/test_nbs.py | |
| # We need a "test_" file with "test_" functions to make it easy to run with pytest | |
| # couple of example "test_" functions | |
| # import nbdev.test | |
| # def test_run(): | |
| # print('running nbdev.test.test_nb("20_models.ipynb") ...') |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import os, hashlib, urllib2, optparse | |
| def get_remote_md5_sum(url, max_file_size=100*1024*1024): | |
| remote = urllib2.urlopen(url) | |
| hash = hashlib.md5() | |
| total_read = 0 | |
| while True: | |
| data = remote.read(4096) | |
| total_read += 4096 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env python | |
| # -*- coding: utf-8 -*- | |
| from datetime import datetime as dt | |
| from pathlib import Path | |
| from sh import speedtest | |
| fname = Path("multiple_connections_triton.csv") |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.