Skip to content

Instantly share code, notes, and snippets.

@kamilogorek
kamilogorek / _screenshot.md
Last active November 6, 2025 06:15
Clutter-free VS Code Setup
image
@manbeardgames
manbeardgames / monogame_extended_json_importing.md
Last active November 25, 2025 15:12
How to use the MonoGame.Extended Json Import for any custom class

MonoGame.Extended JSON Importing

How to use

Overview

MonoGame.Extended provideds a generic JSON importer as part of the MonoGame.Extended.Content.Pipeline.dll. Taking advantage of this and how it's setup for a generic type <T> can allow you to load content through the MGCB Editor that can be deserialized to any custom class type in you code.

Prerequsites

  • This gist assumes you are using MonoGame 3.8. The steps should be similar for MonoGame 3.7, however, no guarentees are made
  • The steps outlined here are going to be using Visual Studio 2019. You can also do this from Visual Studio Code, however steps will assume Visual Studio 2019.
@rdelrosario
rdelrosario / app_notarizer.sh
Last active January 12, 2024 19:40
macOS Application Notarization Script
#!/bin/bash
usage()
{
# Display Help
echo "*********************************************************************************************************************************************************"
echo " MacOS Application Notarization Script"
echo "*********************************************************************************************************************************************************"
echo
@kleber-swf
kleber-swf / fnt2xml.js
Last active July 21, 2025 15:22
Converts a fnt text file to a fnt xml format. If a folder is given, process all .fnt files inside it.
// ======================================================== //
// USAGE: //
// $ node fnt2xml.js 'path/to/font.fnt' //
// Converts the specified file to a fnt xml //
// //
// $ node fnt2xml.js 'path/to/fonts/dir' //
// Converts all the .fnt files to fnt xml //
// ======================================================== //
@1wErt3r
1wErt3r / SMBDIS.ASM
Created November 9, 2012 22:27
A Comprehensive Super Mario Bros. Disassembly
;SMBDIS.ASM - A COMPREHENSIVE SUPER MARIO BROS. DISASSEMBLY
;by doppelganger (doppelheathen@gmail.com)
;This file is provided for your own use as-is. It will require the character rom data
;and an iNES file header to get it to work.
;There are so many people I have to thank for this, that taking all the credit for
;myself would be an unforgivable act of arrogance. Without their help this would
;probably not be possible. So I thank all the peeps in the nesdev scene whose insight into
;the 6502 and the NES helped me learn how it works (you guys know who you are, there's no