Skip to content

Instantly share code, notes, and snippets.

View dilirity's full-sized avatar
🎸
...and his music was electric

Peter Petrov dilirity

🎸
...and his music was electric
View GitHub Profile
@ecto1a2003
ecto1a2003 / play_plex_media_using_assist.yaml
Last active December 7, 2025 13:58 — forked from freakshock88/play_plex_media_using_assist.yaml
play_plex_media_using_assist.yaml
blueprint:
name: Play Plex media using Assist
description: >
Play any Plex media on a media player of your choice.
The media player has to support this action.
domain: automation
input:
button:
name: plex rescan button
description: Button that initiates rescan on target plex server
@krisbolton
krisbolton / fix-USB-showing-up-as-two-partitions.md
Last active November 8, 2025 10:43
How to fix a USB drive showing up as two drives (fragmented into multiple partitions) on Windows

How to fix a USB drive showing up as two drives (fragmented into multiple partitions) on Windows:

  1. Hold the Windows key and press X, select PowerShell (Admin), select Yes to the pop-up. You can also use Command Prompt.
  2. In the Powershell interface type diskpart to enter the disk partition tool.
  3. Type list disk to see all disks listed.
  4. Select the USB drive by typing select disk [NUMBER]. Be careful to select the correct drive.
  5. Type clean. An error will occur if you have the drive folder open, close the window and repeat the command if this happens.
  6. Type create partition primary.
  7. Type format fs=ntfs quick to format the drive (you can also choose to set fs=fat32).
  8. Type active.