Skip to content

Instantly share code, notes, and snippets.

View agirault's full-sized avatar
👨‍💻

Alexis Girault agirault

👨‍💻
View GitHub Profile
#!/bin/bash
set -eu
function current_kernel_version() {
uname -r | sed -r 's/-[a-z]+//'
}
function kernels() {
dpkg -l linux-{image,headers,modules,hwe,modules-extra}-"[0-9]*" | awk '/ii/{print $2}'
}
@agirault
agirault / ooni_pizza_dough.md
Last active April 21, 2025 23:55
🍕 Ooni dough recipe

Classic Slow-Ferment Ooni Pizza Dough

Ingredients

Ingredient Quantity
Flour (00 or bread/all-purpose) 875g (about 7 cups)
Water 525g (2 1/4 cups) for 00 flour (60% hydration) / 569g (2 1/3 cups) for bread/AP flour (65% hydration)
Salt 17.5g (3 tsp or 1 tbsp + 1 tsp)
Active Dry Yeast 3.5g (about 1 tsp)
@agirault
agirault / cuda_sm_compatibility_matrix.md
Last active November 13, 2025 05:10
CUDA GPU Compute Capability - Compatibility
@agirault
agirault / list_docker_cache_mounts.sh
Last active December 12, 2025 18:03
List docker cache mount names, location, and true file system size
#!/bin/bash
# SPDX-FileCopyrightText: Copyright (c) 2025 Alexis Girault. All rights reserved.
# SPDX-License-Identifier: Apache-2.0
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#