Skip to content

Instantly share code, notes, and snippets.

@domvwt
domvwt / report.md.raw
Last active January 5, 2022 18:56
Markdown to Latex Starter File
---
# Using https://github.com/Wandmalfarbe/pandoc-latex-template
# wget https://github.com/Wandmalfarbe/pandoc-latex-template/releases/download/v2.0.0/Eisvogel-2.0.0.tar.gz
# mkdir Eisvogel-2.0.0 && tar -xf Eisvogel-2.0.0.tar.gz -C Eisvogel-2.0.0
# pandoc report.md -t latex -o report.pdf --template Eisvogel-2.0.0/eisvogel.latex
title: Document Title
author: Author Name
date: 2022-01-01
titlepage: true
@domvwt
domvwt / substitute-md.py
Created January 3, 2022 22:57
Substitute Jupyter markdown cell content for text from file
"""
This script searches a Jupyter notebook for markdown cells that start with
three colons (:::) and replaces their content with text from the file path
that follows.
Example cell markup:
':::target_file.md'
Usage:
python substitute-md.py my-report.ipynb
@domvwt
domvwt / pygraphviz.ipynb
Last active March 24, 2021 16:21
pygraphviz.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@domvwt
domvwt / vaex-catboost.ipynb
Created February 2, 2021 19:12
vaex-catboost.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@domvwt
domvwt / pycaret-regression.ipynb
Created February 2, 2021 19:07
pycaret-regression.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@domvwt
domvwt / vaex-optuna.ipynb
Created February 2, 2021 17:55
vaex-optuna.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.