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
// ==UserScript== | |
// @name Analyzer (OpenAI) | |
// @namespace http://tampermonkey.net/ | |
// @version 0.1 | |
// @description Analyze selected text using OpenAI Completion API | |
// @author John Beatty | |
// @match *://*/* | |
// @grant GM_xmlhttpRequest | |
// @grant GM_addStyle | |
// ==/UserScript== |
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 | |
""" | |
Fix moved/renamed files before running rsync to avoid useless retransmissions. | |
Copyright (C) 2022 Anton Pirogov, licensed under the MIT License | |
""" | |
from itertools import chain | |
from typing import List, Dict, Optional | |
from dataclasses import dataclass | |
from pathlib import Path |
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
""" | |
============== | |
URI Normalizer | |
============== | |
An URI normalization library providing syntax-based normalization (case | |
normalization, percent-encoding normalization, path segment normalization) and | |
scheme-based normalization to URIs according to RFC 3986 | |
(https://tools.ietf.org/html/rfc3986). |