Skip to content

Instantly share code, notes, and snippets.

@brozkeff
brozkeff / crowdstrike-falcon-sensor-bsod-2024-07-19-workaround.bat
Created July 19, 2024 12:26
Workaround script to rename offending C-00000291*.sys files of Crowdstrike Falcon causing BSOD
@echo off
setlocal enabledelayedexpansion
:: Script to unfuck BSOD loop on Windows stations affected by Crowdstrike Falcon sensor screwed up update on 2024-07-19
:: by renaming C-00000291*.sys files in C:\Windows\System32\drivers\CrowdStrike
:: Reddit megathread: https://www.reddit.com/r/crowdstrike/comments/1e6vmkf/bsod_error_in_latest_crowdstrike_update/
:: Quick and dirty solution by Martin Brozkeff Malec (brozkeff.net) with the help of ChatGPT
:: Blog article:
:: https://www.brozkeff.net/2024/07/19/black-friday-2024-07-19-crowdstrike-falcon-edr-bsod-fuckup-workaround-batch-script-in-windows-safe-mode/
@brozkeff
brozkeff / convert_zpevnik_xml_to_single_txt.py
Created September 7, 2024 14:28
Převod export.xml Zpěvníku od Karla Hovorky (https://dev.zpevnik.eu/) do samostatných TXT souborů
"""
This Python script processes an XML file that contains multiple songs with lyrics and chords,
extracting song information and converting each song into separate `.txt` files. The output files
are named based on the `author` and `title` fields found in the XML and placed in a `txt`
subfolder.
Key Features:
- Extracts the `author`, `title`, `step`, and `songtext` fields from each song in the XML.
- Writes the following content to each text file:
- First line: "author - title"