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

Escaping in shells

First things first: A string with spaces is enclosed in either single quotes ‘ or double quotes “. The difference you ask? Single quotes are treated “as is”: No variable replacement, no parsing, just a string. If you want to embed a variable value, you have to concatenate the string. Period. Double quotes allow dynamic… Continue reading Escaping in shells