/images/avatar.webp

Read, in the Name of your Lord Who created. created humans from a clinging clot. Read! And your Lord is the Most Generous. Who taught by the pen.

Git Initial Setup

How to configure Git Git is a version control system by Linus Torvalds, same person who wrote linux kernel. Installation In Archlinux, you can install git by: 1 $ sudo pacman -S git In Debian and derived distributions: 1 $ sudo apt install -y git Configuration You have to tell git about the author who committed changes so lets do it. Name and Email Tell git about your name and email:

How to set FQDN in Linux

What is FQDN? FQDN stands for Fully Qualified Domain Name. It’s complete domain name for a computer or host on the internet. FQDN is made of two things: hostname and domain name. Let me give you an example for demonstration. FQDN for my mail server is myemailserver.abdullah.today. The hostname is myemailserver. The domain is abdullah.today. Requirements You will need: IP Address Hostname FQDN Edit hosts file Edit the /etc/hosts file and append this like this.

TMUX

TMUX tmux is a terminal multiplexer. You can run programs inside a tmux session, detach session and continue running programs in background, reattach later. Installation tmux is available in all linux distributions. You can install it using your distribution’s package manager. In Arch Linux: 1 $ sudo pacman -S tmux Start You can start tmux by invoking tmux command inside your terminal. Keybindings The default modifier key is Ctrl + b followed by a key.

git Cherry Pick

Git cherry-picking Aah picking cherries! ❤️ I’m using git since I started using linux. Cherry-pick is one of those commands I do alot with git. Right now I’m preparing a new cherry and will pick it later. 😉 What’s cherry-pick? According to man(1) git-cherry-pick: 1 2 3 4 Given one or more existing commits, apply the change each one introduces, recording a new commit for each. This requires your working tree to be clean (no modifications from the HEAD commit).

Multihead with BSPWM and Polybar

Multihead A few days ago, I relocated myself to new room. Actually this room I use for summer as its way cooler than others. I have a wall-mounted LCD monitor here so today I thought I should share how I do multi screening. Hardware I have this lenovo X series machine which is my main machine I use. Its resolution is 1920x1080. The second one is a LCD monitor. And the resolution is 1280x1024.

BSPWM

BSPWM BSPWM is a tiling window manager that represents windows as the leaves of a full binary tree. It has support for EWMH and multihead. Installation bspwm is available in almost all major distributions. If you can’t find it in your OS, clone the repository and build it. Configuration bspwm uses sxhkd for keyboard shortcuts. It has no other way to handle with keyboard input and instead provides bspc program as its interface.