Skip to content

Instantly share code, notes, and snippets.

View simonholm's full-sized avatar
:octocat:

Simon Holm simonholm

:octocat:
View GitHub Profile
@simonholm
simonholm / ai_summary_verification_checklist.md
Created April 16, 2025 06:30
Checklist for verifying AI-generated summaries

Source Consistency Checklist for AI Summaries

Use this checklist to verify that AI-generated summaries align with the original source content:

1. Coverage

  • Are all key points from the source included?
  • Are any important ideas or sections missing?

2. Simplification

  • Is the summary too vague or overly general?
@simonholm
simonholm / atuin.md
Last active October 6, 2024 06:03
atuin howto delete history, a prompt with claude.ai

I apologize for the confusion in my previous responses. You're absolutely right, and I thank you for your patience. Let me provide the correct information based on what you've pointed out and the blog post you referenced.

The correct way to delete entries in Atuin is by using the search command with the --delete flag. Here's the correct syntax:

atuin search --delete <search-term>

You're correct that this syntax is mentioned in the blog post you referenced, where it talks about the --search-mode flag. The --delete flag works in a similar manner.

@simonholm
simonholm / foo.txt
Created August 9, 2021 06:27
wsl 2 folder, where to find
# source https://askubuntu.com/a/759885/610990
C:\Users\<username>\AppData\Local\Packages\
# in Windows explorer
\\WSL$
@simonholm
simonholm / vscode_ext_pwsh.ps1
Last active June 23, 2021 07:00
get all your installed vscode ext with powershell
# source https://twitter.com/mbcrump/status/1275106945968386050?s=20
code --list-extensions | % {"code --install-extension $_"}
# my mod, if using vscode insiders
code-insiders --list-extensions | % {"code-insiders --install-extension $_"}
# other e.g. sorce https://twitter.com/rauschma/status/1240791939114467328?s=20
@simonholm
simonholm / install_libgtk.sh
Last active June 12, 2021 20:59
compiler error glib-2.0 was not found in the pkg-config search path
# compiler error glib-2.0 was not found in the pkg-config search path
sudo apt-get install libgtk-3-dev
# source https://github.com/gi-rust/glib-sys/issues/5#issuecomment-320515059
@simonholm
simonholm / vim_uncomment.md
Last active June 16, 2021 21:13
vim howto uncomment/comment
@simonholm
simonholm / stuck_in_execute_prompt.md
Last active May 30, 2021 19:37
note to self, stuck in execute: _ prompt
@simonholm
simonholm / import_module_appx_powershell7.ps1
Last active December 17, 2022 07:47
powershell 7 import-module appx issue (0x80131539), interim solution
# remove build in apps, source https://www.askvg.com/guide-how-to-remove-all-built-in-apps-in-windows-10/
# don't work with powershell 7 though
# source https://github.com/PowerShell/PowerShell/issues/13138#issuecomment-849965912
import-module appx -usewindowspowershell
# other examples
# source https://github.com/PowerShell/PowerShell/issues/13138#issuecomment-851366340
Import-Module -Name Appx -UseWindowsPowerShell -WarningAction SilentlyContinue
@simonholm
simonholm / detect_os.sh
Last active May 29, 2021 20:46
not to self, command detect os version
cat /etc/os-release
lsb_release -a
hostnamectl
# kernal
uname -r
# source https://www.cyberciti.biz/faq/how-to-check-os-version-in-linux-command-line/