Skip to content

Instantly share code, notes, and snippets.

View AndreaCovelli's full-sized avatar
🗺️
Around the world

Andrea Covelli AndreaCovelli

🗺️
Around the world
View GitHub Profile
@AndreaCovelli
AndreaCovelli / COMPATTELRUNNER-IFEO-README.md
Last active October 19, 2026 14:31
CompatTelRunner IFEO Block Manager

CompatTelRunner IFEO manager

This PowerShell script manages one Image File Execution Options (IFEO) redirection for processes named CompatTelRunner.exe. It deliberately does not modify Windows Update, SetupHost, TiWorker, MoUsoCoreWorker, DiagTrack, or other Windows servicing components.

Warning

IFEO is a debugging facility, not a supported Microsoft telemetry control. Blocking CompatTelRunner can affect compatibility assessment for Windows

@AndreaCovelli
AndreaCovelli / lenovo-uefi-kek-fwupd-fix.md
Last active August 17, 2026 13:53
Fix for Lenovo UEFI KEK CA update failing on fwupd

Handling fwupdmgr UEFI KEK CA Permission Denied on Lenovo Systems

When updating Secure Boot certificates on Linux, fwupdmgr may fail while writing a UEFI Key Exchange Key (KEK) update. This has been observed on systems such as the AMD-based Lenovo ThinkCentre M715q, but similar symptoms can occur on other Lenovo firmware and are not specific to AMD.

The Error

Running fwupdmgr upgrade --force may fail with:

Upgrade KEK CA from 2011 to 2023?
@AndreaCovelli
AndreaCovelli / android-sdk-ubuntu-setup.md
Last active October 19, 2026 14:26
Modern guide to setup Android SDK and Java on Ubuntu / Debian

Install and Configure Android SDK on Ubuntu / Debian

Modern guide to setting up Java (JDK) and the Android SDK command-line tools on Ubuntu or Debian to build Android projects using the Gradle Wrapper (./gradlew) without installing the full Android Studio IDE.


Step 1 — Install Java (JDK)

Modern Android development and the Android Gradle Plugin (AGP) rely on Java LTS versions. Install Java 21 (JDK) along with download and compression utilities:

@AndreaCovelli
AndreaCovelli / incus-install-guide.md
Last active November 13, 2026 13:02
Modern guide to install and configure Incus on Ubuntu and Debian

Install and Configure Incus on Ubuntu and Debian

Modern guide to installing and configuring Incus for managing system containers and Virtual Machines natively on Linux.

Incus is the community fork of LXD. It was started in August 2023, after Canonical took LXD out of the community-run Linux Containers project and made it an in-house Canonical project. It is maintained under the Linux Containers umbrella by much of the original LXD team, led by Stéphane Graber, and has become the open-source, community-driven standard for managing both system containers and Virtual Machines natively on Linux.


Part 1: Incus in the Virtualization Ecosystem

@AndreaCovelli
AndreaCovelli / docker-ubuntu-install.md
Last active October 19, 2026 15:06
Modern minimal Docker install on Ubuntu

Install Docker on Ubuntu

Minimal current Docker Engine install on Ubuntu Server using Docker's official apt repository.

Supports Docker's currently supported 64-bit Ubuntu releases and architectures. For the exact current list, check Docker's Ubuntu install page: https://docs.docker.com/engine/install/ubuntu/

Before installing

Remove conflicting distro or old Docker packages if they exist:

@AndreaCovelli
AndreaCovelli / wget-files.sh
Last active November 13, 2026 13:02
wget command to download all content of a folder with login credentials
wget --user=<username> --ask-password -r -l1 -np -nd -R "index.html*" <Parent Directory URL>/
# -r -l1 follow the links on the directory listing, one level deep only
# -np never ascend to the parent directory (the listing's "../" link)
# -nd save everything in the current directory, without recreating the remote folder tree
# -R "index.html*" drop the directory listing pages themselves after they've been parsed
# --ask-password prompt for the password, so it doesn't end up in your shell history
# or in the process list (`ps`), which --password=<password> would do
#
# End the URL with a trailing slash, otherwise -np treats the folder's parent as the starting point.