Skip to content

Instantly share code, notes, and snippets.

View FoxPlays24's full-sized avatar
🪖
Won't be active for a year (since 19 may 2025)

Alexei Khnytikov FoxPlays24

🪖
Won't be active for a year (since 19 may 2025)
View GitHub Profile
@gabrieldechichi
gabrieldechichi / demo_ecs_boids.c
Created January 8, 2026 19:48
demo_ecs_boids.c
#include "context.h"
#include "lib/thread_context.h"
#include "lib/typedefs.h"
#include "lib/string_builder.h"
#include "os/os.h"
#include "lib/math.h"
#include "lib/hash.h"
#include "lib/random.h"
#include "gpu_backend.h"
#include "renderer.h"
@sindresorhus
sindresorhus / esm-package.md
Last active March 16, 2026 04:38
Pure ESM package

Pure ESM package

The package that linked you here is now pure ESM. It cannot be require()'d from CommonJS.

This means you have the following choices:

  1. Use ESM yourself. (preferred)
    Use import foo from 'foo' instead of const foo = require('foo') to import the package. You also need to put "type": "module" in your package.json and more. Follow the below guide.
  2. If the package is used in an async context, you could use await import(…) from CommonJS instead of require(…).
  3. Stay on the existing version of the package until you can move to ESM.
@elucidater
elucidater / Binding of Isaac - Entity Spawn Codes.md
Last active May 9, 2025 11:04
A list of entities and enemies and their respective spawn codes in The Binding of Isaac. These entities can be spawned in-game by using SpiderMod, which can be found here: http://spidermod.spiderland.net/

Item Spawn Codes

Misc. Codes

  • 1: Glitched out Isaac
  • 2: White Tear
  • 3: Default Familiar (Brother Bobby)
  • 4: Live Bomb (Player)
  • 6: Yellow Tear (Hovers in the air)
  • 7: Rock Debris