Make nvim-tree width dynamic May 26, 2025
Antre du Tryphon
Search

Make nvim-tree width dynamic

May 26, 2025 · admin Unix Ubuntu Ubuntu 20.04 NVIM
Create a file named ~/.config/nvim/lua/plugins/nvim-tree.lua and put the following content:

Create a swap file on Linux

March 26, 2025 · admin Unix Ubuntu Linux Raspberry PI MAC OS X Raspbian
The simple following steps will create a swap file. Swap files are used when the operating system need more memory. It uses the swap space as memory. Its usage shall be limited, since a swap space is less efficient than memory. It will save you a memory upgrade if it is need seldomly.

How to create a SSL tunnel

December 29, 2024 · admin Unix Ubuntu Linux Debian SSH
This blog post assumes that ssl is already installed.

Mount a BitLocker partition on a Linux system

September 10, 2023 · admin Unix Ubuntu Linux Debian MAC OS X
This post explains how to mount a BitLocker partition on a Linux system. You'll need the BitLocker recovery key to do so, along with the device file (/dev/sd?) of the BitLocker encrypted partition. The post http://www.ctheroux.com/mount-a-partition-from-a-full-disk-image-file-on-linux/ shows how to create one if the partition is within a full disk image file.

Mount a partition from a full disk image file on Linux

September 9, 2023 · admin Unix Ubuntu Linux Debian MAC OS X
This post explains how to mount a partition from a disk image file on a Linux system. Such a file may have been created using the dd command. The disk image file in this example is named windowsws.img. This is the image of a disk that contains a Windows system. Let's say we want to mount the partition that contains the OS and the user's file.

Linux whole data disk encryption

September 4, 2023 · admin Unix Ubuntu Linux Debian MAC OS X
This post give the main steps to achieve full data disk encryption. The disk password will be required during boot time. You will need the device name of the disk to perform this procedure. MAKE SURE YOU HAVE THE RIGHT DEVICE NAME. OTHERWISE, YOU WILL LOSE DATA!!! We will use the device /dev/sdz below. This procedure is valid only for data disk.

How to create an encrypted file and open it

September 3, 2023 · admin Unix Ubuntu Linux Debian MAC OS X
You'll find in this post the basic steps to create an encrypted luks file and open it. You'll need to perform the following steps to create it:

Script to create a shared git project

July 2, 2016 · admin Unix Ubuntu Linux GIT
This script creates a git project to be shared among the users of the Unix group $GIT\_GROUP. Every git project will be created into the directory $REPOSITORIES\_BASE\_DIR.

Port forwarding using SSH

June 26, 2016 · admin Unix Ubuntu SSH
SSH port forwarding let you connect to a server using another server a relay. For example, if you host a web server in a DMZ behind your office router, you will not be able to access it using its public URL if your workstation is behind the same router. You can easily implement a workaround if you have access to a server on the Internet. Issue this command on one of the machines connected on the same network as your workstation.

How about a Raspberry PI 2 as a firewall?

August 26, 2015 · admin Unix Raspberry PI Wheezy Networking
A Raspberry PI 2 performs as expected exceptionally well as a firewall. The download throughput achieved was 33 Mbits/sec under the same test conditions as the previous test (see Can A Raspberry PI Be Used As A Firewall? for more details). The CPU usage was about 5% during the download test. The CPU usage was around 2% while performing the upload test.