Skip to content

Instantly share code, notes, and snippets.

View geokal's full-sized avatar

George Kal geokal

  • Fogus Innovations & Services
  • Athens, Greece
View GitHub Profile
@geokal
geokal / rss.xml
Created January 3, 2025 16:07 — forked from hervehobbes/rss.xml
rss feeds for .Net, C#, Asp.Net and so on
<?xml version="1.0" encoding="utf-8"?>
<opml version="1.0">
<head>
<dateCreated>Thu, 02 Jan 2025 07:55:02 +0000</dateCreated>
<title>Tiny Tiny RSS Feed Export</title>
</head>
<body>
</outline>
<outline text="Dot Net" ttrssSortOrder="0">
<outline type="rss" text=".NET Blog" xmlUrl="https://davecallan.com/feed/" ttrssSortOrder="0" ttrssPurgeInterval="0" ttrssUpdateInterval="0" htmlUrl="https://davecallan.com/"/>

Recipe: Persistent Network Configuration in WSL 2 using Hyper-V Virtual Switch

Problem Description

Connecting to services running in WSL 2 from external sources can be challenging due to the instances being on a different network. This guide offers a solution to replace the internal virtual switch of WSL 2 with an external version in Windows 20H2 (WSL 2.0) and configure it for better networking control.

Solution Overview

This recipe uses a Hyper-V virtual switch to bridge the WSL 2 network, providing improved control and visibility of Windows' network adapters within Ubuntu. The configuration supports both dynamic and static IP addressing, eliminating the need for port forwarding and simplifying network setup.

Steps

  1. Enable Hyper-V and Management PowerShell Features:
@geokal
geokal / Absolute-Bare-Minimum-Key-Bindings.md
Created June 15, 2025 19:42 — forked from arithex/Absolute-Bare-Minimum-Key-Bindings.md
Falcon BMS: Absolute Bare Minimum Key Bindings

[draft] Absolute Bare Minimum Keyfile for Falcon BMS [draft]

A one-page-cheat-sheet for pilots absolutely new to Falcon BMS

The BMS-Minimum.key file contains almost 500 keyboard command bindings -- that's way too much to digest, to get started working through the training missions.

Do you really need to memorize hundreds of keyboard commands, to fly the F-16? No. Taxi, takeoff, basic flight and navigation, comms, landing, even employing basic AA and AG weapons -- it's a lot to learn, but most of what you need can be accessed by clicking buttons and switches in the virtual cockpit, when needed.

Learning what those systems are, and how they work, is hard enough in itself -- you shouldn't have to memorize hundreds of arbitrary keyboard bindings that real pilots don't!