GBA
- Legend of Zelda: The Minish Cap
- Final Fantasy Tactics Advance
- Mario & Luigi Superstar Saga
- Wario Land
- Megaman Zero 1-4
SNES
import os | |
import hashlib | |
import requests | |
import json | |
import argparse | |
# Config | |
BASE_URL = "https://civitai.com/api/v1" | |
EXTENSION = ".safetensors" |
public class ColorConverter | |
{ | |
public static (int hue, int saturation, int luminance) RGBToHSL(int red, int green, int blue) | |
{ | |
float r = (red / 255.0f); | |
float g = (green / 255.0f); | |
float b = (blue / 255.0f); | |
float min = Math.Min(Math.Min(r, g), b); |
GBA
SNES
public static class Vector3Extensions { | |
public static double Angle(this Vector3 a, Vector3 b) { | |
var norm = 1.0f / (Normalize(a) * Normalize(b)); | |
var dot = Vector3.Dot(a, b) * norm; | |
if (dot > 1.0f) | |
return 0.0f; | |
else if (dot < -1.0f) |
using System; | |
using System.Collections.Generic; | |
using System.Linq; | |
using System.Linq.Expressions; | |
using System.Reflection; | |
namespace MappingUtil.Common | |
{ | |
/// <summary> | |
/// Implements a MappingProvider |
public class Job | |
{ | |
private static int lastId; | |
public int Id { get; private set; } | |
public int Duration { get; private set; } | |
public Job(int value) | |
{ | |
Id = lastId + 1; |
namespace MyAudio | |
{ | |
public class AudioDevice | |
{ | |
public string Name { get; set; } | |
public string Direction { get; set; } | |
public bool IsEnabled { get; set; } | |
public string DeviceId { get; set; } | |
} | |
} |
using System.ComponentModel; | |
using System.Runtime.CompilerServices; | |
namespace WPFSample | |
{ | |
public class BaseNotifyModel : INotifyPropertyChanged | |
{ | |
public event PropertyChangedEventHandler PropertyChanged; | |
protected void OnPropertyChanged([CallerMemberName] string name = null) |
using System.Collections.Generic; | |
using System.Linq.Expressions; | |
using System.Reflection; | |
namespace Bite.Runtime.Functions.ForeignInterface | |
{ | |
public class FastMethodInfo | |
{ | |
private delegate object ReturnValueDelegate(object instance, object[] arguments); |
using Antlr4.Runtime; | |
using Antlr4.Runtime.Tree; | |
using System; | |
namespace TSQLParser | |
{ | |
class Program | |
{ | |
static void Main(string[] args) | |
{ |