feat: Create a quarto-based manpage of the resume
Requires quarto for the manpage creation and pandoc for the html conversion, if required.
This commit is contained in:
commit
3be4db8c16
22 changed files with 1249 additions and 3542 deletions
172
cv-man.qmd
Normal file
172
cv-man.qmd
Normal file
|
|
@ -0,0 +1,172 @@
|
|||
---
|
||||
title: "marty"
|
||||
section: 1
|
||||
wrap: auto
|
||||
columns: 60
|
||||
header: User commands and usage
|
||||
format:
|
||||
man:
|
||||
toc: true
|
||||
code-fold: true
|
||||
---
|
||||
|
||||
```{python}
|
||||
#| echo: false
|
||||
import yaml
|
||||
with open("./content.yml") as f:
|
||||
content = yaml.safe_load(f.read())
|
||||
|
||||
def at(obj, lang="en"):
|
||||
return obj[lang]
|
||||
```
|
||||
|
||||
## NAME
|
||||
|
||||
marty - describes the format and characteristics of one or more instances of Marty Oehme.
|
||||
|
||||
## SYNOPSIS
|
||||
|
||||
| **marty** \[**-e**|**\--education**] \[**-f**|**\--freelance** _client_] \[**-e**|**\--employee** _employer_]
|
||||
| **marty** \[**-h**|**\--help**|**-v**|**\--version**]
|
||||
|
||||
## DESCRIPTION
|
||||
|
||||
**marty** is a code fiddler, research helper, and open data proponent.
|
||||
I have worked with a small variety of international and academic organizations,
|
||||
including the University of Leipzig, Roskilde University, the ILO and the UN's
|
||||
UNU-WIDER. Whether it be research paths, programming challenges, data analysis
|
||||
or anything else, I strive for a methodical approach that can be openly traced,
|
||||
versioned, is as understandable and non-destructive as possible (so it can
|
||||
always be rolled back if necessary). Thankfully, modern text processing
|
||||
software, data analysis tools and programming environments make this task not
|
||||
only possible, but often times the most fruitful, productive and downright
|
||||
joyous way to accomplish this.
|
||||
This is my manpage, so you know how to use me.
|
||||
|
||||
### Options
|
||||
|
||||
-e, \--education
|
||||
|
||||
: Prints brief education information.\
|
||||
|
||||
```{python}
|
||||
#| echo: false
|
||||
from IPython.display import display, Markdown
|
||||
outp = ""
|
||||
for ed in content["education"]:
|
||||
place = ed["place"]["en"]
|
||||
title = ed["title"]["en"]
|
||||
date = ed["date"]["en"]
|
||||
outp += f"> **{title}**\n _{place}_ ({date})\n\n"
|
||||
Markdown(outp)
|
||||
```
|
||||
|
||||
-f, \--freelance
|
||||
|
||||
: A short overview of employed work taken on by **marty**.
|
||||
|
||||
```{python}
|
||||
#| echo: false
|
||||
from IPython.display import display, Markdown
|
||||
outp = ""
|
||||
for frl in content["experience"]:
|
||||
if frl["typeid"] != 1:
|
||||
continue
|
||||
place = frl["place"]["en"]
|
||||
title = frl["title"]["en"]
|
||||
date = frl["date"]["en"]
|
||||
outp += f"> **{title}**\n _{place}_ ({date})\n\n"
|
||||
Markdown(outp)
|
||||
```
|
||||
|
||||
Displaying more information on each result, requires the verbose flag.
|
||||
|
||||
-e, \--employee
|
||||
|
||||
: A short overview of salaried work undertaken by **marty**.
|
||||
|
||||
```{python}
|
||||
#| echo: false
|
||||
from IPython.display import display, Markdown
|
||||
outp = ""
|
||||
for empl in content["experience"]:
|
||||
if empl["typeid"] != 2:
|
||||
continue
|
||||
place = empl["place"]["en"]
|
||||
title = empl["title"]["en"]
|
||||
date = empl["date"]["en"]
|
||||
outp += f"> **{title}**\n _{place}_ ({date})\n\n"
|
||||
Markdown(outp)
|
||||
```
|
||||
|
||||
-v, \--version
|
||||
|
||||
: Prints the current version number.
|
||||
|
||||
## FILES
|
||||
|
||||
~/.resumerc
|
||||
: Per-application resume dedication file.
|
||||
|
||||
/etc/resume.conf
|
||||
: Global resume configuration file.
|
||||
|
||||
## EXAMPLES
|
||||
|
||||
```{python}
|
||||
#| echo: false
|
||||
from IPython.display import display, Markdown
|
||||
sk = []
|
||||
for ent in content["skills"]:
|
||||
name = ent["name"]["en"]
|
||||
items = [f"_{i["en"]}_" for i in ent["items"]]
|
||||
sk.append(f"Using **{name}** skill:\n: {' && '.join(items)}")
|
||||
Markdown(f"{"\n\n".join(sk)}")
|
||||
```
|
||||
|
||||
## ENVIRONMENT
|
||||
|
||||
DEFAULT_LOCATION=_Berlin_
|
||||
: Changes the default location of **marty**.
|
||||
|
||||
OLD_LOCATION=_Leipzig_
|
||||
: Shows the previous location of **marty**.
|
||||
: Automatically changes when **DEFAULT_LOCATION** is changed.
|
||||
|
||||
```{python}
|
||||
#| echo: false
|
||||
from IPython.display import display, Markdown
|
||||
vols = []
|
||||
for vol in content["volunteering"]:
|
||||
title = vol["title"]["en"]
|
||||
date = vol["date"]["en"]
|
||||
place = vol["place"]["en"]
|
||||
desc = vol["bullets"][0]["en"]
|
||||
vols.append(f"{title.upper()}={place.replace(" ", "_")}\n: {desc}. Environment only valid {date}, setting completely optional (volunteering).")
|
||||
Markdown(f"{"\n\n".join(vols)}")
|
||||
```
|
||||
|
||||
## BUGS
|
||||
|
||||
```{python}
|
||||
#| echo: false
|
||||
from IPython.display import display, Markdown
|
||||
langs = []
|
||||
for l in content["languages"]:
|
||||
name = l["name"]["en"]
|
||||
lvl = l["items"][0]["en"]
|
||||
langs.append(f"{name} ({lvl})")
|
||||
Markdown(f"Currently there is one known issue for **marty**, he can not be run as C language code. He can only be run in the following languages: {", ".join(langs)}.")
|
||||
```
|
||||
|
||||
If you have found any additional bugs or issues,
|
||||
don't hesitate to contact the author.
|
||||
|
||||
## AUTHOR
|
||||
|
||||
Marty Oehme <contact@martyoeh.me>.\
|
||||
Many thanks for the inspiration to Micah <https://mehalter.com/micah.7.html>
|
||||
|
||||
## SEE ALSO
|
||||
|
||||
**martyoeh.me(2)**, **git.martyoeh.me(1)**, **keyoxide.org/c414ff88a557f29afef76c7e73ba40d5afaf49c9(5)**, micah(7)
|
||||
Loading…
Add table
Add a link
Reference in a new issue