Skip to content

Instantly share code, notes, and snippets.

View stuartmaxwell's full-sized avatar
👍

Stuart Maxwell stuartmaxwell

👍
View GitHub Profile
@gornostal
gornostal / fix.md
Last active November 28, 2025 04:45
Intel BE200 Wi-Fi Resume Fix on Ubuntu 25.10

Intel BE200 Wi-Fi Resume Fix on Ubuntu 25.10

This guide documents the suspend/resume Wi-Fi failure observed on a Lenovo IdeaPad running Ubuntu 25.10 desktop and walks through the exact remediation steps that were validated on October 27, 2025. Use it after a fresh OS install or kernel update if the problem reappears.

1. Problem Overview

  • Hardware: Lenovo IdeaPad Pro 5-14IAH10 with Intel BE200 (Wi-Fi 7) controller at PCI address 0000:01:00.0 (device id 8086:272b).
  • Kernel Symptom: After resuming from suspend (s2idle), the wireless adapter stays in PCI power state D3cold and never returns, leaving wlp1s0f0 unavailable. Logs show:
    • Unable to change power state from D3cold to D0, device inaccessible
  • timeout waiting for FW reset ACK followed by repeated firmware crashes.
@cuibonobo
cuibonobo / Large-app-how-to.md
Last active March 6, 2024 18:40
How to structure a large application in Flask. Taken from the Flask wiki: https://github.com/mitsuhiko/flask/wiki/Large-app-how-to

Here's an example application that uses the pattern detailed below: https://github.com/tantastik/talent-curator


This document is an attempt to describe the first step of a large project structure with flask and some basic modules:

  • SQLAlchemy
  • WTForms

Please feel free to fix and add your own tips.

@willurd
willurd / web-servers.md
Last active December 9, 2025 14:34
Big list of http static server one-liners

Each of these commands will run an ad hoc http static server in your current (or specified) directory, available at http://localhost:8000. Use this power wisely.

Discussion on reddit.

Python 2.x

$ python -m SimpleHTTPServer 8000