Skip to content

Instantly share code, notes, and snippets.

View stanek-michal's full-sized avatar

Michal Stanek stanek-michal

View GitHub Profile
@stanek-michal
stanek-michal / quark-k8s-auditbeat-guide.md
Created September 12, 2025 22:51
Guide to set up quark with k8s events via Auditbeat

Guide: Testing Quark's K8s-Aware Events with Auditbeat on GKE

This document outlines the steps to set up a Google Kubernetes Engine (GKE) cluster, run Quark to capture eBPF events, and ship them to Elasticsearch using a repurposed Auditbeat. The goal is to verify that system events are enriched with Kubernetes ECS metadata (container.*, orchestrator.*, etc.).

0. Prerequisites

Tools

Ensure you have the following tools installed on your local machine (Debian/Ubuntu assumed):

@stanek-michal
stanek-michal / local_coding_ai_guide_macos.md
Created June 6, 2024 18:36
Tutorial: Local AI code assistant on Apple Silicon (June 2024 version)

General Local AI Usage

  1. Download LMStudio:

  2. In LMStudio, search for:

    • bartowski/Codestral-22B-v0.1-GGUF
  3. Download the model that ends with Q8_0 on the right:

  • Note: The Q8_0 model requires a minimum of 23.30GB RAM when loaded. If you want it to consume less RAM, use Q6_K with slightly less quality.
@stanek-michal
stanek-michal / local_llm_tutorial.txt
Created August 31, 2023 17:44
Tutorial - how to run OSS LLM AI models locally
-1) Quick primer on HF models
Models can be grabbed from HuggingFace, most UIs have a text window where you paste in a HF identifier such as:
TheBloke/CodeLlama-7B-Instruct-GGML
the UI then downloads the model from HF automatically.
here is an example link to a model
https://huggingface.co/TheBloke/CodeLlama-7B-Instruct-GGML