klezm
klezm
## Script to fix epubs I wrote a script to update epub books with the suggestion by @piovac ```py import pathlib import shutil import io import xml.dom.minidom import xml.etree.ElementTree as...
Multiline notes are working within the `aside` tag. You need to set the `data-markdown` attribute and for some reason you cannot have blank lines within the `aside` tag. ```html my...
I found some open datasets on http://www.informatik.uni-leipzig.de/~wiebel/public_data/index.html where I picked the "Abdominal MRI" dataset. But for my purpose I used your tools to analyse microscopy images. Btw. I would recommend...
That's the code i used to convert a numpy array to the nifti format. ```py import nibabel import numpy as np ims = np.arange(3*5*5).reshape((3, 5, 5)) print(ims.shape) # 3 Images...
Running over a similar issue. Would it be possible to use `attrs.field()` with a context manager? Something like that: ```py import typing import attrs @attrs.define class MyClass: a: int =...
To sort the `winget list` output I wrote 2 small scripts for powershell. This one-liner will sort the output alphabetically. This will overwrite the variable `$wg` if defined. To prevent...
To include the edge attributes in the output from `tree_data` you simply have to add the following lines after Line 79 https://github.com/networkx/networkx/blob/30ac7956569cb0c4f0787600f8537425d05c5dca/networkx/readwrite/json_graph/tree.py#L79-L80 ```py if edge_attributes: data = G.get_edge_data(n, child) if...
The issue is independent from the features. My guess is that setting `extensions` but not `customizations` → `vscode` → `extensions` will leave the latter to be `[]` therefore omitting locally...
Astro allows to [add remark and rehype plugins](https://docs.astro.build/en/guides/markdown-content/#adding-remark-and-rehype-plugins). Wouldn't it be better to use [remark-math ](https://github.com/remarkjs/remark-math/tree/main/packages/remark-math) with [rehype-katex](https://github.com/remarkjs/remark-math/tree/main/packages/rehype-katex) which is the standard in [MDX](https://mdxjs.com/guides/math/#math)? I implemented it and created a...
A preview for this feature can be found in the article "Advanced markdown syntax guide" on the blog. https://deploy-preview-84--astro-micro.netlify.app/blog/04-markdown-syntax/advanced