Skip to content

Instantly share code, notes, and snippets.

View adietish's full-sized avatar

Andre Dietisheim adietish

  • Red Hat, Inc
  • Bern, Switzerland
View GitHub Profile
@adietish
adietish / install-gemini-cli.sh
Created November 6, 2025 16:03
Gemini CLI installation script for Eclipse Che
#!/bin/sh
#
# Copyright (c) 2024 Red Hat, Inc.
# This program and the accompanying materials are made
# available under the terms of the Eclipse Public License 2.0
# which is available at https://www.eclipse.org/legal/epl-2.0/
#
# SPDX-License-Identifier: EPL-2.0
#
# Contributors:
@adietish
adietish / devfile-with-gemini-imported.yaml
Last active November 6, 2025 16:05
Eclipse Che devfile with gemini-cli imported as plugin aspect
#
# Copyright (c) 2024 Red Hat, Inc.
# This program and the accompanying materials are made
# available under the terms of the Eclipse Public License 2.0
# which is available at https://www.eclipse.org/legal/epl-2.0/
#
# SPDX-License-Identifier: EPL-2.0
#
# Contributors:
# Red Hat, Inc. - initial API and implementation
@adietish
adietish / devfile-gemini-cli-aspect.yaml
Last active November 6, 2025 16:04
Gemini CLI aspect devfile for Eclipse Che - reusable component
#
# Copyright (c) 2024 Red Hat, Inc.
# This program and the accompanying materials are made
# available under the terms of the Eclipse Public License 2.0
# which is available at https://www.eclipse.org/legal/epl-2.0/
#
# SPDX-License-Identifier: EPL-2.0
#
# Contributors:
# Red Hat, Inc. - initial API and implementation
@adietish
adietish / devfile-with-gemini.yaml
Last active November 5, 2025 18:13
Eclipse Che devfile with gemini-cli injector
#
# Copyright (c) 2024 Red Hat, Inc.
# This program and the accompanying materials are made
# available under the terms of the Eclipse Public License 2.0
# which is available at https://www.eclipse.org/legal/epl-2.0/
#
# SPDX-License-Identifier: EPL-2.0
#
# Contributors:
# Red Hat, Inc. - initial API and implementation
==> Audit <==
|---------|-----------------------------------------------------------------------|----------|----------|---------|----------------------|----------------------|
| Command | Args | Profile | User | Version | Start Time | End Time |
|---------|-----------------------------------------------------------------------|----------|----------|---------|----------------------|----------------------|
| start | --addons=ingress,dashboard | minikube | adietish | v1.34.0 | 11 Jul 25 15:30 CEST | |
| | --vm=true --memory=10240 | | | | | |
| | --cpus=4 --disk-size=50GB | | | | | |
| | --kubernetes-version=v1.2
https://platformengineering.org/blog/why-platform-engineering-will-eat-the-world
* The developer is evolving into more of a consumer and is focusing on their specific areas of code...
* The number of teams adopting platform engineering has since doubled every year...
* company SIXT, 800 developers are served by just 40 platform engineers - a ratio of 20 developers to
1 platform engineer. In contrast, I have seen traditional setups with as few as 5 developers per
operations/security/infra person...
CompletionProvider#provideInlineCompletionItems prompt = '
>>>>>>>>>>>>>>>>
You are a HOLE FILLER. You are provided with a file containing holes, formatted as '{{HOLE_NAME}}'. Your TASK is to complete with a string to replace this hole with, inside a <COMPLETION/> XML tag, including context-aware indentation, if needed. All completions MUST be truthful, accurate, well-written and correct.
## EXAMPLE QUERY:
<QUERY>
function sum_evens(lim) {
var sum = 0;
for (var i = 0; i < lim; ++i) {
➜ intellij-kubernetes git:(issue-780) ✗ ./gradlew clean verifyPlugin
Calculating task graph as no cached configuration is available for tasks: clean verifyPlugin
> Task :verifyPlugin
Starting the IntelliJ Plugin Verifier 1.379
Verification reports directory: /Users/adietish/Documents/jboss-workspaces/intellij-kubernetes/build/reports/pluginVerifier
2024-10-22T11:24:36 [main] INFO verification - Reading IDE /Users/adietish/.gradle/caches/transforms-3/b974aad98b3468c3713f226825f7567a/transformed/ideaIU-2024.2-aarch64
2024-10-22T11:24:36 [main] INFO c.j.p.options.OptionsParser - Reading IDE from /Users/adietish/.gradle/caches/transforms-3/b974aad98b3468c3713f226825f7567a/transformed/ideaIU-2024.2-aarch64
2024-10-22T11:24:36 [main] INFO c.j.p.options.OptionsParser - Using Java runtime from /Users/adietish/.gradle/caches/transforms-3/e4a6e63b3a32417af1f5bd0d54e61371/transformed/ideaIC-2024.2-aarch64/jbr/Contents/Home
2024-10-22T11:24:38 [main] WARN c.j.p.structure.ide.IdeManagerImpl - Failed to read bundled
apiVersion: v1
kind: Pod
metadata:
name: describe-test
labels:
luke: skywalker
princess: leia
annotations:
light: obiwan
dark: darthvader
➜ vscode-openshift-tools git:(main) helm show all openshift/wavefronthq-wavefront
WARNING: Kubernetes configuration file is group-readable. This is insecure. Location: /Users/andredietisheim/.kube/config
annotations:
charts.openshift.io/name: wavefront
apiVersion: v2
appVersion: 1.16.0
dependencies:
- condition: kubeStateMetrics.enabled
name: kube-state-metrics
repository: https://prometheus-community.github.io/helm-charts