Skip to content

Instantly share code, notes, and snippets.

View thacuber2a03's full-sized avatar
💧
|100 @\loop alloc POP2 !loop

x4n3ku thacuber2a03

💧
|100 @\loop alloc POP2 !loop
View GitHub Profile
picotron cartridge // www.picotron.net
version 2
:: gfx/0.gfx
b64$LS1bW3BvZCxjcmVhdGVkPSIyMDI0LTA0LTA3IDE0OjU5OjUxIixtb2RpZmllZD0iMjAyNC0w
NC0xMSAwMTo0NDoxMyIscmV2aXNpb249MzUxN11dbHo0AG0AAAAFMQAA8xR7WzBdPXtibXA9cHh1
AEMgEBAE8PAsZmxhZ3M9MCxwYW5feAgAz3k9MCx6b29tPTh9LDEA------------------------
----------------------------------------51BtPTh9fQ==
:: gfx/.info.pod
b64$LS1bW3BvZCxjcmVhdGVkPSIyMDI0LTA0LTA3IDE0OjU5OjQwIixzdG9yZWQ9IjIwMjQtMDQt
@thacuber2a03
thacuber2a03 / nothing-ls.lua
Last active July 17, 2024 03:12
the nothing language server
-- NOTE: to TC of the future
-- if you attempt to make an actual language server, *please* read the specification
-- https://microsoft.github.io/language-server-protocol/specifications/specification-current
-- here's a sample server so you can read along too, in case you ever forget how it's done
--
-- NOTE: for everyone else
-- the nothing language server: a (really buggy) language server that does nothing
-- this thing is public domain (we're talking https://unlicense.org/)
--
-- NOTE: for both
-- an implementation of the Uxn VM in Lua, written by @thacuber2a03
-- compatible with 5.1 and JIT
-- thanks to @soxfox42 for helping on stack issues with the keep flag
-- and other things
local unpack = table.unpack or unpack
local ram, dev = {}, {}
local wst, rst = {kidx=1,idx=1}, {kidx=1,idx=1}
@thacuber2a03
thacuber2a03 / easel.h
Last active December 2, 2024 22:52
a header-only tweening library for C compatible with C89
#ifndef EASEL_H
#define EASEL_H
/*
** easel.h -- a tweening library compatible with ANSI/C89
** by @thacuber2a03, public domain, or https://unlicense.org where unapplicable
** release 30-10-2024 (dd-mm-yyyy)
*/
#include <string.h>
@thacuber2a03
thacuber2a03 / canvas.lua
Last active November 10, 2024 18:14
a Love2D 11.x simple wrapper library for rendering games with a fixed update rate and chunky pixels
local floor = math.floor
local canvas = {}
canvas._version = "0.1.0"
canvas.frame, canvas.time = 0, 0
canvas.width = 240
canvas.height = floor(canvas.width / (16 / 9))
canvas.pixelPerfect = true
canvas.backgroundColor = { 0, 0, 0, 1 }
canvas.xOffset, canvas.yOffset = 0, 0
@thacuber2a03
thacuber2a03 / kak-windows.md
Last active December 20, 2024 22:46
notes on running kakoune on windows

cygwin

  • get make, and gcc-c++ or clang
  • clone repo with core.autocrlf set to false:
    • git: git clone -c core.autocrlf=false https://github.com/mawww/kakoune
    • gh: gh repo clone mawww/kakoune -- -c core.autocrlf=false
  • if you forget to set core.autocrlf then get dos2unix and run it on all files in share/kak:
    find /path/to/share/kak/ -type f -exec dos2unix {} \;
@thacuber2a03
thacuber2a03 / readme.txt
Created December 2, 2024 01:00
longcat (PuzzleScript Script)
Play this game by pasting the script in http://www.puzzlescript.net/editor.html
@thacuber2a03
thacuber2a03 / readme.txt
Created December 2, 2024 13:41
longcat (Puzzlescript Plus Script)
Play this game by pasting the script in https://auroriax.github.io/PuzzleScript/editor.html
@thacuber2a03
thacuber2a03 / readme.txt
Created December 4, 2024 13:25
wallcat (PuzzleScript Script)
Play this game by pasting the script in http://www.puzzlescript.net/editor.html
@thacuber2a03
thacuber2a03 / readme.txt
Created December 4, 2024 14:01
wallcat (PuzzleScript Script)
Play this game by pasting the script in http://www.puzzlescript.net/editor.html