Skip to content

Instantly share code, notes, and snippets.

local imlib2 = require("imlib2")
local img,err = imlib2.image.load(arg[1])
if not img then
print(err)
return
end
local xsize = img:get_width()
local ysize = img:get_height()
local function explodebits(input,count)
if event.type == "program" or event.type == "on" then
local img = {}
for y=1,16,1 do
img[y] = {}
for x=1,16,1 do
img[y][x] = math.random(0,9) >= 5 and "ffffff" or "000000"
end
end
digiline_send("gpu",{
{command="createbuffer",buffer=0,xsize=16,ysize=16,fill="000000"},
$ sudo smartctl -l farm /dev/sdc
smartctl 7.4 2023-08-01 r5530 [x86_64-linux-6.7.12-amd64] (local build)
Copyright (C) 2002-23, Bruce Allen, Christian Franke, www.smartmontools.org
Seagate Field Access Reliability Metrics log (FARM) (GP Log 0xa6)
FARM Log Page 0: Log Header
FARM Log Version: 4.19
Pages Supported: 6
Log Size: 98304
Page Size: 16384
FS0:\> linux initrd=initrd.gz console=ttyS0,115200 earlycon
FSOpen: Open '\linux' Success
FSOpen: Open '\linux' Success
FSOpen: Open '\linux' Success
FSOpen: Open '\linux' Success
InvalidateDataCacheRange:RISC-V unsupported function.
WriteBackDataCacheRange:RISC-V unsupported function.
InvalidateDataCacheRange:RISC-V unsupported function.
WriteBackDataCacheRange:RISC-V unsupported function.
InvalidateDataCacheRange:RISC-V unsupported function.
local dialsteps = {
{697,1336},
{770,1336},
{852,1209},
{941,1336},
{697,1336},
{697,1477},
{770,1209},
{941,1336},
{941,1336},
local dialsteps = {
{697,1336},
{770,1336},
{852,1209},
{941,1336},
{697,1336},
{697,1477},
{770,1209},
{941,1336},
{941,1336},
local techage = require("techage")
local is_button = {}
if mem.params then for k,v in ipairs(mem.params.button_ids) do is_button[v] = k end end
local function getnextcallabove()
if mem.actpos == mem.params.num_floors then return end
for i=mem.actpos,mem.params.num_floors,1 do
if mem.queue[i] then return i end
end
local function get_init(pos)
return function()
local meta = minetest.get_meta(pos)
local is_init = meta:get_int("techage_assigned") == 1
local techage_id = meta:get_int("node_number")
if is_init then return techage_id end
techage_id = techage.add_node(pos)
meta:set_int("techage_assigned",1)
meta:set_string("infotext","Luacontroller "..techage_id)
end
Interface task reset
4096k x 16 buffer detected
MERCURY - 1_Disk 3.01 04-
Buzz - 20-05 14:16
Head Mask FFFF - Switch to full int.
Spin Ready
3.01 04-20-05 14:22
(P)PATA Reset
Master
VALID Cert Disk Code Detected - Revision # 051
--MT Paint
--A product of Advanced Mesecons Devices, a Cheapie Systems company
--This is free and unencumbered software released into the public domain.
--See http://unlicense.org/ for more information
--Buffer allocation:
----0: User drawing (64x64)
----1: Temporary for UI on canvas area (64x64)
----2: Menu bar framebuffer (64x16)
----3: Toolbar framebuffer (16x64)