Skip to content

Instantly share code, notes, and snippets.

View pythoninthegrass's full-sized avatar

pythoninthegrass

View GitHub Profile
@pythoninthegrass
pythoninthegrass / distrobox.conf
Created March 30, 2025 18:25
Distrobox config ~/.config/distrobox/distrobox.conf
container_always_pull="1"
container_generate_entry=0
container_manager="docker"
container_image_default="registry.fedoraproject.org/fedora-toolbox:latest"
container_name_default="distrobox-default"
container_user_custom_home="$HOME/.config/distrobox/home"
# container_init_hook="~/.local/distrobox/a_custom_default_init_hook.sh"
# container_pre_init_hook="~/a_custom_default_pre_init_hook.sh"
non_interactive="1"
skip_workdir="0"
@pythoninthegrass
pythoninthegrass / preseed.yml
Created April 18, 2025 15:43
lxd init preseed config
config:
core.https_address: '[::]:8443'
networks:
- config:
ipv4.address: auto
ipv6.address: auto
description: ""
name: lxdbr0
type: ""
project: default
@pythoninthegrass
pythoninthegrass / Ubuntu_Vagrant_libvirt.md
Created May 12, 2025 16:57 — forked from PaulNeumann/Ubuntu_Vagrant_libvirt.md
How to Install the Vagrant libvirt Provider on Ubuntu 22.04.2 LTS Desktop or Server

How to Install the Vagrant libvirt Provider on Ubuntu 22.04.2 LTS (and above) Desktop or Server

This document describes how to install the Vagrant libvirt provider on Ubuntu 22.04.2 LTS Desktop or Server. Much of the content is based on a blog post by Philippe Vanhaesendonck of Oracle Corp. describing how to set up the Vagrant libvirt provider on Oracle Linux.

All of the commands shown should be run in a terminal window or SSH session.

Before You Start

Verify That Your CPU Supports Hardware Virtualization

@pythoninthegrass
pythoninthegrass / scratch.go
Last active May 14, 2025 02:38
llm generated iris rest server to make gql requests
package main
import (
"context"
"fmt"
"net/http"
"strings"
"github.com/kataras/iris/v12"
"github.com/thepolyglotdeveloper/graphql"
@pythoninthegrass
pythoninthegrass / drugwars.cpp
Created May 16, 2025 14:57 — forked from gbowne1/drugwars.cpp
ghmiranda-drug-wars-fix
#include <iostream>
#include <vector>
#include <map>
#include <memory>
enum class Objects {
Acid,
Weed,
Speed,
Cocaine,
@pythoninthegrass
pythoninthegrass / drugwars.txt
Created May 16, 2025 15:02 — forked from mattmanning/drugwars.txt
Drugwars for the TI-82/83/83+ Calculators
Lbl G
ClrHome
Disp " J.M.'S DRUGWAR"," SIMULATION",""," VERSION 2.00",""," JUST SAY NO."
2000→Z
5000→Y
0→V
100→K
1→B
2→N
0→I
@pythoninthegrass
pythoninthegrass / .env.example
Last active November 18, 2026 07:18
Claude code / desktop settings
# BookStack API Configuration
BOOKSTACK_BASE_URL=
BOOKSTACK_API_TOKEN=
BOOKSTACK_TIMEOUT=30000
# Server Configuration
SERVER_NAME=bookstack-mcp-server
SERVER_VERSION=1.0.0
SERVER_PORT=3000
@pythoninthegrass
pythoninthegrass / config.toml
Last active December 1, 2026 18:34
mise config
[settings]
disable_backends = ["dotnet"]
idiomatic_version_file_enable_tools = []
[settings.pipx]
uvx = true
[settings.python]
compile = false
@pythoninthegrass
pythoninthegrass / zellij.kdl
Created June 9, 2025 20:37
zellij config
theme "tokyo-night"
default_layout "compact"
on_force_close "quit"
@pythoninthegrass
pythoninthegrass / nvidia_error43_fixer.ps1
Created June 12, 2025 02:39
Refactor nando4eva's batch script to use powershell w/error handling
# Script: nvidia-error43-fixer.ps1
# Author: (C) 2018-2021 nando4eva@ymail.com (Converted to PowerShell by @pythoninthegrass)
# Homepage: https://egpu.io/nvidia-error43-fixer
param(
[switch]$Force
)
# Check if running as administrator
function Test-Administrator {