Skip to content

Instantly share code, notes, and snippets.

Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
module Lib ( someFunc ) where import Data.List (stripPrefix, isPrefixOf, isInfixOf, stripPrefix)
import Data.Char (isAlpha, isAlphaNum, isLetter, isDigit)
import Data.List (inits, tails)
--import Data.List.Split (split)
import Data.Maybe (isJust)
@feiloo
feiloo / gist:69f5abb1c32f1414a4c98c6c0ff4b178
Last active May 27, 2025 13:19
download_all_llamacpp_server_ui_data
// SPDX-License-Identifier: Apache-2.0
// generated by Qwen3-235B-A22B-Q4_1 but with minor modifications
// this dumps the indexedDB from llama.cpp llama-server's webui
// copy paste this into the browsers developer console to download all llamacpp server chats
const dbName = 'LlamacppWebui';
const openReq = indexedDB.open(dbName);
// Step 2: Handle open success/error
openReq.onsuccess = (e) => {