Skip to content

Instantly share code, notes, and snippets.

View Decstasy's full-sized avatar
☺️

Dennis Decstasy

☺️
  • Hamburg, Germany
View GitHub Profile
@Decstasy
Decstasy / rtsp-stream.sh
Created April 15, 2019 13:49
Starts VLC RTSP Stream from Raspberry Pi Camera
#!/bin/bash
ip=( $(ip a | grep inet | grep -v 127.0.0 | grep -oP '(\d{1,3}.){3}\d{1,3}') )
echo "Connect with VLC Media Player via Network stream: rtsp://${ip[0]}:8554/"
echo "Press enter to start the stream..."
read lol
raspivid -o - -t 0 -n | cvlc -vvv stream:///dev/stdin --sout '#rtp{sdp=rtsp://:8554/}' :demux=h264
@Decstasy
Decstasy / MinecraftReactorControl.lua
Last active May 6, 2021 19:30
A small Computercraft reactor control program
-- Little reactor control by Decstasy [email protected]
-- Please configure everything for your needs
-- Where the energy store is located relative to the computer
local BatterySide = "back"
-- Where to send the "enable the reactor" redstone signal
local reactorEnableRedstone = "front"
-- Where to abort program when getting a redstone signal
local reactorEmergencyRedstone = "right"
-- Monitor position
#!/usr/bin/perl -W
# Dennis Ullrich
### Password settings:
# Output settings:
$x = 4; # Passwords per line
$y = 25; # Lines
# (quantity,(charset))
@Decstasy
Decstasy / imdbheatmap.py
Last active May 3, 2023 19:17
Creates a heatmap for a series based on imdb ratings, so you know if a series gets bad in advance ;)
#!/usr/bin/env python3
__author__ = "Dennis Ullrich"
__copyright__ = "Copyright 2023, Dennis Ullrich"
__credits__ = ["Dennis Ullrich"]
__license__ = "GPL"
__version__ = "3.0.0"
__maintainer__ = "Dennis Ullrich"
__email__ = "[email protected]"
__status__ = "Fun"
@Decstasy
Decstasy / gist:1e6946161ae976950a9408f362772cfe
Created November 14, 2023 13:53
CentOS7 icingaweb2-2.11.4 installation problem
[root@localhost ~]# yum install icingaweb2-2.11.4
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
* base: ftp.antilo.de
* centos-sclo-rh: mirror.netzwerge.de
* centos-sclo-sclo: mirror.netzwerge.de
* epel: cdn.centos.no
* extras: centos.mirrors.psw.services
* updates: centos.mirrors.psw.services
Resolving Dependencies
@Decstasy
Decstasy / WireGuardGUI.py
Created January 10, 2024 16:57
Wireguard Python QT5 GUI
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
"""
2024 - Dennis Ullrich
A simple GUI for reading *.conf files in /etc/wireguard. It toggles your connection using wg-quick up/down and displays status information while enabled.
Root permissions are required for proper functionality.
License: MIT License