Create GitLab Project/Repository from Command Line

In GitLab you can create a new project/repository not only through a user interface, but also from the command line.

When you create a new local Git repository and then push it to GitLab, if this repository doesn’t exit there, the corresponding project for it will be created automatically.

This short note shows how to create a new project/repository on GitLab from the command line. (more…)

Outlook: Reply With Attachments

In Microsoft Outlook when you “Reply” or “Replay all” to an email with attachments, by default, these attachments are not included automatically in the reply like they are during email forwarding.

To include the attachments in the reply you can click on “Forward” and then type in all recipients back, but this is not the most efficient way.

In this note i will show the best way of how to “Reply” or “Replay all” with attachments in Microsoft Outlook. (more…)

QR Code Generator – Windows, Linux, MacOS

A QR code generator is an application which creates and stores different types of data in a QR code image file.

A qrencode is a free command line tool for encoding string data in the QR code and saving it as a PNG or an EPS image.

In this note i will show how to install and and how to use (with examples) the qrencode on Windows, Linux and MacOS from the command line. (more…)

Transmission: Disable Seeding

To permanently stop seeding in Transmission, simply go to “Edit” → “Preferences” and follow the instructions below.

This will make Transmission automatically stop seeding when it completes a download.

In this article you’ll find step-by-step instructions on how to completely disable seeding in Transmission and how to stop seeding after download. (more…)

Redirect `STDERR` to `STDOUT` 2>&1

Any command executed in Bash or any other Linux shell, has one input stream (stdin) and two kinds of output streams: standard output (stdout) and standard error (stderr).

Each of these streams is represented by a numeric file descriptor:

  • 0stdin, the standard input stream
  • 1stdout, the standard output stream
  • 2stderr, the standard error stream

There is an advantage in separating the stdout and stderr streams, as it allows to redirect/pipe a command’s output (stdout) to a file or anther command and still see any error messages (stderr) in the terminal.

But sometimes it is required to redirect the stderr stream to stdout or redirect the both stderr and stdout to a file or to /dev/null and in this note i am showing how to do this. (more…)

Wget: Keep Original Filename

If you try to download a file over HTTP/HTTPS provided by a dynamic link or through a chain of 301, 302 redirects, wget would normally save the file using a part of the URL that you’re using.

At the same time, if you use this URL to download the file in a browser, it will be downloaded and saved with its original name.

In this note i will show how to force wget to preserve the original filename and save it with its actual name. (more…)