Created By: Astrid Gealer, Web Scale Software Ltd [email protected]
Created On: 23rd July 2023
- A "client" refers to a mail server or user wishing to connect via the protocol to the host server.
- A "user" refers to a user of the host mail server.
| import { Pool } from "pg"; | |
| import postgres from "postgres"; | |
| const pool = new Pool({ connectionString: process.env.DATABASE_URL! }); | |
| const pgJs = postgres(process.env.DATABASE_URL!); | |
| async function average(fn: () => Promise<any>) { | |
| const times: number[] = []; | |
| for (let i = 0; i < 10; i++) { | |
| const t1 = performance.now(); |
| // Get the global browser map. | |
| const getGlobalBrowserMap = () => { | |
| const v = globalThis.__RAINBOWS_INTERNALS_CONN_STACK_IDENTIFIERS__; | |
| if (!v) { | |
| globalThis.__RAINBOWS_INTERNALS_CONN_STACK_IDENTIFIERS__ = new Map(); | |
| return globalThis.__RAINBOWS_INTERNALS_CONN_STACK_IDENTIFIERS__; | |
| } | |
| return v; | |
| }; |
| -----BEGIN PGP PUBLIC KEY BLOCK----- | |
| mDMEZo3axhYJKwYBBAHaRw8BAQdAciC9DKol8VD18C3uCci1Qa6rfmNsyQT51uZK | |
| Kq/QVvi0JkFzdHJpZCBHZWFsZXIgPGFzdHJpZGdlYWxlckBnbWFpbC5jb20+iJkE | |
| ExYKAEEWIQQaq9scQqx2zBwbaAlmcUoYq1IyWAUCZo3axgIbAwUJBaOagAULCQgH | |
| AgIiAgYVCgkICwIEFgIDAQIeBwIXgAAKCRBmcUoYq1IyWBIxAQD+wHXzGEtkFWig | |
| YzCp7beF7YJLhhaqev92/fadSbBUTwEAkOP6GW8vtMcWjEF7SsYfM3EpfCbnBGM0 | |
| 26MvTkRwkgG4OARmjdrGEgorBgEEAZdVAQUBAQdAL6kyE9jLE0XcvgOl1JdI6ggw | |
| PDmxT067nQALhzbn0xsDAQgHiH4EGBYKACYWIQQaq9scQqx2zBwbaAlmcUoYq1Iy | |
| WAUCZo3axgIbDAUJBaOagAAKCRBmcUoYq1IyWDzuAQCZSETt4cK5tF/se8tlbLNw |
| use ssh_key::{ | |
| private::{KeypairData, RsaKeypair}, rand_core::OsRng, | |
| LineEnding, PrivateKey, | |
| }; | |
| use std::{env, path::Path, process, thread}; | |
| fn thread_worker(filter: &str) { | |
| loop { | |
| // Generate a SSH key pair. | |
| let key_data = KeypairData::from(RsaKeypair::random(&mut OsRng, 2048).unwrap()); |
| use std::thread; | |
| // A container that holds data and the thread ID of the thread that created the container. Note that | |
| // this container must be dropped in the same thread that created it, otherwise this will panic since | |
| // the thread ID will be different. | |
| pub struct ThreadBoundContainer<T> { | |
| data: T, | |
| thread_id: thread::ThreadId, | |
| } |
Created By: Astrid Gealer, Web Scale Software Ltd [email protected]
Created On: 23rd July 2023
tldr: I'm a woman and go by she/her pronouns. My name is Astrid!
So there's something I have hid from the internet for over 2 years. I'm trans, I am a woman, and my name is Astrid. I didn't hide it because I thought most people would hate me for it, I hid it because I was scared people would have pre-conceived notions about me and not really understand. Through this, I fragmented the internet with my deadname more and more, and it is something I am actively mopping up now, but now is the time to fix it for a few reasons:
| package main | |
| import ( | |
| "encoding/json" | |
| "os" | |
| "strings" | |
| "github.com/fasthttp/router" | |
| "github.com/valyala/fasthttp" | |
| ) |
| { | |
| "targets": [ | |
| { | |
| "target_name": "x11", | |
| "sources": [ | |
| "x11_screenshotter.cc" | |
| ], | |
| "cflags_cc": ["-O3"], | |
| "libraries": ["-lX11"], | |
| "include_dirs" : [ |
| #include <nan.h> | |
| #include <node.h> | |
| #include <X11/Xlib.h> | |
| #include <X11/extensions/Xrandr.h> | |
| using namespace v8; | |
| void GetScreenshot(const Nan::FunctionCallbackInfo<Value>& args) { | |
| // Get both expected arguments as integers. | |
| Isolate* isolate = args.GetIsolate(); |