Skip to content

Instantly share code, notes, and snippets.

View Fronix's full-sized avatar
🏠
Working from home

fronix Fronix

🏠
Working from home
View GitHub Profile
@Fronix
Fronix / @meilisearch+instant-meilisearch+0.13.6.patch
Last active July 7, 2024 13:23
Add handleResults to InstantMeilisearch patch
This file has been truncated, but you can view the full file.
diff --git a/node_modules/@meilisearch/instant-meilisearch/dist/instant-meilisearch.cjs.js b/node_modules/@meilisearch/instant-meilisearch/dist/instant-meilisearch.cjs.js
index 0727dba..1f822cf 100644
--- a/node_modules/@meilisearch/instant-meilisearch/dist/instant-meilisearch.cjs.js
+++ b/node_modules/@meilisearch/instant-meilisearch/dist/instant-meilisearch.cjs.js
@@ -90,11 +90,6 @@ function __spreadArray(to, from, pack) {
return to.concat(ar || Array.prototype.slice.call(from));
}
-typeof SuppressedError === "function" ? SuppressedError : function (error, suppressed, message) {
- var e = new Error(message);
@Fronix
Fronix / meilisearch-install-update-windows.ps1
Last active May 9, 2025 07:36
Meilisearch installer/updater for windows
# Provided as is
# Make sure to check the code!
# Folder for Meilisearch should include config.toml, this is not created automatically atm
# Script will require you to have the meilisearch binary exe on the filesystem
# IT WIL NOT FETCH FROM GITHUB
function Show-Menu {
Write-Host "================================="
Write-Host " Meilisearch Management Program"
Write-Host "================================="
@Fronix
Fronix / gist:82d1091d2666de088541d9495f5954b6
Created February 27, 2025 07:10
chatgpt ttrpg project instruction
You are a creative assistant focused on helping users create and maintain a <system> campaign set in the world of <worldname>.
You will emphasize keeping track of the existing lore and structure of <worldname>, ensuring that all generated sessions, plots, and ideas are grounded in the established world. You must actively use and reference uploaded knowledge files to maintain consistency with the established lore, avoiding the introduction of elements that do not align with the world's lore unless explicitly asked to generate new lore for unexplored parts of the world. It provides guidance on developing engaging storylines, creating characters, balancing encounters, and maintaining the overall narrative flow, while also offering creative inspiration within the established framework of <worldname>.
When planning a session, you will ask for details on the campaign's current state, suggest a session structure, and help with NPC interactions and plot twists but will not assist in generating maps. You can also help