About
This is a technology blog by Matthias Friedrich, a software developer and architect from Karlsruhe, Germany. more ...-
Recent Posts
Tags
- android
- backup
- best practices
- books
- build systems
- c/c++
- computer science
- databases
- deployment
- distributed systems
- django
- docker
- documentation
- go
- hadoop
- java
- java python
- kubernetes
- libraries
- linux
- machine learning
- maven
- meta
- monitoring
- music
- musicbrainz
- networking
- opinion
- oracle
- process
- productivity
- prometheus
- python
- quality
- quick tips
- rcs
- scalability
- scheme
- scripting
- security
- server
- shell
- standards
- testing
- tools
- ubuntu
- web
- xml
Tag Archives: scripting
Using Kubectl Printers and Plugins
Even though we have plenty of metrics and dashboards at work, I use the kubectl command line tool a lot for looking at resources and for troubleshooting. Because the defaults don’t always display the information that I need, I often … Continue reading
A Quick Introduction to sed(1)
The sed(1) stream editor is one of the most powerful tools from the classic Unix tool box. It is a close cousin to the ed(1) command line editor and a descendant of the ex(1) editor, the command line mode of … Continue reading
Checking Whether a Process Exists
On Linux/Unix systems, there’s occasionally the need to check whether a process is running. Some people use it for simple status checks or when building their own lifecycle scripts for startup and shutdown. I don’t think it’s a particularly good practice … Continue reading
Remote-Controlling a Sonos Device Using Python
I couple of months ago I bought a Sonos Play:1, a pretty cool wireless speaker that comes with free controller apps for major platforms (Android, Windows etc.). To give the speaker access to my music collection, I hooked up a … Continue reading
Quick Tip #6: Triggering Actions on File Close
Sometimes it’s useful to trigger an action after a file is closed. Suppose you started a lengthy download on your notebook and you want to suspend it as soon as the download is done. There are several ways to achieve … Continue reading
Building a Web-Based Java API Search
From time to time I play with web technologies to keep up with recent developments. While I know my network protocols pretty well, I’m not a frontend developer so I’m pretty useless when it comes to JavaScript or CSS. I … Continue reading
Bourne Shell Parameter Expansion
Classic Bourne Shell has a handy feature that many people don’t seem to know: Parameter Expansion. Stephen Bourne describes it in An Introduction to the UNIX Shell, which is part of the original Unix V7 manuals from 1978. Among other … Continue reading
Scripts That Just Don’t Work
Sometimes people ask for my help when their shell scripts don’t work. I’ve seen all kinds of problems, ranging from trivial to really, really weird. The one I’m describing in this article is definitely from the weird category, but I’ve … Continue reading