Skip to content

Instantly share code, notes, and snippets.

View ZedDevStuff's full-sized avatar

Kouame Benoit Junior Augustin ZedDevStuff

View GitHub Profile
@ZedDevStuff
ZedDevStuff / SFMLCanvasRenderer.cs
Created July 5, 2025 17:03
Working SFML.Net ICanvasRenderer for Prowl.Paper
using Prowl.PaperUI;
using Prowl.Quill;
using Prowl.Vector;
using SFML.Graphics;
using SFML.System;
using System;
using System.Collections.Generic;
using System.Drawing;
using SFMLVertex = SFML.Graphics.Vertex;
using QuillVertex = Prowl.Quill.Vertex;
{
"technologies": [
{
"name": "csharp",
"aliases": ["c#", "cs"],
"binary": "dotnet",
"commands": {
"build": {
"binary": "dotnet",
"arguments": "build"
using System.Runtime.CompilerServices;
using osu.Framework.Graphics;
namespace ProjectHarmony.Game.Extensions;
public static class DrawableExtensions
{
private static readonly ConditionalWeakTable<Drawable, DrawableExtensionProperties> Properties = [];
extension(Drawable el)
{
using System;
using System.Text.Json;
namespace BridgeLib;
public struct Request
{
public int Id { get; set; }
public string MethodName { get; set; }
public string JsonData { get; set; }
@ZedDevStuff
ZedDevStuff / Program.cs
Created April 27, 2025 13:28
MemoryPack vs MessagePack benchmark
using System;
using System.Collections.Generic;
using System.Numerics;
using BenchmarkDotNet.Attributes;
using BenchmarkDotNet.Running;
using MemoryPack;
using MessagePack;
public partial class Program
{