Skip to content

Instantly share code, notes, and snippets.

View DamianEdwards's full-sized avatar
🏠
Working from home

Damian Edwards DamianEdwards

🏠
Working from home
View GitHub Profile
@sajayantony
sajayantony / README.md
Created February 18, 2026 18:55
ACR Purge Task: Keep last N images per repository (Bicep + Bash workflow)

ACR Image Purge — Keep Last N Images

Automated cleanup for Azure Container Registry repositories. Deploys a scheduled ACR task that retains only the last N images per repository and deletes the rest.

How It Works

The ACR task uses the built-in acr purge command with:

Flag Value Purpose
@fryfrog
fryfrog / Android-SHIELD Android TV.xml
Last active May 2, 2025 15:54
A customized Plex profile for the Nvidia Shield, which goes in ./Library/Application Support/Plex Media Server/Profiles/
<!-- Put in ./Library/Application Support/Plex Media Server/Profiles/Android-SHIELD Android TV.xml -->
<!-- Author: Donald Webster fryfrog@gmail.com -->
<?xml version="1.0" encoding="utf-8"?>
<Client name="SHIELD Android TV">
<Identification>
<Header name="User-Agent" substring="SHIELD Android TV" />
</Identification>
<TranscodeTargets>
<VideoProfile container="mkv" codec="h264" audioCodec="aac" context="streaming" />
<MusicProfile container="flac" codec="flac" id="StereoMusicTranscodeProfile" />