Tmux new session detach and attach
If you want to run a job on a server, you can start a new tmux session, detach from it and attach back at a later point of time. Starting a tmux session within a …
If you want to run a job on a server, you can start a new tmux session, detach from it and attach back at a later point of time. Starting a tmux session within a …
You can synchronize the local GIT repository with ORIGIN. This can be useful to remove already removed branches from the local repository if these were deleted in ORIGIN. After executing this command, all branches, that …
Assume the current main branch is named master and you you created a new branch with the name main that should be the new main branch. Also assume, that you have forked the main repo …
If you are searching for a nicely themed shell replacement of the bash with multiple plugins support, the oh-my-zsh is a good starting point. You can get information about the project from: https://github.com/ohmyzsh/ohmyzsh I recommend …
If you want to resize numerous images within a folder, you can use the ImageMagick command mogrify. The parameters are: resize: maximum with of 1200px path: where to store the resized images format: change the …
The task is to clone a repository and set a new origin. Additionally, the original origin becomes a new upstream. Step 1: Clone the original repository Step 2: Remove the original remote origin from the …
To display the currently used version of Java you can execute in your shell: Additionally, also the installed versions can be checked by: Within the former dialog, you can change the default Java version that …
If you have network interfaces running that are not wished or which could block other network services (like a VPN connection), you can remove them by using ifconfig. The currently running netwro interfaces can be …
By the time, old images and containers are still on the system and use a lot of disk space. Show old containers and images See the docker images with their ID: See the stopped docker …
Why are colours so important? If we make decisions that include colours, these are influenced by the occuring colours. Like the colour of a product or whether I should click the blue or the red …
If you want to transform your Play Application (https://www.playframework.com) into a Progressive Web App, you can do this by the following steps. The following example is implemented by using Play 2.6.15. Why choosing a PWA? …
Sometimes it is necessary to create an archive of the files of a GIT repository, e.g. if you want to sent the files to another person. Therefore you can use the git archive command which …
If you need to see the formerly changed files of a push, you can use the following commands to display specific information with or without a diff. Display the last changes with a diff of …
The default CassandraSink of Apache Flink is used to store data to Cassandra. If you want to retrieve data from Cassandra, you need another implementation that allows the access of the Cassandra cluster and the …
If you implement an own InputFormat to access a Cassandra database from Apache Flink, you could probably extend the RichInputFormat. The following example defines the entry point for the specification of an own InputFormat that …
The following commands and shell options are used with Cassandra 2.2 and 3.x. Increase Request Timeout for local database connection The following option increases the request timeout for the current session. Clear all former snapshots …
If you have to exchange data from Flink to Spark or Spark to Flink within Apache Zeppelin, you can use the InterpreterContext to store and reload data between the separated paragraphs. You can load the …
If you are working with Kafka and Zookeeper to create some test cases or for the work in bigger projects, you can install them directly from the respective project website or make an installation with …
If you have a GIT project and want to make a rebase and squash from your feature branch against the master branch, you can simplify the adaptation of the pick entries to s (squash) by …
The following error occured within a Docker environment that contains Apache Kafka and Zookeper and is managed by Confluentinc. It was a mess to find the solution. First, we checked the source code and the …