Skip to content

Instantly share code, notes, and snippets.

View sebplorenz's full-sized avatar

Sebastian Lorenz sebplorenz

  • Fraunhofer IVI
  • Dresden, Germany
View GitHub Profile
@sebplorenz
sebplorenz / carla_startup.py
Created October 23, 2023 12:16
A very simple example script to spawn and start a vehicle in Carla simulator.
#!/usr/bin/env python
# Copyright (c) 2019 Computer Vision Center (CVC) at the Universitat Autonoma de
# Barcelona (UAB).
#
# This work is licensed under the terms of the MIT license.
# For a copy, see <https://opensource.org/licenses/MIT>.
import glob
import os
@sebplorenz
sebplorenz / gist:b3746875bf7264deba2263db15cba722
Last active September 1, 2022 11:56
A very simple DataspaceConnector (DSC) docker-compose configuration without any security related config. It starts up a DSC with a UI and a Postgresql database for storing the configuration.
version: "3.7"
services:
connector:
image: ghcr.io/international-data-spaces-association/dataspace-connector:8.0.0
environment:
- SPRING_SECURITY_USER_PASSWORD=${CONNECTOR_PASSWORD}
- SPRING_DATASOURCE_URL=jdbc:postgresql://postgres:5432/connectordb
- SPRING_DATASOURCE_USERNAME=connector
@sebplorenz
sebplorenz / init_resource.sh
Last active September 29, 2022 15:07
Creating a resource in DataspaceConnector v5.x
#!/bin/sh
# connector configuration
CON_URL="http://localhost:8080"
ADMIN=admin
PASSWORD=password
# the Resource
RES_TITLE=DWD
RES_DESC="Weather data"