Skip to content

Instantly share code, notes, and snippets.

View ristomatti's full-sized avatar

Ristomatti Airo ristomatti

  • Maya Consulting Oy
  • Helsinki, Finland
View GitHub Profile
@ristomatti
ristomatti / hass-assist.sh
Last active March 9, 2025 00:04
Rofi / terminal scripts for Home Assistant
#!/usr/bin/env bash
#
# Rofi / terminal interface to interact with Home Assistant LLM conversation API.
#
# Requirements
# - xh: https://github.com/ducaale/xh
# - jq: https://stedolan.github.io/jq/
# - rofi: https://github.com/davatorium/rofi
#
# Resources
@ristomatti
ristomatti / web2md.sh
Last active March 9, 2025 00:28
Markdown LLM summarizer
#!/usr/bin/env bash
#
# web2md - Convert one or more web pages to a Markdown document, optionally
# summarizing the content.
#
# Requirements
# - percollate: https://github.com/danburzo/percollate
# - aichat: https://github.com/sigoden/aichat
#
# Copyright (c) 2025 Ristomatti Airo <[email protected]>
@ristomatti
ristomatti / 90-elasticsearch.conf
Created September 8, 2024 10:55 — forked from troykelly/90-elasticsearch.conf
Build a docker machine with rclone
vm.max_map_count=262144
@ristomatti
ristomatti / ionmove.ahk
Last active May 4, 2023 17:57
AutoHotkey v1 script to mimic some aspects of tiling window managers in Windows
#Persistent
Menu, Tray, NoStandard
Menu, Tray, Add, Suspend, SuspendScript
Menu, Tray, Add, Exit, QuitScript
Menu, Tray, Tip, IonMove
Return
SuspendScript:
Suspend
Menu, Tray, ToggleCheck, Suspend