Skip to content

Instantly share code, notes, and snippets.

View buswedg's full-sized avatar
🎯
Focusing

Darryl Buswell buswedg

🎯
Focusing
View GitHub Profile
@buswedg
buswedg / disable_hypervisor_and_vbs_on_win11.md
Last active April 27, 2026 21:54
Disable Hyper-V and VBS on Windows 11

Disable Windows Hypervisor (Hyper-V) and Virtualization Based Security (VBS) on Windows 11

What?

Steps to completely disable the Windows Hypervisor and Virtualization Based Security (VBS) features on Windows 11.

Why?

Disabling the hypervisor can improve performance on gaming-focused machines and is often necessary when using low-level system tools or alternative virtualization software that conflicts with Hyper-V.

YubiKey for FIDO2 Auth on WSL2 (Ubuntu)

What?

I got my hands on a new YubiKey 5 over the weekend. For those unaware, this is a pretty well-known security key which provides options for hardware authentication using a variety of different protocols (e.g. FIDO2, OpenPGP etc.). I was keen to try this out for authenticating with GitHub and also handling SSH credentials when accessing servers I'm running on my local network.

The problem however, is that I'm a pretty heavy WSL (Ubuntu) user and needed something which plays well in that environment. I didn't think about it too much when I initially ordered the YubiKey, but worked out over the weekend that getting a USB device (particularly a security key) to play nicely with WSL, isn't exactly straight forward. So, I did a write-up of the steps I ended up taking for others (or myself) to refer back to.

References

@buswedg
buswedg / rebuilding_win11_machine_from_scratch.md
Last active April 27, 2026 20:27
Rebuilding a Windows 11 Machine from Scratch

Rebuilding a Windows 11 Machine from Scratch

What?

My very opinionated view of how to build a Windows 11 machine (from completely fresh OS install), with a focus on privacy and reduced bloat.

Why?

I normally rebuild my Windows machines a couple times a year. I've learnt various things along the way and would like to have something laid out that I can consistently follow. So, I'm going to use this guide for my own reference but also share it for anyone interested.

@buswedg
buswedg / helpers.py
Created August 28, 2021 20:36
building_feature_engineering_pipelines\numeric_prediction_using_pipelines
import numpy as np
import sklearn.base
from sklearn import metrics
class transform_predict(sklearn.base.BaseEstimator, sklearn.base.TransformerMixin):
def __init__(self, clf: sklearn.base.BaseEstimator):
self.clf = clf
@buswedg
buswedg / digital_ocean_class.ipynb
Created August 15, 2020 20:47
having_fun_with_docker_and_digital_ocean_api\digital_ocean_class
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@buswedg
buswedg / abs_economic_series_pull.ipynb
Created April 14, 2020 19:47
pulling_economic_data_using_pandasdmx\abs_economic_series_pull
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@buswedg
buswedg / supervised_learning_revisited.ipynb
Created April 14, 2020 00:02
predicting_motogp_winners_revisited\supervised_learning_revisited
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@buswedg
buswedg / unsupervised_learning.ipynb
Created April 14, 2020 00:01
predicting_motogp_winners_revisited\unsupervised_learning
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@buswedg
buswedg / supervised_learning.ipynb
Created April 13, 2020 03:26
predicting_motogp_winners\supervised_learning
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.