This file contains 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 | |
# Standard libraries. | |
import logging | |
import socket | |
import sys | |
import threading | |
# External libraries. | |
import imapclient # type: ignore[import] |
This file contains 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 | |
# Standard libraries. | |
import asyncio | |
import logging | |
import platform | |
import signal | |
import sys | |
# External libraries. |
This file contains 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 bash | |
main() { | |
: "${XDG_DATA_HOME:="${HOME}/.local/share"}" | |
local local_dir | |
local_dir="$(readlink -f "${XDG_DATA_HOME}/..")" | |
: "${PREFIX="${local_dir}"}" | |
local src_dir="${local_dir}/src/tclx" | |
printf 'Using source directory: %s\n' "${src_dir}" |
This file contains 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
#pragma once | |
// Standard library. | |
#include <array> | |
#include <memory> | |
#include <string> | |
// C standard library. | |
#include <cstddef> | |
#include <cstdio> |