Skip to content

Instantly share code, notes, and snippets.

View long-long-float's full-sized avatar
💭
☕ コーヒーが燃料デス

long_long_float long-long-float

💭
☕ コーヒーが燃料デス
View GitHub Profile
module irc
effect Connected(): Unit / { Message }
effect Message {
def message(msg: String): Int / { Response }
def reaction(id: Int, name: String): Unit / { Response }
}
effect Response {
def response(msg: String): Unit
}
@long-long-float
long-long-float / homography.cs
Last active March 8, 2022 16:38
Homography(射影変換) in Unity C#
public class GameManager : MonoBehaviour
{
Texture2D srcTexture;
Texture2D dstTexture;
Color32[] clearColors;
void Start()
{
var width = 500;
var height = 500;
@long-long-float
long-long-float / flatbuffers-binary-ja.md
Last active June 11, 2023 16:48
FlatBuffersのバイナリフォーマット
@long-long-float
long-long-float / Program.cs
Created August 28, 2024 15:44
Get the CIL code from a compiled Regex
using System;
using System.Reflection.Emit;
using System.Reflection;
using System.Text.RegularExpressions;
namespace RegexCil
{
internal class Program
{
private delegate void NoParamDelegate(RegexRunner r);