Category Archives: Linux

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: Sample: That’s it, Enjoy!

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: That’s it, Enjoy! Sources: VMware Official Docs

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

Script to grab sizes of GCP buckets

Prerequisites: 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 to a file: That’s it, Enjoy!

Posted in Linux | Tagged , , | Leave a comment

How to enable Python to craft packets and listen to ports less than 1024 without sudo

To be able to craft packets with Scapy, you have to either use sudo or allow setcap for your python environment. I don’t prefer to use sudo when working with my Anaconda environments, so I did the following: sudo setcap … Continue reading

Posted in Linux | Tagged , , | Leave a comment