This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python3 | |
import sys | |
import argparse | |
import logging | |
import shutil | |
import subprocess | |
from pathlib import Path | |
MAX_DIRS = 99 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- Replace intra-word colons with gender star or gap | |
-- | |
-- Copyright 2022 Frederik Elwert <[email protected]> | |
-- | |
-- LICENSE | |
-- | |
-- Permission is hereby granted, free of charge, to any person obtaining a copy | |
-- of this software and associated documentation files (the "Software"), to | |
-- deal in the Software without restriction, including without limitation the | |
-- rights to use, copy, modify, merge, publish, distribute, sublicense, and/or |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python3 | |
import sys | |
import argparse | |
import logging | |
import datetime | |
import csv | |
from pathlib import Path | |
from holidays.countries.germany import Germany |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function Div(el) | |
if (el.attributes.lang == "zh") then | |
return {pandoc.RawBlock("latex", "\\begin{otherlanguage}{chinese}"), | |
el, | |
pandoc.RawBlock("latex", "\\end{otherlanguage}")} | |
end | |
end | |
function Span(el) | |
if (el.attributes.lang == "zh") then |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python3 | |
import os | |
import re | |
import subprocess | |
from multiprocessing import Process | |
from pathlib import Path | |
from typing import Dict, List, Optional | |
from urllib.parse import unquote |
OlderNewer