conversations
listlengths
2
3
source
stringclasses
1 value
stack
stringclasses
1 value
[ { "from": "system", "value": "Remove template.substitute; it seems unreliable\n" }, { "from": "human", "value": "--- Handle Markdown generation\n\nrequire 'logging.console'\nlocal logger = logging.console()\nlogger:setLevel(logging.DEBUG)\n\nlocal textx = require 'pl.text'\n\nclass.MarkdownWrite...
lua
chosen
[ { "from": "human", "value": "Add support for bbc.co.uk iPLayer URLs (LUA Script)\n\nRadio only for the moment\n\nSigned-off-by: Christophe Mutricy <b985b104de4aa0cfb6e0672234aee2c11ae7a2b2@videolan.org>\n" }, { "from": "gpt", "value": "--[[\n $Id$\n\n Copyright © 2008 the VideoLAN team\n\n Autho...
lua
chosen
[ { "from": "system", "value": "Use log message instead of print\n" }, { "from": "human", "value": "-- Use this file with hakapcap tool:\n--\n-- hakapcap hellopacket.pcap hellopacket.lua\n-- (adjust paths)\n\n\n--The require lines tolds Haka which dissector\n--it has to register. Those dissectors ...
lua
chosen
[ { "from": "human", "value": "Add script for building HTML from Markdown\n\nUses Sundown\n" }, { "from": "gpt", "value": "local lapp = require 'pl.lapp'\nrequire 'logging.console'\nlocal logger = logging.console()\nlogger:setLevel(logging.DEBUG)\n\nlocal function processArgs()\n return lapp [[...
lua
chosen