Skip to content

Instantly share code, notes, and snippets.

View IAmJSD's full-sized avatar
🏠
Working from home

Astrid IAmJSD

🏠
Working from home
View GitHub Profile
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,
}
@IAmJSD
IAmJSD / cemtp-1-spec.md
Last active July 27, 2023 20:40
The specification for Client-side Encrypted Mail Transfer Protocol (CEMTP)

Client-side Encrypted Mail Transfer Protocol (CEMTP) 1.0 Specification

Created By: Astrid Gealer, Web Scale Software Ltd astrid@webscalesoftware.ltd

Created On: 23rd July 2023

Terminology

  • 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.

tldr: I'm a woman and go by she/her pronouns. My name is Astrid!

Coming out

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:

  1. I cannot pretend to be a guy in some circles anymore: I didn't realise how much of a mental toll it had on me until recently when I woke up and realised I needed to come out. I have came out to many people already, and everyone I have came out to has been amazing. I am so thankful to be in the tech circle and have amazing friends who I know will make sure everything is going to be okay.
  2. It's doing a disservice to me and all you: I feel like I could not go to events befor
@IAmJSD
IAmJSD / test_server.go
Created May 13, 2023 19:51
Simple test server for testing HTTP requestors.
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();
This file has been truncated, but you can view the full file.
From b067cd75e453b1d70f648a0201b0261e36162526 Mon Sep 17 00:00:00 2001
From: Jake Gealer <jake@gealer.email>
Date: Tue, 16 Jun 2020 14:49:55 +0100
Subject: [PATCH] Remove all master/slave terminology from Git
---
Documentation/Makefile | 2 +-
Documentation/MyFirstContribution.txt | 32 +-
Documentation/MyFirstObjectWalk.txt | 4 +-
Documentation/SubmittingPatches | 24 +-

Keybase proof

I hereby claim:

  • I am jakemakesstuff on github.
  • I am jakemakesstuff (https://keybase.io/jakemakesstuff) on keybase.
  • I have a public key ASBVi2gjHaWleF4bVX1bKRl4co23NFL6Bt216Bs5F_6kaAo

To claim this, I am signing this object:

MagicCap 2.0 Changelogs

@MattIPv4 and I worked many hours to get this release out. Make sure to thank Matt for all of the mainly visual changes!

New Functionality

  • Added clipboard capture. This allows you to upload what is in your clipboard.
  • Added the ability to use emojis in filenames.
  • Added new editors to the region selector:
    • Pixelate
  • Rectangle
image: "docker:latest"
services:
- "docker:dind"
stages:
- build
- deploy
variables:
DOCKER_DRIVER: overlay