Skip to content

Instantly share code, notes, and snippets.

View chhoumann's full-sized avatar
👋

Christian Bager Bach Houmann chhoumann

👋
View GitHub Profile

Multi-Instruct for Obsidian

This script is a rudimentary clone of big-agi's beam mode, implemented for the QuickAdd plugin for Obsidian. It allows users to generate multiple AI responses and combine them in various ways.

Features

  • Generate multiple AI responses to a single prompt
  • Choose from different combination methods:
  • Fuse: Merge responses into a single, coherent answer
@chhoumann
chhoumann / cursor.sh
Last active March 25, 2024 16:03
Fixing Cursor on WSL
#!/usr/bin/env sh
#
# Copyright (c) Microsoft Corporation. All rights reserved.
# Licensed under the MIT License. See License.txt in the project root for license information.
if [ "$VSCODE_WSL_DEBUG_INFO" = true ]; then
set -x
fi
COMMIT="502aa640fa223830082ace6c194b46b55e390fa0" # update this to the actual version
APP_NAME="cursor"
TABLE WITHOUT ID
	(link(file.path, aliases)) as Title,
	choice(exercise, "✅", "❌") as 🏃‍♂️,
	choice(book, "✅", "❌") as 📖,
	choice(meditation, "✅", "❌") as 🧘,
	choice(flashcards, "✅", "❌") as 🎴,
	choice(sleep > 7, "✅", "❌") as 🛌
FROM #🤵/journal 
SORT file.day DESC
@chhoumann
chhoumann / MetaEdit.js
Last active November 5, 2024 00:12
Quick edit for YAML properties and Dataview inline fields
<%*
/*
# MetaEdit
Made by Christian B. B. Houmann
Discord: Chhrriissyy#6548
Twitter: [https://twitter.com/chrisbbh](https://twitter.com/chrisbbh)
Feel free to @ me if you have any questions.
Link to Gist: [Quick edit for YAML properties and Dataview inline fields · GitHub](https://gist.github.com/chhoumann/2a90b203a4faaa35971a83f9e7f29d99)
Use that to check for updates. :)
@chhoumann
chhoumann / MoodleSchedulePlusPlus.js
Last active February 1, 2021 08:55
Makes the Moodle schedule bearable.
// ==UserScript==
// @name MoodleSchedule++
// @namespace https://gist.github.com/chhoumann/4f8a6c56838b04789060042d11e651de
// @version 0.1
// @description Automatically goes to semester page and removes past weeks.
// @author Christian B. B. Houmann
// @match www.moodle.aau.dk/local/planning/calendar.php?fid=*
// @grant none
// ==/UserScript==