Skip to content

Instantly share code, notes, and snippets.

View vladimir-poleh's full-sized avatar

Vladimir Poleh vladimir-poleh

View GitHub Profile
@marhensa
marhensa / windows-11-25H2-local-account-workaround.md
Last active November 26, 2025 21:36
Windows 11 25H2 Local Account Workaround (Proper)

Windows 11 25H2 Local Account Workaround (Proper)

After installing Windows to a partition and then after the automatic reboot:

When the installation screen shows "Is this the right country or region?" press: Shift + F10

In the Command Prompt, type the following commands:

(change vboxuser to your username)

@marfillaster
marfillaster / unifi_container_rb5009.md
Last active June 15, 2025 08:43
Running Unifi Network Controller as a container in MikroTik ROSv7 RB5009

Requirement

  • USB flash drive - this is where the container filesystem will be persisted

Set-up docker bridge network

/interface bridge add name=docker

Set-up veth to be used by container

@pikhovkin
pikhovkin / weasyprint_complex_headers.py
Last active October 8, 2024 04:49
Repeat on each page of complex headers (eg, tables) except the first page
# coding: utf-8
from weasyprint import HTML, CSS
def get_page_body(boxes):
for box in boxes:
if box.element_tag == 'body':
return box