List of courses in English at Khan Academy (work in progress). Includes links to many retired courses that are hidden but still available.
Use apt to install the necessary packages:
sudo apt install -y slurm-wlm slurm-wlm-doc
Load file:///usr/share/doc/slurm-wlm/html/configurator.html in a browser (or file://wsl%24/Ubuntu/usr/share/doc/slurm-wlm/html/configurator.html on WSL2), and:
- Set your machine's hostname in
SlurmctldHostandNodeName. - Set
CPUsas appropriate, and optionallySockets,CoresPerSocket, andThreadsPerCore. Use commandlscputo find what you have. - Set
RealMemoryto the number of megabytes you want to allocate to Slurm jobs, - Set
StateSaveLocationto/var/spool/slurm-llnl. - Set
ProctrackTypetolinuxprocbecause processes are less likely to escape Slurm control on a single machine config.
Blog 2020/5/7
<- previous | index | next ->
EDIT 2024/12/1: I updated a few of these commands to work with qemu 9.x.
| --- | |
| title: "Markdown to HTML: Cross-references and captions for tables and figure" | |
| output: | |
| bookdown::html_document2 | |
| --- | |
| Update December 2022: `gt` and `rtables` (partially) have cross-references. | |
| And there is [`quarto`](https://quarto.org/docs/authoring/cross-references.html), not treated here, which has a much more elegant referencing syntax. |
If your Mac is out-of-order or you otherwise cannot download macOS from the App Store, you can still create a bootable OS X recovery USB, and you can use that to create an Installer USB.
The downloads used in this process are legal and freely avaliable - including disk images directly from Apple's IT support pages, and open source utilities for extracting and converting pkg, dmg, and HFS+.
Here is a short guide on how to build QEMU to run Mac OS 9 with working audio. These instructions work for MacOS High Sierra as the host OS, although with some tweaking they may run under Linux/Windows. You should be comfortable compiling software from source before attempting.
Adapted from instructions from Cat_7
You may need to install XCode and/or the XCode command line tools. If you do not have them, then this process may prompt you to install them (MacOS will do that).
| import numpy as np | |
| from matplotlib import pyplot as plt | |
| class LivePlotNotebook(object): | |
| """ | |
| Live plot using %matplotlib notebook in jupyter notebook | |
| Usage: | |
| ``` | |
| import time |