Category Archives: Linux

Docker file & compose for phpBB3

I needed a local instance to play around with phpBB, which I couldn’t find recent docker files for, so I just created my own. The below are the docker-compose.yml and Dockerfile for the latest version of phpBB as of now; … Continue reading →

Posted in docker, Linux | Tagged , , , , , | 2 Comments

If WSLg apps show a black screen!

You might have rendering issues with WSLg apps, especially in case you are using an Intel graphics card, like this: In that case, just configure an environment variable named LIBGL_ALWAYS_SOFTWARE and set it to 1. To persist it, add this … Continue reading →

Posted in Linux | Tagged , , , | Leave a comment

List all files and first level directories arranged by size on Linux

du -sh * | sort -hr Where: du -sh: Shows the sizes of files and directories in a human-readable format sort -hr: Sorts the output by size in human format, with the largest items at the top. Sample: That’s it, … Continue reading →

Posted in Linux | Tagged , | Leave a comment

Mount shared folder inside Kali Linux VM on VMware Workstation

Create a share from your Virtual Machine Settings, let’s call it shared_vm To make it permanent, add it to /etc/fstab as follows: Tested on the following environment: Host: Windows 11 Pro x86-64 Host Guest: Kali 2024.3 x86-64 Hypervisor: VMware Workstation … Continue reading →

Posted in Linux | Tagged , , , | Leave a comment

Script to grab sizes of GCP buckets

Prerequisites: Google Cloud SDK Installed & Configured For a simple script that just does the job and gets the sizes of all your buckets: For a more comprehensive script that picks a specific set of buckets and saves the output … Continue reading →

Posted in Linux | Tagged , , | Leave a comment