Make the following usb sticks and drives on windows:
- Ubuntu install usb stick
- System recovery usb stick
- System backup image on usb hard drive
MD_FILES := $(wildcard *.md) | |
PDF_TARGETS = $(MD_FILES:.md=.pdf) | |
.PHONY: all | |
all: $(PDF_TARGETS) | |
%.pdf : %.md | |
pandoc -s $< -o $@ -t latex --highlight-style=tango -H head.tex |
import pandas as pd | |
import numpy as np | |
import sys, argparse | |
from numbers import Number | |
def df_to_latex(df, digits=2, pcols=None): | |
table = "\\begin{tabular}{l " | |
if pcols: | |
for _ in range(len(df.columns)): |