This file contains hidden or 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
#!/bin/bash | |
# Script Name: update_post.sh | |
# Author: John Doe | |
# Date: 2025-02-04 | |
# Description: Update phpBB 3 forum post, replacing it's content with specified file | |
set -o errexit | |
set -o nounset | |
set -o pipefail |
This file contains hidden or 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 ffi = require "ffi" | |
local ffi_new = ffi.new | |
local ffi_str = ffi.string | |
local ffi_gc = ffi.gc | |
local setmetatable = setmetatable | |
local _M = { _VERSION = '0.06' } --Source: https://github.com/jkeys089/lua-resty-hmac | |
local mt = { __index = _M } |
This file contains hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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" | |
BASH:=sh.exe | |
# plug base Makefile | |
include $(BASE)/Makefile |
This file contains hidden or 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 = "HlfTools"; | |
description = "Misc tools for FAR help files"; | |
version = "0.1"; --http://semver.org/lang/ru/ | |
author = "jd"; | |
url = "http://forum.farmanager.com/viewtopic.php?f=15&t=10903"; | |
id = "98B719AC-42B1-49D3-AF03-17DF9A3636FC"; | |
minfarversion = {3,0,0,4138,0}; --ACTL_GETWINDOWINFO возвращает все окна в порядке текущего z-order'а. | |
help = function(nfo) far.Message(nfo.helpstr, nfo.name, nil, "l") end; |
NewerOlder