FUN WITH LINUX

Recording terminal-sessions

13 June 2016

Recording any terminal session to a gif is easy. I use ttyrec to record a session and ttygif to convert it to GIF.

Read more..
Starting vim in english

13 June 2016

There are plenty of settings for the language in vim. Regarding to vim’s documentation there is a very simple way to set the language for a vim-session to english:

env LANG=en_US.UTF-8 vim
Read more..
End-To-End-Encryption for messengers

3 June 2016

End-To-End-Encryption is nothing new. With messengers like Whatsapp or Telegram it’s again an issue. If E2E-Encryption means that nobody but the endpoints are able to encrypt the messages, then how is this feature implemented so seamlessly?

Read more..
Perf - More than just counters

20 May 2016

Perf is a profiler tool for Linux 2.6+ based systems that abstracts away CPU hardware differences in Linux performance measurements and presents a simple commandline interface. Perf is based on the perf_events interface exported by recent versions of the Linux kernel. This article demonstrates the perf tool through example runs.

Read more..
Duplicity: restore the state of a file from a specific date

19 May 2016

Duplicity is a powerful backup-tool for encrypted incremental backups to a local or a remote storage. In this article I will show how to recover a state of a file from a specific time…

Read more..
Git: Comparing a local branch with a remote branch

4 May 2016

Sometimes we want to review the differences between the remote repository and the local one.

Read more..
Reading out BIOS-Information

2 May 2016

If you want to find out some informations about your BIOS or if your machine has a raid-controller, you can use the following command:

Read more..
Simple WebApp-Stress-Tool

22 April 2016

I wrote a simple webapp-stress-tool. Simulty is a very simple webapp-stress-tool. It reads random urls from a file and executes multiple get-requests simultaneously to them.

Read more..
Setup LXC-Container in Debian Jessie

10 April 2016

LXC-Containers are very useful. They are more leightweight than virtual machines and not as static as docker-containers. That’s why I like them especially for my server environments. In this article I will show a very basic setup of LXC-Containers on Debian Jessie.

Read more..
Shorewall: setup Geo-IP filtering

6 April 2016

shorewall - iptables made easy

Sometimes it is neccessary to filter packets based on their geo-ip location. Shorewall can make use of the xt_geoip-module for iptables. In this article I will explain how to setup this module on Debian.

Read more..
Except where otherwise noted, content on this site is licensed under a Creative Commons Attribution 3.0 Unported License.

Copyright 2015-present Hoti