Skip to content

Instantly share code, notes, and snippets.

View dextercd's full-sized avatar

Dexter Castor Döpping dextercd

View GitHub Profile
@dextercd
dextercd / output
Created June 10, 2025 20:13
Root program report
Apple has 153 certificates.
Mozilla has 143 certificates.
Microsoft has 273 certificates.
Chrome has 118 certificates.
Certificates in Apple that are not in Chrome:
- D7A7A0FB5D7E2731D771E9484EBCDEF71D5F0C3E0A2948782BC83EE0EA699EF4 AAA Certificate Services
- C2B9B042DD57830E7D117DAC55AC8AE19407D38E41D88F3215BC3A890444A050 Apple Root CA - G2
- 63343ABFB89A6A03EBB57E9B3F5FA7BE7C4F5C756F3017B3A8C488C3653E9179 Apple Root CA - G3
- B0B1730ECBC7FF4505142C49F1295E6EDA6BCAED7E2C68C5BE91B5A11001F024 Apple Root CA
$ git grep -P "['\"]mods/(?!noita.fairmod)" -- "*.xml" "*.lua" ":(exclude)files/lib/DialogSystem"
files/content/backrooms/particles/fog_of_war_hole.xml:3: filename="mods/evaisa.spook/files/particles/fog_of_war_hole.png"
files/content/backrooms/particles/fog_of_war_hole_100px.xml:3: filename="mods/evaisa.spook/files/particles/fog_of_war_hole_100px.png"
files/content/chemical_horror/materials.xml:379: texture_file="mods/Hydroxide/files/chemical_curiosities/materials/agitine/agitine.png"
files/content/chemical_horror/materials.xml:466: load_this_entity="mods/Hydroxide/files/chemical_curiosities/materials/grease/grease_fire.xml"
files/content/chemical_horror/materials.xml:491: texture_file="mods/Hydroxide/files/chemical_curiosities/materials/grease/grease.png"
files/content/chemical_horror/materials.xml:532: load_this_entity="mods/Hydroxide/files/chemical_curiosities/materials/volatile_crystal/crystal_explode.xml"
files/conten
@dextercd
dextercd / materials.xml
Last active August 30, 2024 01:37
Materials and reactions dumped from the engine
This file has been truncated, but you can view the full file.
<Materials>
<CellData
always_ignites_damagemodel="0"
audio_is_soft="0"
audio_materialaudio_type="NONE"
audio_materialbreakaudio_type="NONE"
audio_physics_material_event=""
audio_physics_material_solid=""
audio_physics_material_wall=""
local ModTextFileSetContent = ModTextFileSetContent
local inert_entity = "<Entity/>"
ModTextFileSetContent("data/entities/player.xml", inert_entity)
ModTextFileSetContent("data/scripts/biome_map.lua", "--")
local new_file_index = 0
function new_file_name()
new_file_index = new_file_index + 1
return "data/" .. new_file_index .. ".xml"
local stringify = dofile_once("mods/component-explorer/deps/datadumper.lua")
if not pat_init then
pat_init = true
pattern = ""
sample = ""
end
if not imgui.Begin("Pattern") then return end
#include <iostream>
#include <stdio.h>
#define WIN32_LEAN_AND_MEAN
#include <windows.h>
#include <bcrypt.h>
#include <ntstatus.h>
void check(NTSTATUS status)
{
local function unit_vec(x, y)
local length = math.sqrt(x * x + y * y)
return x / length, y / length
end
function wake_up_waiting_threads()
local entity_id = GetUpdatedEntityID()
local controls = EntityGetFirstComponentIncludingDisabled(entity_id, "ControlsComponent")
local animal_ai = EntityGetFirstComponentIncludingDisabled(entity_id, "AnimalAIComponent")
dofile_once("data/scripts/debug/keycodes.lua")
dofile_once("mods/deadapple/NoitaPatcher/load.lua")
local world_ffi = require("noitapatcher.nsew.world_ffi")
local picture = [[
.8
.888
.8888'
.8888'
-- By dextercd
local entity_id = GetUpdatedEntityID()
local controls = EntityGetFirstComponentIncludingDisabled(entity_id, "ControlsComponent")
local animal_ai = EntityGetFirstComponentIncludingDisabled(entity_id, "AnimalAIComponent")
local frame = GameGetFrameNum()
if not controls or not animal_ai
or not ComponentGetValue2(controls, "polymorph_hax")
or not ComponentGetValue2(controls, "mButtonDownFire")
import struct
import fastlz
file = open("/home/dexter/sc/snoita/save00/world/world_0_0.png_petri", "rb")
file_content = file.read()
# This uses little-endian, the rest of the file uses big-endian
compressed_size, uncompressed_size = struct.unpack("<ii", file_content[0:8])