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
| { | |
| "name": "Simplified Chinese to Japanese Kanji", | |
| "segmentation": { | |
| "type": "mmseg", | |
| "dict": { | |
| "type": "ocd2", | |
| "file": "STPhrases.ocd2" | |
| } | |
| }, | |
| "conversion_chain": [ |
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 | |
| """ | |
| curlconnecto [curl options] connect-address [schema]://hostname[:port]/path/to/resource | |
| """ | |
| from argparse import ArgumentParser | |
| from urllib.parse import urlparse | |
| from subprocess import run | |
| from shlex import quote | |
| parser = ArgumentParser() |
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
| import os | |
| import sys | |
| import hashlib | |
| import pprint | |
| import sqlite3 | |
| from collections import defaultdict | |
| conn = sqlite3.connect('filehashes.db') | |
| c = conn.cursor() | |
| try: |