diff --git a/frontend/static/layouts/_list.json b/frontend/static/layouts/_list.json index abe9590e0..00a7810ac 100644 --- a/frontend/static/layouts/_list.json +++ b/frontend/static/layouts/_list.json @@ -1342,6 +1342,17 @@ "row5": [" "] } }, + "xenia": { + "keymapShowTopRow": false, + "type": "ansi", + "keys": { + "row1": ["`~", "1!", "2@", "3#", "4$", "5%", "6^", "7&", "8*", "9(", "0)", "-_", "=+"], + "row2": [",<", "oO", "uU", "rR", "qQ", "jJ", "fF", "dD", "vV", "gG", "[{", "]}", "\\|"], + "row3": ["iI", "aA", "eE", "nN", "xX", "yY", "hH", "tT", "sS", "cC", "/?"], + "row4": [".>", "'\"", ";:", "lL", "zZ", "kK", "pP", "mM", "bB", "wW"], + "row5": [" "] + } + }, "burmese": { "keymapShowTopRow": true, "type": "ansi", diff --git a/frontend/static/quotes/code_lua.json b/frontend/static/quotes/code_lua.json new file mode 100644 index 000000000..d4736a690 --- /dev/null +++ b/frontend/static/quotes/code_lua.json @@ -0,0 +1,83 @@ +{ + "language": "code_lua", + "groups": [ + [0, 100], + [101, 300], + [301, 600], + [601, 9999] + ], + "quotes": [ + { + "text": "local MultiSelect = {}\\nMultiSelect.__index = MultiSelect\\n\\nfunction MultiSelect:new()\\n\\treturn setmetatable({\\n\\t\\t_entries = {},\\n\\t}, MultiSelect)\\nend", + "source": "Github nvim-telescope/telescope.nvim - pickers", + "length": 156, + "id": 1 + }, + { + "text": "function histories.History:append(line, picker, no_reset)\\n\\tif not self.enabled then\\n\\t\\treturn\\n\\tend\\n\\tself._append(self, line, picker, no_reset)\\nend", + "source": "Github nvim-telescope/telescope.nvim - actions", + "length": 155, + "id": 2 + }, + { + "text": "local function require_on_exported_call(mod)\\n\\treturn setmetatable({}, {\\n\\t\\t__index = function(_, picker)\\n\\t\\t\\treturn function(...)\\n\\t\\t\\t\\treturn require(mod)[picker](...)\\n\\t\\t\\tend\\n\\t\\tend,\\n\\t})\\nend", + "source": "Github nvim-telescope/telescope.nvim - builtin", + "length": 210, + "id": 3 + }, + { + "text": "function M.get_length()\\n\\tlog.trace(\"_get_length()\")\\n\\treturn table.maxn(harpoon.get_term_config().cmds)\\nend", + "source": "Github ThePrimeagen/harpoon - tmux", + "length": 111, + "id": 4 + }, + { + "text": "for _, v in pairs(log_levels) do\\n\\toverride(v)\\nend", + "source": "Github ThePrimeagen/harpoon - dev", + "length": 52, + "id": 5 + }, + { + "text": "function M.clear_all()\\n\\tharpoon.get_mark_config().marks = {}\\n\\tlog.trace(\"clear_all(): Clearing all marks.\")\\n\\temit_changed()\\nend", + "source": "Github ThePrimeagen/harpoon - mark", + "length": 134, + "id": 6 + }, + { + "text": "s = \"hello world from Lua\"\\nfor w in string.gmatch(s, \"%a+\") do\\n\\tprint(w)\\nend", + "source": "Lua 5.4 manual - string.gmatch", + "length": 80, + "id": 7 + }, + { + "text": "local i = 1\\nwhile a[i] do\\n\\tprint(a[i])\\n\\ti = i + 1\\nend", + "source": "Lua pil - while", + "length": 59, + "id": 8 + }, + { + "text": "-- print the first non-empty line\\nrepeat\\n\\tline = io.read()\\nuntil line ~= \"\"\\nprint(line)", + "source": "Lua pil - repeat", + "length": 92, + "id": 9 + }, + { + "text": "function perm (a)\\n\\tlocal n = table.getn(a)\\n\\treturn coroutine.wrap(function () permgen(a, n) end)\\nend", + "source": "Lua pil - coroutines", + "length": 105, + "id": 10 + }, + { + "text": "function Set (list)\\n\\tlocal set = {}\\n\\tfor _, l in ipairs(list) do set[l] = true end\\n\\treturn set\\nend", + "source": "Lua pil - set", + "length": 105, + "id": 11 + }, + { + "text": "line = io.read()\\nn = tonumber(line)\\nif n == nil then\\n\\terror(line .. \" is not a valid number\")\\nelse\\n\\tprint(n*2)\\nend", + "source": "Lua pil - strings", + "length": 122, + "id": 12 + } + ] +} diff --git a/frontend/static/quotes/english.json b/frontend/static/quotes/english.json index 3caf434fe..c09feaf66 100644 --- a/frontend/static/quotes/english.json +++ b/frontend/static/quotes/english.json @@ -37553,9 +37553,9 @@ "id": 6623 }, { - "text": "A darkness approaches. A day will come in the future where everything you care about will change... Until then I'll be watching you! I'll be watching you..", + "text": "A darkness approaches. A day will come in the future where everything you care about will change... Until then I'll be watching you! I'll be watching you...", "source": "Bill Cipher, Gravity Falls", - "length": 155, + "length": 156, "approvedBy": "Smithster", "id": 6624 }, diff --git a/frontend/static/quotes/german.json b/frontend/static/quotes/german.json index 8fc13b824..657a7072b 100644 --- a/frontend/static/quotes/german.json +++ b/frontend/static/quotes/german.json @@ -3326,10 +3326,88 @@ "id": 561 }, { - "text": "Es ist besser, ein einziges kleines Licht anzuzünden, als die Dunkelheit zu verfluchen.", - "source": "Konfuzius", - "length": 87, - "id": 562 + "text": "Es ist besser, ein einziges kleines Licht anzuzünden, als die Dunkelheit zu verfluchen.", + "source": "Konfuzius", + "length": 87, + "id": 562 + }, + { + "text": "Die Summe unseres Lebens sind die Stunden, in denen wir liebten.", + "source": "Wilhelm Busch", + "length": 64, + "id": 563 + }, + { + "text": "Das Trinkgeschirr, sobald es leer, macht keine rechte Freude mehr.", + "source": "Wilhelm Busch", + "length": 66, + "id": 564 + }, + { + "text": "Merkmal großer Menschen ist, dass sie an andere weit geringere Anforderungen stellen, als an sich selbst.", + "source": "Marie von Ebner-Eschenbach", + "length": 105, + "id": 565 + }, + { + "text": "Das Gleiche lässt uns in Ruhe, aber der Widerspruch ist es, der uns produktiv macht.", + "source": "Johann Wolfgang von Goethe", + "length": 84, + "id": 566 + }, + { + "text": "Lerne zuzuhören und du wirst auch von denjenigen Nutzen ziehen, die nur dummes Zeug reden.", + "source": "Platon", + "length": 90, + "id": 567 + }, + { + "text": "Nicht den Tod sollte man fürchten, sondern dass man nie beginnen wird zu leben.", + "source": "Mark Aurel", + "length": 79, + "id": 568 + }, + { + "text": "Der Schwache kann nicht verzeihen. Verzeihen ist eine Eigenschaft des Starken.", + "source": "Mahatma Gandhi", + "length": 78, + "id": 569 + }, + { + "text": "Nichts ist leichter, als so zu schreiben, dass kein Mensch es versteht; wie hingegen nichts schwerer, als bedeutende Gedanken so auszudrücken, dass jeder sie verstehen muss.", + "source": "Arthur Schopenhauer", + "length": 173, + "id": 570 + }, + { + "text": "Die Demokratie lebt vom Kompromiss. Wer keine Kompromisse machen kann, ist für die Demokratie nicht zu gebrauchen.", + "source": "Helmut Schmidt", + "length": 114, + "id": 571 + }, + { + "text": "Die Demokratie, wie ich sie verstehe, muss den Schwächsten die gleichen Chancen zusichern wie den Stärksten.", + "source": "Mahatma Gandhi", + "length": 108, + "id": 572 + }, + { + "text": "Politik ist ein Streit der Interessen, der sich als Wettstreit der Prinzipien maskiert.", + "source": "Ambrose Bierce", + "length": 87, + "id": 573 + }, + { + "text": "Reich wird man nicht durch das, was man verdient, sondern durch das, was man nicht ausgibt.", + "source": "Henry Ford", + "length": 91, + "id": 574 + }, + { + "text": "Als ich jung war, glaubte ich, Geld sei das Wichtigste im Leben. Jetzt wo ich alt bin, weiß ich, dass es das Wichtigste ist.", + "source": "Oscar Wilde", + "length": 124, + "id": 575 } ] }