Needs https://github.com/docker/hub-tool, xz and jq
hub-tool login
hub-tool org ls --verbose
# Dies
# Create orgs.txt from log| class Vehicle: | |
| """A vehicle class | |
| Attributes: | |
| weight: The weight of the vehicle | |
| """ | |
| weight: float = 0.0 | |
| def __init__(self, weight: float) -> None: |
Needs https://github.com/docker/hub-tool, xz and jq
hub-tool login
hub-tool org ls --verbose
# Dies
# Create orgs.txt from logUsing API might need login.
# Dependencies from supplemental_code/3_Figures/PS3_figures.Rmd
https://octave.sourceforge.io/netcdf/
Octave version too old.
| """ | |
| Requires haddock3, fcc and pyyaml | |
| ```shell | |
| python3 util/generate_haddock3_catalog.py > haddock3_catalog.yml | |
| ``` | |
| """ | |
| import argparse | |
| import importlib |
License checker repository
https://github.com/SarahAlidoost/Licenses_Dependencies
Gist from Bouwe
https://gist.github.com/bouweandela/13ab56bee8778a1eb5b82091e4fdd443
| // An example equation | |
| float equation(float x) { | |
| return 2 * x * x * x - 4 * x * x + 6; | |
| } | |
| // Derivative of the above equation | |
| float derivative(float x) { | |
| return 6 * x * x - 8 * x; | |
| } |
| #ifndef H_PROBLEM_HPP | |
| #define H_PROBLEM_HPP | |
| float equation(float x); | |
| float derivative(float x); | |
| #endif |
| <!doctype html> | |
| <html lang="en"> | |
| <head> | |
| <title>Root finding web application</title> | |
| <script src="https://unpkg.com/react@16/umd/react.development.js" crossorigin></script> | |
| <script src="https://unpkg.com/react-dom@16/umd/react-dom.development.js" crossorigin></script> | |
| <script src="https://unpkg.com/babel-standalone@6/babel.min.js"></script> | |
| <script src="https://cdn.jsdelivr.net/npm/[email protected]"></script> | |
| <script src="https://cdn.jsdelivr.net/npm/[email protected]"></script> | |
| <script src="https://cdn.jsdelivr.net/npm/[email protected]"></script> |
| function IterationsPlot({ iterations }) { | |
| const container = React.useRef(null); | |
| function didUpdate() { | |
| if (container.current === null || iterations.length === 0) { | |
| return; | |
| } | |
| const spec = iterations2spec(iterations); | |
| vegaEmbed(container.current, spec); | |
| } |