Skip to content

Instantly share code, notes, and snippets.

View Tiitan's full-sized avatar

Florian Noirbent Tiitan

View GitHub Profile
@Tiitan
Tiitan / FmtImporter.cs
Created October 17, 2022 11:57
FmtImporter.cs
using System;
using System.Collections;
using System.Collections.Generic;
using System.IO;
using UnityEditor.AssetImporters;
using UnityEngine;
using Newtonsoft.Json;
using Newtonsoft.Json.Linq;
using UnityEngine.Rendering;
@Tiitan
Tiitan / DigitalTree.json
Created October 17, 2022 11:56
DigitalTree.json
{
"header": {
"attributes": {
"POSITION": {
"type": "float32",
"count": 3
},
"TEXCOORD0": {
"type": "float32",
"count": 1
@Tiitan
Tiitan / MarsLander.cs
Created July 21, 2022 00:24
coding game mars lander
using System.Numerics;
using System;
using System.Linq;
using System.IO;
using System.Text;
using System.Collections;
using System.Collections.Generic;
/// <summary>
/// rasterized Grid coordinate
@Tiitan
Tiitan / CodeVsZombies.py
Last active July 18, 2022 20:18
Coding game: code vs zombie
from math import dist
from typing import List
class Character:
id: int
x: int
y: int
@property
@Tiitan
Tiitan / Player.cs
Created June 19, 2021 13:13
Player.cs
using System;
using System.Collections;
using System.Collections.Generic;
using JetBrains.Annotations;
using UnityEngine;
using UnityEngine.InputSystem;
public class Player : MonoBehaviour
{
[SerializeField]
@Tiitan
Tiitan / GL-S-003Z_database.json
Last active January 11, 2021 17:28
GL-S-003Z zigbee2mqtt database
{
"id": 3,
"type": "Router",
"ieeeAddr": "0x00124b001f248627",
"nwkAddr": 48157,
"manufId": 0,
"manufName": "GLEDOPTO",
"powerSource": "Mains (single phase)",
"modelId": "GL-S-003Z",
"epList": [
@Tiitan
Tiitan / .txt
Created January 11, 2021 10:13
GL-S-003Z bug
Zigbee2MQTT:info 2021-01-11 10:53:21: Device '0x00124b001f248627' joined
Zigbee2MQTT:info 2021-01-11 10:53:21: MQTT publish: topic 'zigbee2mqtt/bridge/event', payload '{"data":{"friendly_name":"0x00124b001f248627","ieee_address":"0x00124b001f248627"},"type":"device_joined"}'
Zigbee2MQTT:info 2021-01-11 10:53:21: Starting interview of '0x00124b001f248627'
Zigbee2MQTT:info 2021-01-11 10:53:21: MQTT publish: topic 'zigbee2mqtt/bridge/event', payload '{"data":{"friendly_name":"0x00124b001f248627","ieee_address":"0x00124b001f248627","status":"started"},"type":"device_interview"}'
Zigbee2MQTT:info 2021-01-11 10:53:21: MQTT publish: topic 'zigbee2mqtt/bridge/log', payload '{"message":{"friendly_name":"0x00124b001f248627"},"type":"device_connected"}'
Zigbee2MQTT:info 2021-01-11 10:53:21: MQTT publish: topic 'zigbee2mqtt/bridge/log', payload '{"message":"interview_started","meta":{"friendly_name":"0x00124b001f248627"},"type":"pairing"}'
Zigbee2MQTT:debug 2021-01-11 10:53:22: Device '0x00124b001f248627' announced