<?xml version="1.0" encoding="UTF-8"?>
<!-- generator="FeedCreator 1.8" -->
<?xml-stylesheet href="http://meta.sayitditto.net/lib/exe/css.php?s=feed" type="text/css"?>
<rss version="2.0">
    <channel xmlns:g="http://base.google.com/ns/1.0">
        <title>meta - cheatsheet</title>
        <description>what's the meta about say it ditto dot net?</description>
        <link>http://meta.sayitditto.net/</link>
        <lastBuildDate>Wed, 06 May 2026 13:05:54 +0000</lastBuildDate>
        <generator>FeedCreator 1.8</generator>
        <image>
            <url>http://meta.sayitditto.net/_media/logo.png</url>
            <title>meta</title>
            <link>http://meta.sayitditto.net/</link>
        </image>
        <item>
            <title>ffmpeg</title>
            <link>http://meta.sayitditto.net/cheatsheet:ffmpeg?rev=1757565865&amp;do=diff</link>
            <description>ffmpeg cheatsheet

not linking that man page good lord

ffmpeg TLDR, ffmpeg cheat.sh

audio

FLAC to MP3

one-off:


ffmpeg -i &quot;$FILE.flac&quot; -ab 320k -map_metadata 0 -id3v2_version 3 &quot;$FILE.mp3&quot;


bash loop:


for f in *.flac; do ffmpeg -i &quot;$f&quot; -ab 320k -map_metadata 0 -id3v2_version 3 &quot;${f%.*}.mp3&quot;; done</description>
            <author>anonymous@undisclosed.example.com (Anonymous)</author>
            <pubDate>Thu, 11 Sep 2025 04:44:25 +0000</pubDate>
        </item>
        <item>
            <title>gallery-dl</title>
            <link>http://meta.sayitditto.net/cheatsheet:gallery-dl?rev=1755435086&amp;do=diff</link>
            <description>gallery-dl

mangadex chapter extract

gallery-dl -c /home/kat/gallery-dl.conf -o &quot;lang=en&quot; --chapter-range '141-151' https://mangadex.org

instagram rip

gallery-dl -c /home/kat/gallery-dl.conf https://instagram.com/p/

photobucket embed rip


gallery-dl -g &quot;r:https://x.livejournal.com/x.html&quot; &gt; i.txt
# (strip all text but LJ links)
gallery-dl -i i.txt</description>
            <author>anonymous@undisclosed.example.com (Anonymous)</author>
            <pubDate>Sun, 17 Aug 2025 12:51:26 +0000</pubDate>
        </item>
        <item>
            <title>git</title>
            <link>http://meta.sayitditto.net/cheatsheet:git?rev=1757792075&amp;do=diff</link>
            <description>git cheatsheet

git docs

soft serve git remote setup

soft serve

example based on LAN ssh_config:


mterm

cd /path/to/example

git remote add soft ssh://soft:23231/example


tangled moirai (self-hosted knot) remote setup


REPO_NAME=blah

# tailscale only;
# use fates.gotm instead of moirai.gotm
git remote add tngl ssh://fates.girlonthemoon.xyz:2224/katproto.girlonthemoon.xyz/$REPO_NAME</description>
            <author>anonymous@undisclosed.example.com (Anonymous)</author>
            <pubDate>Sat, 13 Sep 2025 19:34:35 +0000</pubDate>
        </item>
        <item>
            <title>jsts</title>
            <link>http://meta.sayitditto.net/cheatsheet:jsts?rev=1758245040&amp;do=diff</link>
            <description>javascript/typescript

katproto get users TS to JS

cd /var/www/stash/katproto_demo # from katmac3

npx tsc

requires tsconfig.json file in same directory with these contents:


{
  &quot;compilerOptions&quot;: {
    &quot;target&quot;: &quot;es2022&quot;,
    &quot;module&quot;: &quot;es2022&quot;,
    &quot;esModuleInterop&quot;: true,
    &quot;lib&quot;: [&quot;ES2017&quot;, &quot;DOM&quot;, &quot;ES2021.String&quot;, &quot;es2020&quot;],
    &quot;preserveConstEnums&quot;: true,
    &quot;moduleResolution&quot;: &quot;node&quot;,
    &quot;strict&quot;: true,
    &quot;inlineSourceMap&quot;: true,
  },
}</description>
            <author>anonymous@undisclosed.example.com (Anonymous)</author>
            <pubDate>Fri, 19 Sep 2025 01:24:00 +0000</pubDate>
        </item>
        <item>
            <title>scp</title>
            <link>http://meta.sayitditto.net/cheatsheet:scp?rev=1755307951&amp;do=diff</link>
            <description>SCP cheatsheet

man page

send file to server

(replace kat &amp; 780 with user &amp; server names corresponding to ssh_config

send a friend's site button to eunoia friend buttons folder on 780:

scp /home/kat/sitebutton.png kat@780:/var/www/eunoia/buttons/friends</description>
            <author>anonymous@undisclosed.example.com (Anonymous)</author>
            <pubDate>Sat, 16 Aug 2025 01:32:31 +0000</pubDate>
        </item>
        <item>
            <title>sql</title>
            <link>http://meta.sayitditto.net/cheatsheet:sql?rev=1755307951&amp;do=diff</link>
            <description>SQL cheatsheet

mySQL manual

SQL query list view

add \G to end of query, like this:

select * from user\G;</description>
            <author>anonymous@undisclosed.example.com (Anonymous)</author>
            <pubDate>Sat, 16 Aug 2025 01:32:31 +0000</pubDate>
        </item>
        <item>
            <title>wget</title>
            <link>http://meta.sayitditto.net/cheatsheet:wget?rev=1755309920&amp;do=diff</link>
            <description>wget cheatsheet

wget man page (or more sensibly, the cheat.sh page for wget)

get all files of a certain type

change .mp3 to whatever extension you want


wget -r -l1 -H -t1 -nd -N -np -A.mp3 -erobots=off $URL</description>
            <author>anonymous@undisclosed.example.com (Anonymous)</author>
            <pubDate>Sat, 16 Aug 2025 02:05:20 +0000</pubDate>
        </item>
        <item>
            <title>yt-dlp</title>
            <link>http://meta.sayitditto.net/cheatsheet:yt-dlp?rev=1755309885&amp;do=diff</link>
            <description>yt-dlp

best video, best audio, MKV remux:

yt-dlp -f ba+bv --merge-output-format mkv $URL

best video UNDER 1080p, best audio, MKV remux:

yt-dlp -f &quot;ba+bv*[height&lt;=1080p]&quot; --merge-output-format mkv $URL

change output name from default:

yt-dlp -o custom-name.mp4 $URL</description>
            <author>anonymous@undisclosed.example.com (Anonymous)</author>
            <pubDate>Sat, 16 Aug 2025 02:04:45 +0000</pubDate>
        </item>
    </channel>
</rss>
