Skip to content

Instantly share code, notes, and snippets.

@metalefty
metalefty / vm-completion.zsh
Last active February 26, 2025 09:49
Zsh completion for vm-bhyve
#compdef vm
# Copyright (c) 2025, Koichiro Iwao (metalefty) <meta@FreeBSD.org>
# SPDX-License-Identifier: BSD-2-Clause
#
# vim: ts=4 sw=4 expandtab
_vm()
{
@1oh1
1oh1 / optiplex-3060-enable-pcie3.md
Last active November 9, 2026 19:14
Dell OptiPlex 3060 - Enable NVMe Gen 3 speeds (Enable PCIe 3.0)

Enable PCIe 3.0 speeds for NVMe SSDs on Dell OptiPlex 3060

Out of the box, any M.2 NVMe SSDs connected to the Dell OptiPlex 3060 runs at PCIe Gen 2.0 speeds (Max 5 GT/s; 2 GB/s) so the speed tests look like this:

screen1

However, after this BIOS mod, the SSD can reach PCIe Gen 3.0 speeds (Max 8 GT/s; 3.9 GB/s) so the speed tests look like this:

screen2

@sxiii
sxiii / README-Remove-Locales.md
Last active November 29, 2025 21:09
Remove Unnecessary Locales Fedora

Small guide that helps to free up space by removing unneccessary locales from Fedora
With some additional information on how to make more space on your system (advices in the end)
Tried on Fedora 34, but should work on other distros as well (RPM-Based?)

Step 0. Bonus step -- check available space before procedure:

df -lh

Step 1. Enter the locales directory

cd /usr/share/locale/

Step 2. Check that there is files to remove

ls