Skip to content

Instantly share code, notes, and snippets.

View metlos's full-sized avatar

Lukas Krejci metlos

View GitHub Profile
@metlos
metlos / crc-postinstall.sh
Created January 20, 2020 08:31
CRC post install setup to work nicely with Eclipse Che
#!/bin/sh
set_vm_limits() {
sudo virsh setmaxmem crc 16G --config
sudo virsh setmem crc 16G --config
}
crc stop
set_vm_limits
crc start
@metlos
metlos / crc-rebuild.sh
Last active January 20, 2020 08:37
Rebuild local che server and push the image into internal registry of CRC
#!/bin/sh
# This should run a level above the Eclipse Che server checkout which is assumed in a subdir called "che".
# CRC is assumed to be running.
# Che is assumed to be installed by chectl using operator.
# It uses podman for the images and assumes docker is aliased to podman.
CUR_DIR=`pwd`
CUR_USER=`oc whoami`
@metlos
metlos / issue-triage-2020-06-09.adoc
Last active June 9, 2020 13:03
Issue Triage 2020-06-09
apiVersion: v2
publisher: eclipse
name: che-theia
version: next
type: Che Editor
displayName: theia-ide
title: Eclipse Theia development version.
description: Eclipse Theia, get the latest release each day.
icon: https://raw.githubusercontent.com/theia-ide/theia/master/logo/theia-logo-no-text-black.svg?sanitize=true
category: Editor

Severity/p1

  • How to delete an invalid secret? #18206

  • Update VS code Extension Language support for Apache Camel to 0.0.28 #18204

Severity/p2

Option to skip ingress availability checking #18213 Add instructions about how to run tasks in che-theia welcome page #18210

@metlos
metlos / issue-triage-20210105.adoc
Last active January 5, 2021 18:46
Issue Triage 20210105

Severity/p1

  • releases of che-plugin-registry contain invalid data #18727

  • Implement cheCDN resources prefetching in Dashboard Next #18728

  • [hosted Che] CPU limitations for plugin sidecar is not applied #18730

Severity/p2

N/A

@metlos
metlos / issue-triage-20210316.adoc
Last active March 16, 2021 17:37
Issue Triage 2021-03-16
@metlos
metlos / git-where-am-i
Last active February 27, 2024 14:04
To be put in the $PATH. You tell it a directory and it will search for all git repositories underneath it, outputting the current branch and clean/dirty state for each
#!/bin/sh
function usage {
echo "USAGE"
echo "git where-am-i DIR"
}
function report_dir {
local prefix=$1