Skip to content

Instantly share code, notes, and snippets.

@Tomloyo
Tomloyo / rustypes.cpp
Created October 20, 2024 06:07
rust integer types in c++
typedef signed char i8;
typedef unsigned char u8;
typedef signed int i16;
typedef unsigned int u16;
typedef signed long i32;
typedef unsigned long u32;
typedef signed long long i64;
typedef unsigned long long u64;
@Tomloyo
Tomloyo / tsb_map_convert.lua
Last active August 19, 2024 10:36
tsb_map_convert.lua
local function dec2(x)
return math.round(x*100)/100
end
local defaultSettings = {
pretty = false;
robloxFullName = false;
robloxProperFullName = true;
robloxClassName = true;
-- Gui to Lua
-- Version: 3.2
-- Instances:
for i,v in game.Players.LocalPlayer:WaitForChild("PlayerGui"):GetChildren() do
if v.Name == "get_anims" then
v:Destroy()
end
end
@Tomloyo
Tomloyo / whitespace.txt
Last active November 25, 2023 15:30
All possible unicode whitespace characters
­͏؜ᅟᅠ឴឵᠎           ​‌‍‎‏  ⁠⁡⁢⁣⁤ ⠀ㅤᅠ𝅙𝅳𝅴𝅵𝅶𝅷𝅸𝅹𝅺