Skip to content

Instantly share code, notes, and snippets.

@nodefourtytwo
nodefourtytwo / gist:079c4f992878903cd829814e8bf29acb
Created November 8, 2026 18:16
maki plugin to force options when asking questions
-- Keep the built-in `question` tool honest: every question must ship with
-- predefined options, or the call is refused before the form opens and the
-- model gets a fix-it error instead of a bare free-form prompt.
-- Modeled on rpiv's ask-user-question: prompt guidelines + a runtime validator.
local MIN_OPTIONS = 2
local MAX_OPTIONS = 4
local MAX_QUESTIONS = 4
-- The free-form row is added automatically; the model must not author it.
@nodefourtytwo
nodefourtytwo / gist:15e534bc16ae08a05fdb
Created June 24, 2014 09:58
Error on makepkg for omnibus-chef-git aur package
[HealthCheck] W | Failed!
[HealthCheck] W | The following libraries have unsafe or unmet dependencies:
--> /opt/chef/embedded/lib/ruby/1.9.1/x86_64-linux/tcltklib.so
[HealthCheck] W | The following binaries have unsafe or unmet dependencies:
[HealthCheck] W | The following libraries cannot be guaranteed to be on target systems:
--> /usr/lib64/libX11.so.6 (0x00007fc5d2f69000)
--> /usr/lib64/libtcl8.6.so (0x00007fc5d26bf000)
--> /usr/lib64/libtk8.6.so (0x00007fc5d2365000)