Skip to content

Instantly share code, notes, and snippets.

View s4s0l's full-sized avatar

Marcin Wielgus s4s0l

View GitHub Profile
@christian-korneck
christian-korneck / virtmanager_win11_sata_to_virtio_migration.md
Last active January 23, 2025 08:11
virtmanager: switch windows vm boot disk from sata to virtio

I have a Windows 11 23H2 VM with a SATA boot disk running on virtmanager (KVM/Qemu) on Fedora 39 that I want to convert to a virtio disk.

  • in windows install virtio guest tools (download)
  • create cd drive and attach virtio iso (download)
  • shutdown vm
  • in virtmanager preferences, enable xml editing
  • in the vm disk settings, go to the xml tab, backup the existing xml and change it:

old:

@jalaziz
jalaziz / 70-ec2-nvme-devices.rules
Last active November 28, 2024 03:34
AWS EBS NVMe udev rules
# Copyright (C) 2006-2016 Amazon.com, Inc. or its affiliates.
# All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License").
# You may not use this file except in compliance with the License.
# A copy of the License is located at
#
# http://aws.amazon.com/apache2.0/
#
# or in the "license" file accompanying this file. This file is
@androidfred
androidfred / haskell_stack_and_intellij_idea_ide_setup_tutorial_how_to_get_started.md
Last active November 25, 2024 17:49
Haskell, Stack and Intellij IDEA IDE setup tutorial how to get started

Haskell, Stack and Intellij IDEA IDE setup tutorial how to get started

Upon completion you will have a sane, productive Haskell environment adhering to best practices.

Basics

  • Haskell is a programming language.
  • Stack is tool for Haskell projects. (similar tools for other languages include Maven, Gradle, npm, RubyGems etc)
  • Intellij IDEA IDE is a popular IDE.

Install required libraries

sudo apt-get install libtinfo-dev libghc-zlib-dev libghc-zlib-bindings-dev