This is a small Perl6 script that scans a folder for the .pdf documents and .url files to generate an application menu. This menu can reside in a menu bar such as that offered by Xfce's menubar panels. The script will also mimic the folder's subtree structure to create submenus. This provides immediate access to a large library of documents and links right from your desktop.
Perl6/Rakudo is really great at performing these sorts of fs-tree scan/visit algorithms, especially where it needs to actually parse certain files in order to scoop out the relevant contents.
The libvirt documentation gives an example of how to pass a device by its idVendor and idProduct numbers, but what if you have several devices with the same numbers?
This quick tip shows how to pass in a USB device using the "bus:device" address format.
Here we build a lightweight VM for kernel and device development by leveraging LVM's thin logical volumes. Thin volumes are easy to copy, destroy, and clone. They facilitate a "stateless" VM whose rootfs is immutable between runs -- like you'd see in a container environment.
Statelessness provides all the benefits of a sanitary development environment while still allowing us to pass in a guest kernel that we can recompile in the host.
Here's how to set it all up.
Blog entries are summarized by placards on the main blog page. Headings and fonts have been stylized.