Skip to content

Instantly share code, notes, and snippets.

View DeltaF1's full-sized avatar

DeltaF1 DeltaF1

  • Deep in The Well of Recursion
View GitHub Profile
@DeltaF1
DeltaF1 / example-tracery-app.tal
Last active January 23, 2022 03:43
Tracery parser and generator in Uxntal
|00 @System &vector $2 &wst $1 &rst $1 &pad $4 &r $2 &g $2 &b $2 &debug $1 &halt $1
|10 @Console &vector $2 &read $1 &pad $5 &write $1 &error $1
|80 @Controller &vector $2 &button $1 &key $1
|a0 @File &vector $2 &success $2 &stat $2 &delete $1 &append $1 &name $2 &length $2 &read $2 &write $2
|b0 @DateTime &year $2 &month $1 &day $1 &hour $1 &minute $1 &second $1 &dotw $1 &doty $2 &isdst $1
%RET { JMP2r }
|0100 @Init
@DeltaF1
DeltaF1 / flush.patch
Created November 6, 2021 19:18
Patch to fix incomplete file writing in uxn file device
Uint16
file_write(void *src, Uint16 len, Uint8 flags)
{
+ /* If we're not already writing then re-open the file */
if(state != FILE_WRITE) {
reset();
if((f = fopen(current_filename, (flags & 0x01) ? "ab" : "wb")) != NULL)
state = FILE_WRITE;
}
- if(state == FILE_WRITE)
[RainMeter]
Update=360000
[Variables]
transparency = 100
width=250
height=300
;must be an rss feed with img attributes.
URL = http://beeple.tumblr.com/rss