Diverse kleine Shell-/Python-Skripte für den CLI-Alltag. Einige der Skripte sind notwendig, damit meine ZSH-Konfiguration (Zu finden im dotfiles-Repo) funktioniert!
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Malte Bublitz 37a6d55728
[_base.inc.sh] Improved/added message_debug/message_info/set-xterm-title
3 weeks ago
.gitignore [gitignore] Ignoring python/pip/pydoc 5 months ago
COPYING.md Moved COPYING to Markdown format 7 years ago
README.md Added some documentation to README.md 8 years ago
_base.inc.sh [_base.inc.sh] Improved/added message_debug/message_info/set-xterm-title 3 weeks ago
battery_status Updated battery_status to support current OSDetect and Linux kernel 5.x 2 years ago
dvd2ogv fix: Shebangs and _base.inc.sh compatibility 2 months ago
dvd2vob fix: Shebangs and _base.inc.sh compatibility 2 months ago
firewall Made firewall and deshort-url executable 8 years ago
generate_password [generate_password] Modern Python style and configuration using environment variables 2 months ago
getipv4 Added a DNS resolver script for IPv4 and IPv6 addresses. 9 years ago
getipv6 Added a DNS resolver script for IPv4 and IPv6 addresses. 9 years ago
gitinfo [gitinfo] Default branch taken from global Git config instead of a hard coded “master” 7 months ago
md2html md2html: Filename without path in <title> 6 years ago
minidnsserver [minidnsserver] Fixed shebang (python→python2) 9 months ago
minishell minishell: Added id command. 7 years ago
myip myip: External IP working again using ip.malte70.de 12 months ago
open [open] Abort with error message if trying to open in an invalid app 12 months ago
qrcode Added QRCode generator 9 years ago
radio Added radio script. 7 years ago
randomuser Fixed randomuser to work with current randomuser.me API 6 years ago
resolution Added script resolution 11 months ago
screenshot Changed hostname for khaos and image name 7 years ago
stripwhite Added a script which strips leading and trailing white spaced of each line in a pipe 9 years ago
sysinfo sysinfo: Added macOS hardware detection 3 months ago
sysinfo-mate Added MATE sysinfo 8 years ago
todo [todo] Support for bat on Ubuntu (executable is named batcat) 6 months ago
update Removed ABS sync in update 6 years ago
userinfo [_base.inc.sh] Improved/added message_debug/message_info/set-xterm-title 3 weeks ago
uzbl Made the uzbl startup script launch uzbl with exec. 9 years ago
vob2ogv fix: Shebangs and _base.inc.sh compatibility 2 months ago
wallpaper Wallpaper script that creates a multi-screen wallpaper using imagemagick and applies it using hsetroot 9 years ago
website-screenshot [website-screenshot] Rewrote most of the script. Supports Firefox and Chrome drivers, and can be configured using environment variables 5 months ago
website-title [website-title] New script to get the title of a website 1 month ago
youtube2mp3 Added youtube2mp3 8 years ago



Various small scripts (Shell and python)


Language: Python 3

Get the current status of the battery on GNU/Linux notebooks (Currently only Linux Kernel version 2 or 3)


Language: Bourne-Shell

Simple reverse URL shortener based on a HEAD request with curl.


Language: Python 3

A simple DNS resolver for A records (hostname to IP)


Language: Bourne-Shell

Encode a movie on a DVD to an OGG Vorbis+Theora file. No problems with copy protection discovered yet.


Language: Bourne-Shell

Read the main track of a DVD movie into a VOB file (Playable with, e.g. VLC media player), which contains all spoken languages and subtitles present on the DVD.


Language: Python 3

Generates a random and secure password. Length is passed as an argument, default is 8.


Language: Bourne-Shell

Resolves an IPv4 or IPv6 address. It only prints out the IP, nothing else, so it can be used to insert the IP of a host in an editor (getent ahostsv4/getent ahostsv6, which are internally used, print out some information you do not need in most cases).


Language: Python 2

Resolves a custom DNS prefix to a specific IP, and everything else througt the system's default DNS servers.


minidnsserver [suffix] [ip]


minidnsserver dev
# Resolves *.dev to


Language: Python 2

A shell that can only be quitted.

You might use it whenever a user should be able to launch a shell, but not to execute commands.


Language: Bourne-Shell

Launches a MIPS assembler program using MARS IDE on the command line, and processes it with pypp.


Language: Bourne-Shell

Lists all IPv4 and IPv6 addresses of eth0 and wlan0.


Language Python 3

A basic perprocessor, e.g. used by mips-run. Supports multi-line macro definitions.


Language: Python 2

Generates a QR code for a text and writes it to a file.


qrcode filename "Text to encode"


Language: Python 2

Generates a screenshot of a website using Firefox, without requiring a running X Server (uses it's own virtual one).