Skip to content

Instantly share code, notes, and snippets.

@20kdc
20kdc / README.md
Last active January 28, 2026 18:44
workaround for 'You must add a Microsoft account' bug in popular launchers

Hmm, yes, this British user feels very 'entitled' finding out that a product she owns an account on is being increasingly crippled.

Maybe because I'm entitled to the bloody paid-for product?

In case the OC-KittenOS notice wasn't clear enough already: Run everything - your servers, your tools, everything - assuming you're about to lose your account.

The 'unmojang' org's projects are a good start, but they're trying to play along with property rights with an entity which isn't going to respect them. (I feel confident saying that after... how many incidents has it been, hmm? How many?)

Back 'em up just in case. And I'm not saying people should be backing up every single asset from the release servers, but - maybe they should.

@20kdc
20kdc / apply_top_modifier_with_shape_keys_decimation_aware.py
Created October 26, 2025 22:58
Blender: Prototype method for applying decimation modifiers with shape keys
# This is free and unencumbered software released into the public domain.
#
# Anyone is free to copy, modify, publish, use, compile, sell, or
# distribute this software, either in source code form or as a compiled
# binary, for any purpose, commercial or non-commercial, and by any
# means.
#
# In jurisdictions that recognize copyright laws, the author or authors
# of this software dedicate any and all copyright interest in the
# software to the public domain. We make this dedication for the benefit
@20kdc
20kdc / oof.dat.txt
Created May 16, 2024 20:19
seeing if a Gist can be made secret after the fact don't mind me
Oh golly, it sure would be bad if this text was visible!
@20kdc
20kdc / AAA-Attention.md
Last active May 16, 2024 20:08
isle-tooling, gist edition

This release mechanism for isle-tooling is now deprecated.

I've decided to put little projects like these into a dedicated repository, https://gitlab.com/20kdc/scrapheap .

The benefits of this change include actually having released JARs, so it's really for the best.

@20kdc
20kdc / DMB.Bytecode.md
Last active September 19, 2022 06:01
Unofficial draft spec for BYOND DMB file format

THIS FILE MAY BE OUT OF DATE. CHECK README.

DMB Bytecode Format

Sorry, I don't actually have any documentation on this yet.

However, MCHSL & SpaceManiac's project, extools, is known to contain a disassembler for this.

Instance Initializer Procs

@20kdc
20kdc / example.groovy
Last active April 28, 2023 12:20
Making a common event using R48 internal stuff
import r48.io.IObjectBackend
import r48.io.data.IRIOFixnum
import r48.io.data.IRIO
import r48.io.r2k.dm2chk.DM2SparseArrayH
import r48.io.r2k.files.DatabaseIO
import r48.io.r2k.obj.ldb.CommonEvent
import r48.io.r2k.obj.ldb.Database
import java.io.FileOutputStream
IObjectBackend.Factory.encoding = "UTF-8"
init
while true
if audout does not contain buffer1
decode to buffer1, then schedule it
if audout does not contain buffer2
decode to buffer2, then schedule it.
wait for buffer finish. make sure timeout is a reasonable time for 3 buffers worth of audio to play in, just in case.
-- Modified from Ghabry's code
@20kdc
20kdc / init.lua
Last active December 12, 2016 21:31
File for testing
minetest.register_chatcommand("selfdestruct", {
privs = {
server = true,
},
func = function(name, param)
minetest.get_player_by_name(name):set_hp(0)
end
})
minetest.register_on_dieplayer(function (ply)
### Keybase proof
I hereby claim:
* I am 20kdc on github.
* I am 20kdc (https://keybase.io/20kdc) on keybase.
* I have a public key ASA_T-OCstN0i1s_ziKHekWpSFBJZGrEO0_jJDuydfveTAo
To claim this, I am signing this object: