Skip to content

Instantly share code, notes, and snippets.

<!DOCTYPE html>
<html>
<head>
<title>Test</title>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=no">
<link rel="stylesheet" href="https://unpkg.com/leaflet/dist/leaflet.css" crossorigin=""/>
// ==UserScript==
// @id debug-console-re
// @name IITC plugin: Console.Re
// @description Remote console: http://console.re/
// @category Debug
// @version 0.1
// @author jd
// @namespace https://gist.github.com/johnd0e
// @homepageURL https://gist.github.com/johnd0e/a7dc7f33f0970a2f2b00a63f1046fd31
// @supportURL https://gist.github.com/johnd0e/a7dc7f33f0970a2f2b00a63f1046fd31#new_comment_field
@johnd0e
johnd0e / .eslintrc.json
Last active February 10, 2020 15:44
IITC plugin: offle
{
"env": {
"browser": true
},
"extends": "eslint:recommended",
"rules": {
"indent": [
"error",
4
],
@johnd0e
johnd0e / MultiPanel.lua
Last active July 3, 2021 15:46
[Far Manager macro] MultiPanel
local Info = Info or package.loaded.regscript or function(...) return ... end --luacheck: ignore 113/Info
local nfo = Info { _filename or ...,
name = "MultiPanel";
description = "Store and switch between multiple file panels";
version = "0.5.1"; --http://semver.org/lang/ru/
author = "jd";
url = "http://forum.farmanager.com/viewtopic.php?f=15&t=8759";
id = "75950345-29C3-49DB-804D-8AA96345C1B2";
minfarversion = {3,0,0,4151,0}; -- local profile
help = function(nfo)
@johnd0e
johnd0e / MacroCheck.lua
Last active December 11, 2019 07:59
[Far Manager macro] MacroCheck
--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 macro in editor [Reload/Execute/Variables]";
version = "1.2";
author = "jd";
url = "http://forum.farmanager.com/viewtopic.php?f=60&t=8008";
id = "DA9B41E0-3896-4533-94E9-D5CE10BB7968";
minfarversion = {3,0,0,4261,0}; --far.FarClock
@johnd0e
johnd0e / fix-tiles-gap.user.js
Created November 9, 2019 14:52
IITC plugin: Tile grid lines fix
// ==UserScript==
// @id fix-tiles-gap
// @name IITC plugin: Tile grid lines fix
// @category Fix
// @version 0.1
// @description Workaround for 1px-gap between tiles (https://github.com/Leaflet/Leaflet/issues/6101#issuecomment-480593514)
// @namespace https://github.com/johnd0e
// @include https://intel.ingress.com/*
// @grant none
// ==/UserScript==
@johnd0e
johnd0e / changelog.md
Last active November 11, 2019 16:21
[Far macro] Lua Explorer „Advanced“

2.4

  • Бинарные строки (непредставимые в utf-8) отображаются с псевдотипом #string, в кодировке Ansi. Редактирование тоже поддерживается.
  • Символы помечающие таблицы и функции теперь настраиваются в options.
  • Восстановлена работа jit.util.funcinfo (Shift-F3)

2.3 (2013+)

  • При вставке в таблицу, и редактировании значений теперь введённые параметры проверяются на корректность