Skip to content

Instantly share code, notes, and snippets.

View prio's full-sized avatar

Jonathan Harrrington prio

View GitHub Profile
using System.Net;
using System.Net.Sockets;
using System.Text;
namespace PgWire;
class PgBuffer
{
// private NetworkStream _stream;
//
HOST = ''
headers = {
'Accept': "application/json",
'Content-Type': "application/json",
'Authorization': f'Bearer {get_token()}'
}
# Just runs Export atm
def main(command: str, directory: str):
"Runs outline export and either downloads the zip (default) or extracts it to dir"