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
# All my gist code is licensed under the terms of the MIT license. | |
# Video demo: https://www.youtube.com/watch?v=z6Wee8o4x1s | |
# Put this in your .bashrc | |
# Record terminal to this file. | |
__terminal_recording_file="${HOME}/.cache/terminal_recording" | |
# Record terminal output. |
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 asyncio | |
import sys | |
from typing import Optional | |
import asyncssh | |
import httpx | |
class MySSHTCPSession(asyncssh.SSHTCPSession): | |
def __init__(self): |
OlderNewer