Skip to content

Instantly share code, notes, and snippets.

@agutenkunst
agutenkunst / controlling_usb_relay_using_ubuntu.md
Last active May 27, 2021 06:56
Controlling USB-Relay using Ubuntu
@agutenkunst
agutenkunst / presentation.md
Last active May 19, 2020 13:17
Code Coverage für pytest mit ROS

Code Coverage für pytest mit ROS

Goal

Create coverage for pytest using ROS

How is this working with unittests?

A python unittest is added to the CMakeLists.txt using

catkin_add_nosetests(unittest.py)
@agutenkunst
agutenkunst / ccache_install.md
Last active November 25, 2020 12:01
Setup ccache

Run

sudo apt install ccache -y
echo 'export PATH="/usr/lib/ccache:$PATH"' | tee -a ~/.bashrc
source ~/.bashrc

If there is a error containing something like

ccache: error: Failed to create temporary file for /home/alex/.ccache/tmp/tmp.cpp_stderr: Permission denied
@Jofkos
Jofkos / start.sh
Last active January 25, 2024 14:16
Minecraft server tmux startscript
#!/bin/sh
### BEGIN INIT INFO
# Provides: Minecraft-Server
# Required-Start: $all
# Required-Stop: $remote_fs $syslog $network
# Default-Start: 2 3 4 5
# Default-Stop: 0 1 6
# Short-Description: Starts minecraft server at boot time
# Description: Starts minecraft server at boot time
### END INIT INFO