Skip to content

Instantly share code, notes, and snippets.

View MaulingMonkey's full-sized avatar
🎮
Department of Bad Ideas

MaulingMonkey

🎮
Department of Bad Ideas
View GitHub Profile
@SMUsamaShah
SMUsamaShah / List of in-browser VMs.md
Last active April 30, 2024 13:08
List of Javascript based virtual machines running in browser
@kettle11
kettle11 / main.rs
Last active July 31, 2020 20:13
The minimal amount of code required to create a window on MacOS from Rust
use objc::runtime::{Object, NO};
use objc::*;
// We must link with AppKit for all application and windowing related matters.
#[link(name = "AppKit", kind = "framework")]
extern "C" {}
// https://developer.apple.com/documentation/objectivec/nsuinteger
#[cfg(target_pointer_width = "32")]
pub type NSUInteger = u32;