This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/perl -W | |
# Dennis Ullrich | |
### Password settings: | |
# Output settings: | |
$x = 4; # Passwords per line | |
$y = 25; # Lines | |
# (quantity,(charset)) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-- 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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
##### | |
# | |
# Author: Dennis Ullrich ([email protected]) | |
# | |
# Description: | |
# Checks server uptime on linux machines and raises critical if uptime <= 5 minutes. | |
# Made for icinga2 - parameters are not implemented yet. | |
# |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Dennis Ullrich | |
# | |
# Lists upgradable packages comma separated on systems with apt package management (hopefully) | |
# Made for "Linux Helpdesk Deutschland - Hilfe für Linux Einsteiger" group | |
# | |
# 2018-09-14 v0.1: First release | |
# 2018-09-14 v0.2: Improved code... No read, while loops etc... Everything is processed with bash internals. | |
get_upgradable_packages() { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Dennis Ullrich | |
# [email protected] | |
#################################### | |
############# Variables ########## | |
################################ | |
# Arrays | |
declare -A interface |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
if [[ $# -ne 1 ]]; then | |
echo "$0 [path to sysstat file made with: \"LANG=POSIX LC_ALL=C sar -Adp\"]" | |
exit 1 | |
fi | |
_FILE = "$1" | |
# Der Parser von ksar mag bestimmte sachen nicht und beendet sich dann mit einer exception |
NewerOlder