<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
<channel>
  <title>Command Crate</title>
  <link>https://durad.xyz/projects/command-crate/</link>
  <description>A personal archive of commands for everyday tasks.</description>
  <language>en</language>
  <lastBuildDate>Fri, 06 Mar 2026 23:00:00 -0000</lastBuildDate>
  <image>
    <url>https://durad.xyz/projects/command-crate/rss-icon.png</url>
    <title>Command Crate</title>
    <link>https://durad.xyz/projects/command-crate/</link>
  </image>
  <ttl>1440</ttl>
  <atom:link href="https://durad.xyz/projects/command-crate/feed.xml" rel="self" type="application/rss+xml" />

  <item>
    <title>awk -F'[&lt;&gt;]' '/&lt;loc&gt;/ {print $3}' sitemap.xml</title>
    <link>https://durad.xyz/projects/command-crate/index.html#751461d8</link>
    <description>Extracts raw URLs from a standard XML sitemap with awk. Matches and captures text strictly between &lt;loc&gt; tags.</description>
    <guid isPermaLink="false">tag:2026-02-12:cmd-751461d8</guid>
    <pubDate>Thu, 12 Feb 2026 22:00:00 -0000</pubDate>
  </item>

  <item>
    <title>sed -n 's/.*&lt;loc&gt;\(.*\)&lt;\/loc&gt;.*/\1/p' sitemap.xml</title>
    <link>https://durad.xyz/projects/command-crate/index.html#5883ea00</link>
    <description>Extracts raw URLs from a standard XML sitemap. Matches and captures text strictly between &lt;loc&gt; tags, replacing the entire line with the URL. Works on FreeBSD/BSD sed.</description>
    <guid isPermaLink="false">tag:2026-02-12:cmd-5883ea00</guid>
    <pubDate>Thu, 12 Feb 2026 22:00:00 -0000</pubDate>
  </item>

  <item>
    <title>top -o res</title>
    <link>https://durad.xyz/projects/command-crate/index.html#72f05a09</link>
    <description>Sorts FreeBSD process list by resident set size (RSS, physical RAM). Essential for ignoring misleading virtual memory (&#x27;SIZE&#x27;) stats, which often show terabytes of reserved address space for electron/Go apps. &#x27;RES&#x27; reveals the actual physical memory cost.</description>
    <guid isPermaLink="false">tag:2026-02-09:cmd-72f05a09</guid>
    <pubDate>Mon, 09 Feb 2026 22:00:00 -0000</pubDate>
  </item>

  <item>
    <title>magick gshock-gw-m5610u-1b.png -fill "#fbfbfe" -opaque "#e6f1f5" -fill "#1c1b22" -opaque "#203a43" gshock-gw-m5610u-1b_darkgrey.png</title>
    <link>https://durad.xyz/projects/command-crate/index.html#aeca042e</link>
    <description>Swaps specific hex colors 1:1 on the image. Replaces Light (#e6f1f5) with off-white (#fbfbfe) and dark (#203a43) with dark-grey (#1c1b22). Uses sequential fill/opaque operations.</description>
    <guid isPermaLink="false">tag:2026-02-04:cmd-aeca042e</guid>
    <pubDate>Wed, 04 Feb 2026 22:00:00 -0000</pubDate>
  </item>

  <item>
    <title>printf 'dev.hwpstate_intel.0.epp=100\ndev.hwpstate_intel.1.epp=100\ndev.hwpstate_intel.2.epp=100\ndev.hwpstate_intel.3.epp=100\n' | sudo tee -a /etc/sysctl.conf &amp;&amp; sudo sysrc powerd_enable='NO'</title>
    <link>https://durad.xyz/projects/command-crate/index.html#33cc2d6f</link>
    <description>Appends Intel HWP powersave settings to sysctl.conf (making them permanent) and disables the obsolete &#x27;powerd&#x27; service in rc.conf. Useful for libreboot systems.</description>
    <guid isPermaLink="false">tag:2026-02-03:cmd-33cc2d6f</guid>
    <pubDate>Tue, 03 Feb 2026 22:00:00 -0000</pubDate>
  </item>

  <item>
    <title>sysctl dev.cpu.0.freq_levels</title>
    <link>https://durad.xyz/projects/command-crate/index.html#10f29d1a</link>
    <description>Checks available CPU frequency steps. If output is single-level (e.g., &#x27;2700/-1&#x27;) on Libreboot/modern Intel, ACPI tables are missing. Discard &#x27;powerd&#x27; and rely on &#x27;hwpstate_intel&#x27; (Hardware P-States) for frequency scaling.</description>
    <guid isPermaLink="false">tag:2026-02-03:cmd-10f29d1a</guid>
    <pubDate>Tue, 03 Feb 2026 22:00:00 -0000</pubDate>
  </item>

  <item>
    <title>sysctl dev.hwpstate_intel.0.epp=100</title>
    <link>https://durad.xyz/projects/command-crate/index.html#fc8608e6</link>
    <description>Sets Intel Speed Shift (HWP) to &#x27;Powersave&#x27; (Energy Performance Preference = 100) on CPU core 0 (first). Use &#x27;50&#x27; for Balanced or &#x27;0&#x27; for Performance. Required on modern Intels where &#x27;powerd&#x27; has no effect.</description>
    <guid isPermaLink="false">tag:2026-02-03:cmd-fc8608e6</guid>
    <pubDate>Tue, 03 Feb 2026 22:00:00 -0000</pubDate>
  </item>

  <item>
    <title>sysctl dev.cpu.0.freq dev.cpu.0.freq_levels dev.cpu.0.cx_supported dev.cpu.0.cx_lowest</title>
    <link>https://durad.xyz/projects/command-crate/index.html#aefcf205</link>
    <description>Displays current CPU frequency, available scaling levels, and supported C-states (sleep modes). Essential for verifying if FreeBSD is correctly entering low-power idle states.</description>
    <guid isPermaLink="false">tag:2026-02-03:cmd-aefcf205</guid>
    <pubDate>Tue, 03 Feb 2026 22:00:00 -0000</pubDate>
  </item>

  <item>
    <title>dd if=Fedora-Workstation-Live.iso of=/dev/da0 bs=1m conv=sync status=progress</title>
    <link>https://durad.xyz/projects/command-crate/index.html#786f4091</link>
    <description>Writes a bootable ISO to a USB drive on FreeBSD. Uses &#x27;/dev/da0&#x27; (FreeBSD USB device identifier) and &#x27;bs=1m&#x27; (BSD syntax). &#x27;conv=sync&#x27; pads the final block to prevent data corruption.</description>
    <guid isPermaLink="false">tag:2026-02-01:cmd-786f4091</guid>
    <pubDate>Sun, 01 Feb 2026 22:00:00 -0000</pubDate>
  </item>

  <item>
    <title>magick input.xcf -flatten -resize 3000x3000 -strip -quality 92 output.jpg</title>
    <link>https://durad.xyz/projects/command-crate/index.html#dd3305c7</link>
    <description>Directly converts a GIMP XCF project file to JPEG without opening GIMP. &#x27;-flatten&#x27; merges all layers onto a white background (crucial for XCF), &#x27;-resize&#x27; sets the dimensions, and &#x27;-strip&#x27; removes all metadata/EXIF for a clean, smaller file.</description>
    <guid isPermaLink="false">tag:2026-01-30:cmd-dd3305c7</guid>
    <pubDate>Fri, 30 Jan 2026 22:00:00 -0000</pubDate>
  </item>

  <item>
    <title>magick rss-icon.png -quality 75 -define webp:method=6 -define webp:pass=10 rss-icon.webp</title>
    <link>https://durad.xyz/projects/command-crate/index.html#058e5be9</link>
    <description>Converts PNG to WebP with &#x27;Max Effort&#x27; settings. Method 6 enables the most computationally expensive compression algorithms, and pass 10 iteratively optimizes the quantization. Uses standard YUV 4:2:0 chroma subsampling for minimum file size.</description>
    <guid isPermaLink="false">tag:2026-01-29:cmd-058e5be9</guid>
    <pubDate>Thu, 29 Jan 2026 22:00:00 -0000</pubDate>
  </item>

  <item>
    <title>magick -background none -density 648 favicon.svg rss-icon.png</title>
    <link>https://durad.xyz/projects/command-crate/index.html#5a8ffb93</link>
    <description>Crisp SVG to PNG conversion. The density must be calculated: (TargetWidth / SourceWidth) * 72. Example: 144 / 16 = 9. 9 * 72 = 648. This forces 1:1 rendering without blurring.</description>
    <guid isPermaLink="false">tag:2026-01-29:cmd-5a8ffb93</guid>
    <pubDate>Thu, 29 Jan 2026 22:00:00 -0000</pubDate>
  </item>

  <item>
    <title>ffmpeg -i pohokolius_-_tetrahedron.flac -filter_complex "[0:a]avectorscope=s=640x640:rate=25:zoom=1.5:draw=line" -y tetrahedron_phase.mp4</title>
    <link>https://durad.xyz/projects/command-crate/index.html#fd578b64</link>
    <description>Generates a visual phase analysis video (Goniometer/Lissajous) from the audio stream. Vertical alignment indicates mono compatibility; horizontal alignment indicates phase cancellation. The &#x27;cloud&#x27; shape represents stereo width. Ideal for checking mastering results!</description>
    <guid isPermaLink="false">tag:2026-01-26:cmd-fd578b64</guid>
    <pubDate>Mon, 26 Jan 2026 22:00:00 -0000</pubDate>
  </item>

  <item>
    <title>ffmpeg -i pohokolius_-_tetrahedron.flac -filter_complex "pan=mono|c0=c0-c1" -y tetrahedron_side_signal.wav</title>
    <link>https://durad.xyz/projects/command-crate/index.html#c4e0fda5</link>
    <description>Isolates the side signal (stereo difference). Subtracts right audio channel from Left. Used to audit exactly what &#x27;space&#x27; and &#x27;air&#x27; will be deleted when the track is played on mono systems. Ideal for checking mastering results!</description>
    <guid isPermaLink="false">tag:2026-01-26:cmd-c4e0fda5</guid>
    <pubDate>Mon, 26 Jan 2026 22:00:00 -0000</pubDate>
  </item>

  <item>
    <title>adb push ./local_file /sdcard/Download/</title>
    <link>https://durad.xyz/projects/command-crate/index.html#2d643b07</link>
    <description>The only way to write to Android at full speed (20-40MB/s). Helps with MTP/FUSE bottleneck.</description>
    <guid isPermaLink="false">tag:2026-01-24:cmd-2d643b07</guid>
    <pubDate>Sat, 24 Jan 2026 22:00:00 -0000</pubDate>
  </item>

  <item>
    <title>ffmpeg -i input.wav -af "pan=stereo|c0=c0|c1=-1*c1" phase_flip.wav</title>
    <link>https://durad.xyz/projects/command-crate/index.html#56d730e3</link>
    <description>Inverts the phase of the right audio channel. If the cancellation was caused by a simple polarity inversion, this restores the sound while keeping some stereo information.</description>
    <guid isPermaLink="false">tag:2026-01-24:cmd-56d730e3</guid>
    <pubDate>Sat, 24 Jan 2026 22:00:00 -0000</pubDate>
  </item>

  <item>
    <title>ffmpeg -i input.wav -af "pan=stereo|c0=c0|c1=c0" vangogh.wav</title>
    <link>https://durad.xyz/projects/command-crate/index.html#0c0ad238</link>
    <description>Discards the right audio channel entirely and forces the left channel to both speakers. Fixes some phase cancellation issues by killing stereo.</description>
    <guid isPermaLink="false">tag:2026-01-24:cmd-0c0ad238</guid>
    <pubDate>Sat, 24 Jan 2026 22:00:00 -0000</pubDate>
  </item>

  <item>
    <title>ffmpeg -i input.wav -codec:a libmp3lame -q:a 0 output.mp3</title>
    <link>https://durad.xyz/projects/command-crate/index.html#ffdf967b</link>
    <description>Converts audio to MP3 using variable bitrate (VBR) set to V0 (highest VBR quality, efficient size).</description>
    <guid isPermaLink="false">tag:2026-01-21:cmd-ffdf967b</guid>
    <pubDate>Wed, 21 Jan 2026 22:00:00 -0000</pubDate>
  </item>

  <item>
    <title>ffmpeg -i input.wav -codec:a libmp3lame -b:a 320k output.mp3</title>
    <link>https://durad.xyz/projects/command-crate/index.html#19e9aa58</link>
    <description>Converts audio to MP3 using constant bitrate (CBR) at 320kbps (highest standard quality).</description>
    <guid isPermaLink="false">tag:2026-01-21:cmd-19e9aa58</guid>
    <pubDate>Wed, 21 Jan 2026 22:00:00 -0000</pubDate>
  </item>

  <item>
    <title>magick input.png -resize 1000x1000 -quality 90 output.jpeg</title>
    <link>https://durad.xyz/projects/command-crate/index.html#7c180293</link>
    <description>Resizes an image to fit within 1000x1000px (maintaining aspect ratio) and saves as 90% quality JPEG.</description>
    <guid isPermaLink="false">tag:2026-01-16:cmd-7c180293</guid>
    <pubDate>Fri, 16 Jan 2026 22:00:00 -0000</pubDate>
  </item>

</channel>
</rss>