How to List Tags in Git

Tags in Git are a way to bookmark specific commits. This is often done to indicate different versions or releases of a project. To list the tags you have previously created in the current repository use: git tag. For repositories with many tags it may be useful to find tags by name. This is possible

read more

How to Create tags in Git

“Lightweight” tags in Git are simply pointers to specific commits. You can create a lightweight tag on the command line using: git tag <tag name>. This will create a local tag on the current branch. Listing Tags in Git To list the tags you have previously created use: git tag. For repositories with many tags

read more

How to Display Window Tabs in Linux Screen

screen is a Linux program that allows users to create and manage multiple terminal instances. Using tabs to visually track multiple terminal windows is very convenient and luckily not too hard to do. Screen Window Tabs Example Here is an example of how to display window tabs in Linux screen. Simply add the below line

read more

Using Input Forms with Shell Scripts – Apache Zeppelin

Apache Zeppelin is a fantastic open source web-based software that allows users to build and share great looking data visualizations using various languages. If you aren’t familiar with using the shell interpreter in Apache Zeppelin, see our related post Creating Graphs with the Zeppelin Shell Interpreter. Apache Zeppelin allows dynamic creation of text input forms

read more

Creating Graphs with the Apache Zeppelin Shell Interpreter

Using Apache Zeppelin’s shell (sh) interpreter is a great way to run and share shell scripts. This way you can use all your favorite command line tools like sed and awk to create great looking visualizations using Apache Zeppelin. By default your shell output will not be displayed in a tabular format or leverage Zeppelin’s

read more

Running Apache Zeppelin on Docker

Apache Zeppelin is a fantastic open source web-based notebook. Zeppelin allows users to build and share great looking data visualizations using languages such as Scala, Python, SQL, etc. Running Apache Zeppelin on Docker is a great way to get Zeppelin up and running quickly. Here are the basic steps: Pick an OS Zeppelin runs great

read more

How to Left Pad Numbers in AWK

Occasionally when working in a Linux/Unix environment comes the need to left pad numbers with zeros (add leading zeros to numbers). This is often done to make a series of numbers the same length. An example of doing this with awk can be seen below:

How to Stop all Running Docker Containers

People that work with Docker know it is easy to create a large number of containers. Occasionally you need to stop all running containers on your machine. This can be accomplished by using docker stop together with docker ps (using command substitution).

docker ps is used to list all running containers. The -q option

read more

How to Merge multiple commits in Git

The ability to merge multiple commits in Git is a huge plus. Merging commits requires “rebasing” which will essentially rewrite the project history appending commits onto the last commit (by default) in a different branch, or even to an earlier commit in the same branch. Rebasing can have some damaging effects, so be careful when

read more