Skip to content

Instantly share code, notes, and snippets.

Read VMDK on Linux

VMDK is a virtual disk file from VMWare, reading without any "special" software is rather useful specially because I didn't want to install VMWare software

It's possible that this works with vhd and vhdx but I didn't test it... If someone does test it let me know

The steps are rather easy

Mounting VMDK

@numericOverflow
numericOverflow / btrfs-guide.md
Created November 10, 2025 00:43 — forked from MaxXor/btrfs-guide.md
Btrfs guide to set up an LUKS-encrypted btrfs raid volume with included maintenance & recovery guide

Encrypted Btrfs storage setup and maintenance guide

Initial setup with LUKS/dm-crypt

This exemplary initial setup uses two devices /dev/sdb and /dev/sdc but can be applied to any amount of devices by following the steps with additional devices.

Create keyfile:

dd bs=64 count=1 if=/dev/urandom of=/etc/cryptkey iflag=fullblock
chmod 600 /etc/cryptkey
@numericOverflow
numericOverflow / proxmox-unprivileged-lxc-coral-usb.md
Created April 21, 2025 23:09 — forked from marcinsu/proxmox-unprivileged-lxc-coral-usb.md
USB Coral TPU Passthrough for Unprivileged LXC in Proxmox

coral tpu, usb, proxmox, lxc container, unprivileged, docker, frigate, home assistant, debian, python


This guide is how I got a Coral TPU (USB) working in an unprivileged LXC container.

At the end, you should be able to use the Coral TPU for inferencing inside of an unprivileged LXC container as well as Docker containers within the LXC, such as Frigate.

This does NOT require privileged LXC or docker container.

@numericOverflow
numericOverflow / userDefineLang_Cypher.xml
Last active February 20, 2020 01:08 — forked from nicolewhite/userDefineLang_Cypher.xml
A Cypher syntax highlighter for Notepad ++.
<NotepadPlus>
<UserLang name="Cypher" ext="cypher" udlVersion="2.1">
<Settings>
<Global caseIgnored="yes" allowFoldOfComments="yes" foldCompact="no" forcePureLC="0" decimalSeparator="0" />
<Prefix Keywords1="no" Keywords2="no" Keywords3="no" />
</Settings>
<KeywordLists>
<Keywords name="Comments">00// 01 02 03// 04</Keywords>
<Keywords name="Operators1">( ) , = : [ ] { }</Keywords>
<Keywords name="Folders in comment, open">CASE</Keywords>
@numericOverflow
numericOverflow / Ubuntu Kernel Upgrader Script
Last active September 3, 2017 15:42 — forked from mentrelli/Ubuntu Kernel Upgrader Script
Asks the user whether they want to install the latest RC or stable, then downloads the correct kernel and installs it.
#!/bin/bash
# Ubuntu_Kernel_Upgrader_Script
# Forked from https://gist.github.com/mmstick/8493727
#set -x
rc=n # release candidate
lowlatency=n # low latency
verbose=n # be verbose
@numericOverflow
numericOverflow / vpn-auto-reconnect.sh
Last active February 4, 2022 09:05 — forked from antoniy/vpn-auto-reconnect.sh
Auto reconnect to OpenVPN via NetworkManager
#!/bin/bash +x
# Source: http://www.gabsoftware.com/tips/automatically-reconnect-to-your-vpn-on-linux/
# Description:
# Make the script executable "chmod +x /path/to/the/script.sh
# Put the script in .profile or .bashrc so it can be run on user login:
# Example: echo "/path/to/the/script.sh start &" >> .bashrc
# The script can be bound to shortcut keys with these commands:
# /path/to/the/script.sh start # starts and monitors VPN connection