Skip to content

Instantly share code, notes, and snippets.

#!/usr/bin/env bash
# Self-service Claude Code updater.
#
# - Mirrors what `claude update` would do: picks the
# channel's target version, verifies SHA256 from the published manifest, and
# atomically swaps the ~/.local/bin/claude symlink.
# - Works around a corporate URL-filter that blocks the ELF binary at downloads.claude.ai.
# - Is faster than claude update
# - Runs on Linux and macOS.
#
@culmat
culmat / playwright-mcp-centralized-setup.md
Last active April 12, 2026 11:03
Shared Chrome + Playwright MCP Setup

Shared Chromium + Playwright MCP Setup

@culmat
culmat / mistral.sh
Created November 16, 2025 13:35
a curl-based helper to list, manage, and OCR PDFs and images
#!/usr/bin/env bash
set -euo pipefail
SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
API_KEY_FILE="$SCRIPT_DIR/API_KEY.txt"
API_BASE_URL="https://api.mistral.ai"
DEFAULT_OCR_MODEL="mistral-ocr-latest"
abort() {

Links and tools for shepherds


                                ____    ,-.
                               /   /)))( , )
                              (  c'a(   \`'
                              _) ) _/   |
                              \_/ (_    |
                              / \`~\\   |
 (,,,) )) _j
apiVersion: backstage.io/v1alpha1
kind: Group
metadata:
name: team-devops-guild
title: Team DevOps Guild
description: The DevOps Guild
links:
- url: https://baloise.com
title: Homepage
spec:
@culmat
culmat / index.html
Last active October 26, 2023 16:05
Geo URI HTML link
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Geo URI</title>
</head>
<body>
<script>
function openGeo(geo) {
try {
@culmat
culmat / DevOps.html
Last active September 6, 2023 11:22
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>DevOps</title>
<style>
.do_icon:hover {
filter: drop-shadow(8px 8px 3px grey);
cursor: pointer;
package culmat.photo;
import static java.util.Arrays.asList;
import static java.util.Arrays.stream;
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStream;
import java.io.InputStreamReader;
import java.io.OutputStream;
import java.nio.file.Path;
digraph G {
rankdir=TB
bgcolor = "transparent"
ranksep = "1.2"
node [fontname = "Sans", shape = "record", margin = ".4"]
n1 [label = "Import from camera",fillcolor=lightblue,style = "filled"]
n2 [label = "Import from directory",fillcolor=lightblue,style = "filled"]
n3 [label="Create \n temporary local disk"]
n4 [label="Check remote for duplicates"]
n5 [label = "Display overview",fillcolor=lightblue,style = "filled"]
# some gnome key bindings conflict with eclipse short cuts that I use frequently
# free up '<Control><Alt>Down'
gsettings set org.gnome.desktop.wm.keybindings switch-to-workspace-down "['<Super>Page_Down']"
# free up '<Control><Alt>Up'
gsettings set org.gnome.desktop.wm.keybindings switch-to-workspace-up "['<Super>Page_Up']"