Sitelet https://gist.github.com/JNCJcoder
Skip to content

Instantly share code, notes, and snippets.

View JNCJcoder's full-sized avatar

JNCJ JNCJcoder

View GitHub Profile
@JNCJcoder
JNCJcoder / mtlsFetch.ts
Created July 5, 2025 17:29
Performs HTTPS requests with mutual TLS (mTLS) for Supabase Edge Functions on Deno 1.45.2
/*
Name: mTLS Fetch
Description: Performs HTTPS requests with mTLS for Supabase Edge Functions (Deno 1.45.2).
Creation Date: 04/07/2025
*/
/**
* Options for making an mTLS HTTPS request.
*/
type MtlsRequestOptions = {
; CHIP8 Interpreter for COSMAC VIP
; Source: https://web.archive.org/web/20190819144645/http://laurencescotford.co.uk/wp-content/uploads/2013/08/CHIP-8-Interpreter-Disassembly.pdf
ORG 0x0000
GHI 1 ; When a program is initially run R1 points to the end of the last available page of on-card RAM.
PHI B ; Sets RB to the display page (this is the highest memory page of on-card RAM)
SMI 0x01 ; Point to the previous page in RAM
PHI 2 ; Set the high order byte of the stack pointer to this page
PHI 6 ; Set the high order byte of the the VX pointer to this page
@JNCJcoder
JNCJcoder / PostMessage-KeyPress.c
Created November 1, 2024 14:28
Simulates realistic key presses in Windows.
/* ======================================================== */
/* Name: PostMessage-Simulate-Real-KeyPress */
/* Description: Simulates realistic key presses in Windows. */
/* Creation Date: 31/10/2024 */
/* ======================================================== */
#include <windows.h>
typedef union
{
@JNCJcoder
JNCJcoder / MemoryHandler.vb
Created September 23, 2024 05:28
Old VB.NET module for reading and writing to the memory of processes.
'------------------------------------------------------------------------------
' Name: MemoryHandler.vb
' Description: Module for reading and writing Windows process memory.
' Creation Date: 18/09/2011
'------------------------------------------------------------------------------
Imports System.Diagnostics.Process
Imports System.Runtime.InteropServices
Public Class MemoryHandler