Skip to content

Instantly share code, notes, and snippets.

@thampiotr
thampiotr / gist:344082d6602ed8d89f610914fc33192b
Created November 18, 2025 17:05
Investigating Alloy issues guidelines for LLM
This document serves as guidelines / rules and tools list that is to be used by the LLMs to help investigate issues with Grafana Alloy.
@thampiotr
thampiotr / sync.sh
Last active June 1, 2020 19:23
Watch a folder for changes and sync it over ssh to a remote host
#!/bin/bash
set -o xtrace -e -u -o pipefail -o posix
# A simple script to keep in sync one folder on local host with a remote host. I use it to keep my code synced with
# a RaspberryPi while I edit it on my desktop.
#
# NOTE 1: make sure that you copy your keys to remote host with `ssh-copy-id`
# first to allow for rsync to run without password prompts.
# NOTE 2: set the variables below to suit your needs.
@thampiotr
thampiotr / .zshrc
Last active April 3, 2020 22:22
Bootstrap a VM for me
## Customisations START
# Set the SHELL correctly.
export SHELL=`which zsh`
# Get the /etc/profile if it exists, it has useful stuff usually.
[ -f "/etc/profile" ] && source "/etc/profile"
## END
# If you come from bash you might have to change your $PATH.
# export PATH=$HOME/bin:/usr/local/bin:$PATH