This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-- idea by Diego Nehab: https://github.com/lunarmodules/luasocket/blob/master/ltn013.md | |
-- improved by Peter Melnichenko: https://github.com/lunarmodules/luasocket/pull/161/files | |
-- https://github.com/mpeterv/luasocket/blob/e7b68bb49ce1a40effadda48969b9377e30887cb/src/except.lua | |
-- https://github.com/mpeterv/luasocket/blob/e7b68bb49ce1a40effadda48969b9377e30887cb/test/excepttest.lua | |
-- With some changes from John Doe: | |
-- - finalizer's call is unprotected, like in luasocket | |
-- - `except.try`, like in luasocket | |
-- - `except.newtry` demands a finalizer | |
-- - argument for finalizer can be specified | |
-- - on error `except.protect` returns the exact return values (instead of just `nil, arg[2]`) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--todo stack trace util | |
local Info = Info or package.loaded.regscript or function(...) return ... end --luacheck: ignore 113/Info | |
local nfo = Info { _filename or ..., | |
name = "MacroCheck"; | |
description = "Check/eval macro in editor"; | |
version = "1.3"; | |
author = "jd"; | |
url = "https://forum.farmanager.com/viewtopic.php?f=60&t=8008"; | |
id = "DA9B41E0-3896-4533-94E9-D5CE10BB7968"; | |
minfarversion = {3,0,0,4261,0}; --far.FarClock |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
local Info = Info or package.loaded.regscript or function(...) return ... end --luacheck: ignore 113/Info | |
local nfo = Info { _filename or ..., | |
name = "bito.ai code assistant"; | |
description = "bring ChatGPT to Far"; | |
version = "0.10+popen"; --http://semver.org/lang/ru/ | |
author = "jd"; | |
url = "https://forum.farmanager.com/viewtopic.php?t=13283"; | |
download = "https://github.com/gitbito/CLI/raw/main/version-3.6/bito.exe", | |
www = "https://bito.ai/", | |
webchat = "https://alpha.bito.ai/bitoai/home", |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--https://forum.farmanager.com/viewtopic.php?f=60&t=8696&p=167904#p167904 | |
-- based on https://forum.farmanager.com/viewtopic.php?t=8696 | |
local SYNTAX = [[ | |
Executes a specified command, putting the specified text to it's input stream, | |
and providing convenient access to the command's output/err. | |
Syntax: obj = sh.piper(cmdline [,options]) | |
cmdline: a string specifying the command to be executed | |
options: a table with optional keys: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
zombies http://www.zombieipsum.com/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# https://github.com/FarManagerLegacy/HelpDown-scripts | |
# required user setting | |
BASE:=D:\repo\HelpDown-scripts | |
PANDOC:=C:\Apps\pandoc\pandoc.exe | |
HTMLTOFARHELP:=$(FARPROFILE)\tools\HtmlToFarHelp\HtmlToFarHelp.exe | |
# plug base Makefile | |
include $(BASE)\Makefile | |
.DEFAULT_GOAL:=hlf |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--https://forum.farmanager.com/viewtopic.php?p=176009#p176009 | |
if print==mf.print then | |
print = mf.printconsole | |
end | |
local path = win.GetEnv("PATH") | |
local function activate (venv) | |
local dir = venv.."\\Scripts" | |
local exist = win.GetFileAttr(dir) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
components: | |
schemas: | |
AddSentenceSpacingSettings: | |
properties: | |
value: | |
type: boolean | |
required: | |
- value | |
type: object | |
AuthorsNoteDepthSetting: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
local Info = Info or package.loaded.regscript or function(...) return ... end --luacheck: ignore 113/Info | |
local nfo = Info { _filename or ..., | |
name = "RClickEx"; | |
description = "Right Click Menu Activator"; | |
version = "0.3"; --http://semver.org/lang/ru/ | |
author = "jd"; | |
url = "https://forum.farmanager.com/viewtopic.php?t=13250"; | |
id = "D841C948-BE8A-4ACB-97F4-53205783A971"; | |
minfarversion = {3,0,0,6171,0}; | |
files = "README.md"; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
local Info = package.loaded.regscript or function(...) return ... end | |
local nfo = Info {..., | |
name = "IncSearch"; | |
description = "Incremental search in editor"; | |
version = "2.16"; | |
author = "jd"; | |
url = "http://forum.farmanager.com/viewtopic.php?f=15&t=8802"; | |
id = "BAABBEC4-A9B1-49EF-9C54-63DED1F7A47B"; | |
minfarversion = {3,0,0,6096,0}; |
NewerOlder