Portal¶
Batch compress files
Batch compress files with the following tools
- find : https://linux.die.net/man/1/find
- GNU parallel: https://zenodo.org/records/1146014 (PDF) and https://www.gnu.org/software/parallel/parallel_tutorial.html (HTML)
- 7z
- xz
Julia design patterns
Some notes of Tom Kwong's book Hands on Design patterns in Julia.
Track parameter changes in simulations
From this discourse thread
Changing parameters using traditional DiffEqCallbacks.jl with prob.ps[sym] = val in the middle of a simulation cannot be tracked.
From v10, ModelingToolkit.SymbolicDiscreteCallback can track changed parameters in a callback. See https://docs.sciml.ai/ModelingToolkit/dev/basics/Events/#save_discretes
For example,
Publish Julian Jupyter notebooks
This post will demonstrate my template repositoryabout
- How to use Docker to build a Julian Jupyter notebooks runtime environment.
- How to use GitHub actions to execute notebooks in the docker container in parallel.
- How to use
jupyter-bookto publish notebooks automatically when changes are pushed to GitHub.
Artifacts in GitHub actions
Artifacts are data generated by workflows that can be passed to subsequent jobs.
Automatic Dependency Update in GitHub
Updating package dependencies automatically as a part of continuous integration (CI).
Caching in GitHub actions
Caching dependencies
The actions/cache action caches dependencies for the execution environment.
Git Operations in GitHub actions
Git commands, such as checkout, add, create a branch, make a pull request in Github actions.