Skip to content

Instantly share code, notes, and snippets.

View GoombaProgrammer's full-sized avatar

Goomba GoombaProgrammer

View GitHub Profile
@GoombaProgrammer
GoombaProgrammer / ScreenRecorder.cs
Created February 4, 2025 11:27 — forked from DashW/ScreenRecorder.cs
ScreenRecorder - High Performance Unity Video Capture Script
using UnityEngine;
using System;
using System.Collections;
using System.Collections.Generic;
using System.IO;
using System.Threading;
class BitmapEncoder
{
public static void WriteBitmap(Stream stream, int width, int height, byte[] imageData)
@GoombaProgrammer
GoombaProgrammer / HttpServer.cs
Created June 27, 2023 14:33 — forked from define-private-public/HttpServer.cs
A Simple HTTP server in C#
// Filename: HttpServer.cs
// Author: Benjamin N. Summerton <define-private-public>
// License: Unlicense (http://unlicense.org/)
using System;
using System.IO;
using System.Text;
using System.Net;
using System.Threading.Tasks;