Automate with ssh

Scenario I have a bunch of Linux hosts to perform actions on. Updates, certificates, cleanup, you name it. I do all my work over “ssh” but for that to work the hosts must be trusted. Of course I can use “ssh-keyscan” to get the keys but my own “known_hosts” file gets pretty messed up when… Continue reading Automate with ssh

Get installed packages

Assuming one needs to setup a LAMP server identically to a existing machine and it is important that all the specific packages are installed in order to guarantee a stable execution of the application. the following command prints out a single line list of installed packages for the provided search terms: Just change “apache|mysql|php” (RegEx!)… Continue reading Get installed packages

Build your application outside your IDE

This is a short introduction into building applications like Visual Studio solutions, Gradle/Ant/Maven- or Makefile projects. What does building mean in general? Transfering your project from one state to another. This means for example one takes the source files and derives binaries from them or creating a pdf documentation from the contained markdown files. Thus… Continue reading Build your application outside your IDE

Apply changes to multiple development branches

Let’s assume you have a simplified agile development process like this one: During planing the version numbers are specified and during development branches (like “release/1.5.10”) are used to collect all changes developed in development branches (like “bugfix/reference/1.5.10” where “reference” stands for a ticket number, a short description or any other reference to a in depth… Continue reading Apply changes to multiple development branches