Skip to content

Instantly share code, notes, and snippets.

@exts
exts / imageResizer.cs
Created April 14, 2019 03:28
Nice little image resizer that's using nuget package ImageProcessor
using System;
using System.IO;
using System.Linq;
using System.Drawing;
using ImageProcessor;
using ImageProcessor.Imaging.Formats;
namespace CardResizer
{
internal class Program
@exts
exts / GodotPathFinding.cs
Created April 27, 2019 07:00
Basic path finding in godot 3.1 using C# & Navigation2D node
using System.Linq;
using Godot;
using Godot.Collections;
namespace Gamma.Core.Scripts
{
public class Arena : Node2D
{
private int Speed = 300;
private bool moveNode = false;
using Godot;
namespace Gamma.Core
{
public class Autoload : Node
{
private Node _scene;
public override void _Ready()
{
@exts
exts / godot wasm mono.txt
Created December 2, 2019 15:28
godot wasm mono
⛶Today at 2:45 PM
you need emsdk: https://emscripten.org/docs/getting_started/downloads.html
1.38.48 or greater do not seem to work with mono right now. we're using 1.38.47
i've had some issues with fastcomp, so i recommend upstream
example:
# Clone and update esmdk
git clone https://github.com/emscripten-core/emsdk.git
cd emsdk
git pull
@exts
exts / custom_post_types.php
Created August 11, 2023 01:50
Custom Wordpress Post Types Plugin Free
<?php
/*
Plugin Name: Beginner Grower: Custom Post Types
Plugin URI: https://beginnergrower.com
Description: Add's a 'articles' post type
Author: Lamonte Harris
Version: 1.0.0
Author URI: https://lamonte.dev
*/