Skip to content

Instantly share code, notes, and snippets.

View LolloDev5123's full-sized avatar
☣️

LolloDev LolloDev5123

☣️
  • Indirecta
  • Italy
  • 10:26 (UTC +02:00)
View GitHub Profile
@LolloDev5123
LolloDev5123 / swiss.luau
Created April 13, 2025 15:30
Swiss, an Indirecta Crypto Utility Module
-- !native
--[[
`/shdmmmmmmmmmd-`ymmmddyo:` // sm- /h/ --
`yNMMMMMMMMMMMMm-.dMMMMMMMMMN+ `MN `-:::.` .-:-hM- -o- .-::. .::-. `.:::` MN--. `-::-.
yMMMMMMMMMMMMMd.:NMMMMMMMMMMMM+ `MN yMs+oNh oNy++mM- +Mo -Mm++:`hmo+yN+ .dmo++- MNoo/ `o+odN:
yMMMMMMMMMMMMy`+NMMMMMMMMMMMMM+ `MN yM: dM. MN yM- +Mo -Mh /Mmss sM+ MN +h ohMo
`yNMMMMMMMMMo`sMMMMMMMMMMMMMNo `MN yM: dM. oNy//dM- +Mo -Mh `dNs++o. -mm+//- dM+/+ mN+/sMo
`/shddddd/ odddddddddddho:` :: .:` -: `:///-` .:. `:- .://:` `-///. `-//: `-///:.
Licensed under GNU General Public License v3.0
@LolloDev5123
LolloDev5123 / verhoeff.lua
Created February 9, 2025 14:32
verhoeff.lua
--[[
Verhoeff Gumm Check Digit Library in Lua
-----------------------------------------
@lollodev5123
MIT License
Copyright (c) 2025
@LolloDev5123
LolloDev5123 / LuaVersion.lua
Created January 28, 2025 15:00 — forked from TheGreatSageEqualToHeaven/LuaVersion.lua
Runtime Lua version detection without _VERSION
local function luaVersion()
local f = function()
return function() end
end
if 0xffffffffffffffffffffffffffffffffffffffffffffff == 2 ^ 64 then
return "Luau"
end
if ({nil,[1] = true})[1] then
@LolloDev5123
LolloDev5123 / M6502.lua
Created August 29, 2024 17:46 — forked from MCJack123/M6502.lua
MOS 6502 emulator written in pure Lua
-- MIT License
--
-- Copyright (c) 2018-2022 JackMacWindows
--
-- Permission is hereby granted, free of charge, to any person obtaining a copy
-- of this software and associated documentation files (the "Software"), to deal
-- in the Software without restriction, including without limitation the rights
-- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-- copies of the Software, and to permit persons to whom the Software is
-- furnished to do so, subject to the following conditions:
@LolloDev5123
LolloDev5123 / format.lua
Created August 29, 2024 17:45 — forked from MCJack123/format.lua
Quick & dirty Lua formatter written in Lua
-- MIT License
--
-- Copyright (c) 2022-2023 JackMacWindows
--
-- Permission is hereby granted, free of charge, to any person obtaining a copy
-- of this software and associated documentation files (the "Software"), to deal
-- in the Software without restriction, including without limitation the rights
-- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-- copies of the Software, and to permit persons to whom the Software is
-- furnished to do so, subject to the following conditions:
@LolloDev5123
LolloDev5123 / toml.lua
Created August 29, 2024 17:43 — forked from MCJack123/toml.lua
TOML parser for CC Lua
-- TOML library for Lua/CC
-- From Phoenix libsystem serialization.toml
--
-- MIT License
--
-- Copyright (c) 2024 JackMacWindows
--
-- Permission is hereby granted, free of charge, to any person obtaining a copy
-- of this software and associated documentation files (the "Software"), to deal
-- in the Software without restriction, including without limitation the rights
@LolloDev5123
LolloDev5123 / taskmaster.lua
Created August 29, 2024 17:43 — forked from MCJack123/taskmaster.lua
Taskmaster: A simple and highly flexible task runner/coroutine manager for ComputerCraft
-- Taskmaster: A simple and highly flexible task runner/coroutine manager for ComputerCraft
-- Supports adding/removing tasks, early exits for tasks, event white/blacklists, automatic
-- terminal redirection, task pausing, promises, and more.
-- Made by JackMacWindows
-- Licensed under CC0 in the public domain
--[[
Examples:
- Run three functions in parallel, and wait for any to exit.
@LolloDev5123
LolloDev5123 / ans.lua
Created August 29, 2024 17:41 — forked from MCJack123/ans.lua
Tabled Asymmetrical Numeral Systems (aka Finite State Entropy) for Lua 5.2 (PoC)
-- Tabled Asymmetrical Numeral Systems (aka Finite State Entropy) for Lua 5.2
--
-- MIT License
--
-- Copyright (c) 2023 JackMacWindows
--
-- Permission is hereby granted, free of charge, to any person obtaining a copy
-- of this software and associated documentation files (the "Software"), to deal
-- in the Software without restriction, including without limitation the rights
-- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
@LolloDev5123
LolloDev5123 / AES.lua
Created May 29, 2024 12:56 — forked from afonya2/AES.lua
an AES implementation for CC: Tweaked
-- Advanced Encryption Standard (AES) libary for CC: Tweaked
-- ©️ 2024 afonya All rights reserved.
-- MIT License
-- Link: https://gist.github.com/afonya2/489c3306a7d85f8f9512df321d904dbb
-- Documentation: https://gist.github.com/afonya2/489c3306a7d85f8f9512df321d904dbb#file-docs-md
-- Last updated: February 25 2024
local SBox = {[0]=99, 124, 119, 123, 242, 107, 111, 197, 48, 1, 103, 43, 254, 215, 171, 118,
202, 130, 201, 125, 250, 89, 71, 240, 173, 212, 162, 175, 156, 164, 114, 192,
183, 253, 147, 38, 54, 63, 247, 204, 52, 165, 229, 241, 113, 216, 49, 21,
4, 199, 35, 195, 24, 150, 5, 154, 7, 18, 128, 226, 235, 39, 178, 117,
from math import *