Skip to content

Instantly share code, notes, and snippets.

View DaGeRe's full-sized avatar

DaGeRe DaGeRe

View GitHub Profile
To start Valetudo locally (with a mocked robot), execute the following commands:
1. Clone and build the backend
```
git clone git@github.com:Hypfer/Valetudo.git
cd Valetudo/
npm install
npm run start:dev --workspace=backend
```
@DaGeRe
DaGeRe / rx480llama.md
Last active July 12, 2025 16:28
Run llama.cpp on RX 480

Running llama.cpp on RX 480

Even though the RX 480 is not a very recent GPU, the 8 GB VRAM are quite decent and make it possible to run LLMs much faster than with the CPU.

To make it running, three steps are necessary: Installing vulkan, building shaderc and finally building lama.cpp including the vulkan backend (assuming git, a c compiler, cmake, ninja, etc. are installed on a sufficiently recent Ubuntu).

Step 1: Installing Vulkan

Run sudo apt install libvulkan-dev vulkan-tools glslang-tools.

@DaGeRe
DaGeRe / demo.md
Last active June 4, 2025 13:26
OpenTelemetry to Kieker Demo

OpenTelemetry Kieker Demo

To run the OpenTelemetry demo using Kieker, run the following steps:

  1. Start the kieker listener:
git clone -b GH-13-GetOERFromProto git@github.com:kieker-monitoring/kieker.git
cd kieker/
cd tools/otel-transformer
../../gradlew assemble
@DaGeRe
DaGeRe / instrumentT2WithKieker.md
Last active October 23, 2024 05:11
Instrument t2 Project With Kieker

Starting with Kieker Instrumentation

  • Download the spring instrument library: wget https://repo1.maven.org/maven2/org/springframework/spring-instrument/6.1.14/spring-instrument-6.1.14.jar
  • Kieker 2.0.2-SNAPSHOT is currently in the repo. If Kieker should be updated, please the following lines to the dependencies in the main build.gradle:
  aspectJarConfig "ch.qos.logback:logback-classic:$libLogbackVersion"
  aspectJarConfig "ch.qos.logback:logback-core:$libLogbackVersion"
  • Build: mvn clean package -DskipTests=true
  • Start: java -Dkieker.monitoring.writer.filesystem.FileWriter.customStoragePath=monitoring-logs -Dkieker.monitoring.skipDefaultAOPConfiguration=true -javaagent:spring-instrument-6.1.14.jar -javaagent:kieker-2.0.2-SNAPSHOT-aspectj.jar -jar target/t2-modulith.war
@DaGeRe
DaGeRe / t2projectLocalStart.md
Last active November 12, 2024 21:42
Run the t2 project locally

Running t2 Project Locally

The following describes the steps that are needed to run the t2 store locally. Before you start, please install the following things:

  • A recent JDK (17 or above)
  • Developer tools like git, wget, etc.
  • Apache JMeter (wget https://dlcdn.apache.org//jmeter/binaries/apache-jmeter-5.6.3.tgz && tar -xvf apache-jmeter-5.6.3.tgz, now you can start JMeter using java -jar apache-jmeter-5.6.3/bin/ApacheJMeter.jar)
  • Please download the project using git clone --recurse-submodules -j8 https://github.com/t2-project/t2-project.git and please replace the modulith submodule be its fork: cd t2-project/modulith/ && git remote add fork https://github.com/DaGeRe/t2-modulith.git && git pull fork with-mysql && git checkout with-mysql

Start MongoDB

@DaGeRe
DaGeRe / getAll.sh
Created August 8, 2024 09:20
my-company build skript
#!/bin/bash
# This script aims for cloning all my-company projects (https://ivans-innovation-lab.github.io/projects/) and building them
set -e
for project in my-company-common my-company-project-domain my-company-team-domain my-company-blog-materialized-view my-company-project-materialized-view my-company-team-materialized-view
do
if [ ! -d $project ]
then
@DaGeRe
DaGeRe / KiekerDemoExplorViz.md
Last active November 7, 2024 13:14
Description of a Kieker - ExplorViz Demo using the TeaStore for SSP

Prerequisites

Please make sure you install the following tools:

  • Make sure you got JDK 11 or above installed and $JAVA_HOME set correctly.
  • Make sure you got JMeter installed and $JMETER_HOME pointing to its folder.
  • Make sure you got Kieker (https://github.com/kieker-monitoring/kieker) downloaded (e.g. git clone https://github.com/kieker-monitoring/kieker.git) and built via ./gradlew assemble -x test -x check -x apidoc (we use the current 2.0.0-SNAPSHOT - please file an issue if you have a problem with this steps in a newer version). Set $KIEKER_HOME to the root folder of your built Kieker.
  • My fork of the TeaStore: https://github.com/DaGeRe/TeaStore (git clone --branch kieker-debug https://github.com/DaGeRe/TeaStore.git) In the forks folder:
    • Deactivate the FileWriter: `sed -i "s/kieker.monitoring.writer=kieker.monitoring.writer.filesystem.FileWriter/#kieker.monitoring.writer=kieker.monitoring.writer.filesystem.FileWriter/g" utilities/tools.descartes.teastore.dockerbase/kieker.monitor
@DaGeRe
DaGeRe / runDiSLExperiment.sh
Created September 11, 2023 09:13
Checks out different MooBench branches and runs the variants
if [ -z "${DISL_HOME}" ]; then
echo "\$DISL_HOME needs to be defined."
exit 1
fi
echo "======="
echo "SI"
git checkout optimization-sourceInstrumentation
./setup.sh &> setup_si.txt

Experiment 1: Examination of different $RECURSION_DEPTH and $TOTAL_NUM_OF_CALLS

The following steps are necessary for measurement:

git clone https://github.com/kieker-monitoring/moobench.git
cd moobench
git checkout binaryNoLoggingExamination-experiment-1
./setup.sh
cd frameworks/Kieker-java
start=$(pwd)
# Clone and install DiSL
git clone https://gitlab.ow2.org/disl/disl.git
cd disl
ant
mvn install:install-file -Dfile=output/lib/disl-server.jar -DgroupId=ch.usi.dag -DartifactId=disl -Dversion=1.0-SNAPSHOT -Dpackaging=jar
export DISL_HOME=$(pwd)
# Clone and install Kieker with the DiSL branch