| Source | Display |
|---|---|
[x] |
[x] |
[x] text |
[x] text |
- [x] |
- [x] |
<ul><li>[x]</li></ul> |
|
:heavy_check_mark: |
✔️ |
:ballot_box_with_check: |
☑️ |
:white_check_mark: |
✅ |
☑ |
☑ |
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 | |
| from typing import Sequence, NamedTuple, Callable, Literal, Match | |
| from enum import Enum | |
| from html import escape as h | |
| from io import StringIO | |
| from os.path import splitext | |
| from unicodedata import normalize | |
| import re |
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 re | |
| from typing import NamedTuple, Literal, TextIO | |
| from html.parser import HTMLParser | |
| from html import escape as h | |
| _SPACES = re.compile(r'\s+') |
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 csv | |
| import sys | |
| from io import StringIO | |
| from typing import Iterable, Literal | |
| __all__ = 'get_tables', 'get_code_blocks', |
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 | |
| from html import escape as h | |
| from typing import Sequence, Literal | |
| from itertools import chain, repeat | |
| try: | |
| from IPython.display import display, HTML # type: ignore | |
| except ImportError: | |
| def HTML(html): |
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 json | |
| from PIL.Image import Image, open as open_image | |
| from html import escape as h | |
| from pathlib import Path | |
| from uuid import uuid4 | |
| from io import BytesIO | |
| from base64 import b64encode |
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
| # License: LGPLv2-or-later | |
| # Author: Mathias Panzenböck | |
| import ctypes | |
| import errno | |
| import struct | |
| from typing import Callable, Any, Sequence | |
| from ctypes import c_void_p, CFUNCTYPE, POINTER, c_int, c_ulong, c_ushort, c_ubyte, Structure, _Pointer, cast | |
| from ctypes.wintypes import LPVOID, WORD, DWORD, ULONG, LPWSTR, BOOL, LPCVOID, HLOCAL, LPCOLESTR, LPOLESTR, LPCWSTR |
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
| export function escapeCSV(value: string): string { | |
| if (/^[-+._=\/a-z0-9]*$/i.test(value)) { | |
| return value; | |
| } | |
| return `"${value.replace(/"/g, '""')}"`; | |
| } | |
| export function buildCSV(data: string[][]): string { | |
| const buf: string[] = ['\ufeff']; // BOM |
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 | |
| from typing import Generator | |
| import sys | |
| import mailbox | |
| import argparse | |
| import hashlib | |
| def hash_body(hasher, msg: mailbox.Message) -> None: |
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
| VAR1 | |
| VAR2 = | |
| VAR3 = "EGG BACON" "AND SPAM" | |
| "VAR4"="BLUBB" | |
| "VAR 4"=BLUBB | |
| VAR5= "FOO BAR" # COMMENT | |
| VAR6= FOO BAR # COMMNET | |
| #VAR7=... |
NewerOlder