Skip to content

Instantly share code, notes, and snippets.

View ktdreyer's full-sized avatar
🎧

Ken Dreyer ktdreyer

🎧
View GitHub Profile
@maxamillion
maxamillion / redhat_openshell_podman_vertex_quickstart.md
Last active July 28, 2026 12:09
Red Hat: OpenShell + Podman + Fedora/RHEL Vertex AI Anthropic Quickstart

OpenShell Instructions for Red Hatters to use Anthropic models via Vertex AI

# install
$ sudo dnf copr enable maxamillion/nvidia-openshell
$ sudo dnf install openshell-gateway openshell

# start the rootless user systemd service unit
$ systemctl --user start openshell-gateway.service
@jlebon
jlebon / what-assisted-by-means.md
Created February 26, 2026 16:38
What "Assisted-by" means

What "Assisted-by" means

You may have ended up here by following a link from one of my PRs marked with an Assisted-by trailer. There is a large variance currently in (1) what patch authors may mean when they say "Assisted-by", and (2) what patch reviewers may interpret when they see "Assisted-by". This document describes what "Assisted-by" means for my commits to reduce guesswork and have a productive collaboration. (Unless I've explicitly stated in the commit or PR body that it should be interpreted differently.)

TL;DR

  • I used an AI coding agent to help me write some (or rarely, all) of the patch.
  • I take full responsibility for the changes in the patch.
  • I self-reviewed every line in the patch and understand its logic.
  • I made a best effort to verify its fit within the larger design of the project.

this is based on the following PR as a prerequisite, setup 2 zones multisite setup:

MON=1 OSD=1 MDS=0 MGR=0 ../src/test/rgw/test-rgw-multisite.sh 

to use the AWS CLI tool, following env variables should be set:

 export AWS_ACCESS_KEY_ID=1234567890
 export AWS_SECRET_ACCESS_KEY=pencil
@alfredodeza
alfredodeza / new_repo.sh
Created April 7, 2015 16:54
new Ceph release repo
# create the new rpm directory
mkdir rpm-hammer
cd rpm-hammer
# make the directories for the distros we need for x86_64
mkdir -p el6/x86_64/
mkdir -p el7/x86_64/
mkdir -p fc20/x86_64/
mkdir -p rhel6/x86_64/
mkdir -p rhel7/x86_64/
@josiahwiebe
josiahwiebe / blogpost.py
Last active January 31, 2020 01:59
Post from Editorial to Jekyll on GitHub Pages
#coding: utf-8
import keychain
import console
import editor
import time
import re
import requests
import json
@andreyvit
andreyvit / tmux.md
Created June 13, 2012 03:41
tmux cheatsheet

tmux cheat sheet

(C-x means ctrl+x, M-x means alt+x)

Prefix key

The default prefix is C-b. If you (or your muscle memory) prefer C-a, you need to add this to ~/.tmux.conf:

remap prefix to Control + a