Skip to content

Instantly share code, notes, and snippets.

View insthync's full-sized avatar

Ittipon Teerapruettikulchai insthync

  • Chiang Mai, Thailand
View GitHub Profile
@insthync
insthync / gist:b725fc12e0c80f87f0f467f662210203
Last active July 30, 2019 16:50
Line-link puzzle example
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class TestCollider : MonoBehaviour
{
static bool isDragging;
static TestCollider lastDragNode;
static List<TestCollider> draggedNodes = new List<TestCollider>();
@insthync
insthync / README.md
Last active May 9, 2020 03:25
Using Redis/Docker on Windows
https://www.blender.org/
https://dust3d.org/
https://opentoonz.github.io/e/
https://krita.org/en/
https://www.audacityteam.org/download/
https://handbrake.fr/
https://www.blackmagicdesign.com/products/davinciresolve/
https://obsproject.com/
https://www.gimp.org/
https://inkscape.org/
- https://github.com/date-fns/date-fns
- https://github.com/axios/axios
- https://github.com/fastify/fastify
- https://github.com/prisma/prisma
@insthync
insthync / gist:f8a24fa94021a37fb7e0a1c6f07b9777
Created November 18, 2021 09:26
GetStableHash (The same algorithm with what MMORPG KIT does)
<?php
function getUncheckedInt32($r) {
$r = $r & 0xFFFFFFFF;
if ($r & 0x80000000)
{
$r = $r & ~0x80000000;
$r = -2147483648 + $r;
}
return $r;
}
@insthync
insthync / serverConfig.json
Created April 17, 2022 11:21
MMORPG KIT - WebGL - serverConfig.json - 001
{
"databaseOptionIndex": 0,
"centralAddress": "localhost",
"centralPort": 7000,
"centralMaxConnections": 1000,
"clusterPort": 7001,
"machineAddress": "localhost",
"mapSpawnPort": 6001,