Skip to content

Instantly share code, notes, and snippets.

@catsocks
catsocks / Virtualizing Windows 10 on Fedora 30.md
Last active October 16, 2023 02:29
Virtualizing Windows 10 on Fedora 30

Virtualizing Windows 10 on Fedora 30

My experience virtualizing Windows 10 on a newerly installed and released Fedora 30 using GNOME Boxes, VirtualBox, and VMware Player, all available for free.

  • Make sure your hardware supports virtualization.
  • Enable virtualization capabilities in your BIOS.
  • Get a Windows 10 ISO from Microsoft's Download Windows 10 page. You may not be able to download the ISO directly from this URL in case you access it from a Windows computer, though this may easily be circumvented by changing your browser's user agent to one of a non-Windows computer. Make sure the ISO has been downloaded successfuly after it has finished.

GNOME Boxes

@catsocks
catsocks / inzanozulu.cl
Last active October 2, 2020 16:33
inzanozulu's Common Lisp tutorial
;;;; Code that I wrote following the Common Lisp tutorial by inzanozulu on
;;;; Youtube.
;;;;
;;;; Use the SBCL Common Lisp compiler and Emacs with the SLIME third-party
;;;; package to interactively evaluate this code.
;;;;
;;;; Most of this code is also valid Emacs Lisp code which the built-in Lisp
;;;; Interaction mode in Emacs can interactively evaluate.
;;; Lisp stands for list processing and a Lisp program is made up of forms
@catsocks
catsocks / sea.py
Last active March 14, 2023 22:07
Animated drawing of the sea with the sun and clouds moving at the top and blue waves at the bottom. Made with the Pyxel retro game engine.
"""
Draw a really simple animated picture of the sun with moving clouds on the top and blue
waves on the bottom with the Pyxel retro game engine.
"""
import math
import time
import pyxel
WIDTH = 160
HEIGHT = 120
@catsocks
catsocks / night_ride.py
Last active March 14, 2023 22:06
Animated drawing of a night sky with the moon and clouds moving at the top, trees moving at the bottom, and moving lamp posts. Made with the Pyxel retro game engine.
"""
Draw a really simple animated picture of a night sky with the moon and moving clouds on
the top, moving trees on the bottom and a moving lamp post with the Pyxel retro game
engine.
"""
import math
import time
import pyxel
WIDTH = 160
@catsocks
catsocks / tonegen.c
Last active January 28, 2021 00:58
A very simple square wave tone generator I made to create sound effects for a game using the SDL cross-platform multimedia library, with no dynamic allocations or VLAs.
// A very simple square wave tone generator I made to create sound effects for
// a game using the SDL cross-platform multimedia library, with no dynamic
// allocations or VLAs.
//
// cc tonegen.c -std=c99 -Wall -Wextra -pedantic -lm $(sdl2-config --cflags
// --libs)
#include <SDL.h>
// Unnecessary if you're compiling with GNU extensions or MSVC with
// _USE_MATH_DEFINES.