<?xml version="1.0" encoding="UTF-8"?>
<!-- generator="FeedCreator 1.8" -->
<?xml-stylesheet href="http://alloces.arg.rip/dokuwiki/lib/exe/css.php?s=feed" type="text/css"?>
<rdf:RDF
    xmlns="http://purl.org/rss/1.0/"
    xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
    xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
    xmlns:dc="http://purl.org/dc/elements/1.1/">
    <channel rdf:about="http://alloces.arg.rip/dokuwiki/feed.php">
        <title>dokuwiki - sysadminery</title>
        <description></description>
        <link>http://alloces.arg.rip/dokuwiki/</link>
        <image rdf:resource="http://alloces.arg.rip/dokuwiki/lib/exe/fetch.php?media=wiki:logo.png" />
       <dc:date>2026-04-22T11:00:29+00:00</dc:date>
        <items>
            <rdf:Seq>
                <rdf:li rdf:resource="http://alloces.arg.rip/dokuwiki/doku.php?id=sysadminery:bash&amp;rev=1776841502&amp;do=diff"/>
                <rdf:li rdf:resource="http://alloces.arg.rip/dokuwiki/doku.php?id=sysadminery:docker&amp;rev=1776841502&amp;do=diff"/>
                <rdf:li rdf:resource="http://alloces.arg.rip/dokuwiki/doku.php?id=sysadminery:ffmpeg&amp;rev=1776841502&amp;do=diff"/>
                <rdf:li rdf:resource="http://alloces.arg.rip/dokuwiki/doku.php?id=sysadminery:firefox&amp;rev=1776841502&amp;do=diff"/>
                <rdf:li rdf:resource="http://alloces.arg.rip/dokuwiki/doku.php?id=sysadminery:grub_rescue&amp;rev=1776841502&amp;do=diff"/>
                <rdf:li rdf:resource="http://alloces.arg.rip/dokuwiki/doku.php?id=sysadminery:imagemagick&amp;rev=1776841502&amp;do=diff"/>
                <rdf:li rdf:resource="http://alloces.arg.rip/dokuwiki/doku.php?id=sysadminery:librewolf&amp;rev=1776841502&amp;do=diff"/>
                <rdf:li rdf:resource="http://alloces.arg.rip/dokuwiki/doku.php?id=sysadminery:linux_boilerplate&amp;rev=1776841502&amp;do=diff"/>
                <rdf:li rdf:resource="http://alloces.arg.rip/dokuwiki/doku.php?id=sysadminery:matrix&amp;rev=1776841502&amp;do=diff"/>
                <rdf:li rdf:resource="http://alloces.arg.rip/dokuwiki/doku.php?id=sysadminery:nix_misc&amp;rev=1776841502&amp;do=diff"/>
                <rdf:li rdf:resource="http://alloces.arg.rip/dokuwiki/doku.php?id=sysadminery:pi&amp;rev=1776841502&amp;do=diff"/>
                <rdf:li rdf:resource="http://alloces.arg.rip/dokuwiki/doku.php?id=sysadminery:samba&amp;rev=1776841502&amp;do=diff"/>
                <rdf:li rdf:resource="http://alloces.arg.rip/dokuwiki/doku.php?id=sysadminery:sed&amp;rev=1776841502&amp;do=diff"/>
                <rdf:li rdf:resource="http://alloces.arg.rip/dokuwiki/doku.php?id=sysadminery:vms&amp;rev=1776841502&amp;do=diff"/>
                <rdf:li rdf:resource="http://alloces.arg.rip/dokuwiki/doku.php?id=sysadminery:windows&amp;rev=1776841502&amp;do=diff"/>
                <rdf:li rdf:resource="http://alloces.arg.rip/dokuwiki/doku.php?id=sysadminery:wireguard&amp;rev=1776841502&amp;do=diff"/>
            </rdf:Seq>
        </items>
    </channel>
    <image rdf:about="http://alloces.arg.rip/dokuwiki/lib/exe/fetch.php?media=wiki:logo.png">
        <title>dokuwiki</title>
        <link>http://alloces.arg.rip/dokuwiki/</link>
        <url>http://alloces.arg.rip/dokuwiki/lib/exe/fetch.php?media=wiki:logo.png</url>
    </image>
    <item rdf:about="http://alloces.arg.rip/dokuwiki/doku.php?id=sysadminery:bash&amp;rev=1776841502&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2026-04-22T07:05:02+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>bash</title>
        <link>http://alloces.arg.rip/dokuwiki/doku.php?id=sysadminery:bash&amp;rev=1776841502&amp;do=diff</link>
        <description>repetition is the key to memory

the key to memory. the key to memory. the key to memory.


if [ 0 ]
then
	echo &quot;true&quot;
else
	echo &quot;false&quot;
fi


it makes sense in the context of “if this program runs without error”. but i get tripped in every other context.</description>
    </item>
    <item rdf:about="http://alloces.arg.rip/dokuwiki/doku.php?id=sysadminery:docker&amp;rev=1776841502&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2026-04-22T07:05:02+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>docker</title>
        <link>http://alloces.arg.rip/dokuwiki/doku.php?id=sysadminery:docker&amp;rev=1776841502&amp;do=diff</link>
        <description>on debian, docker.io is docker “the debian way” - i.e., dependencies are shareable packages.

do not attempt to move docker directory

Method 1: -g

from
you can set the docker directory to another one - but only if that alternate is also on the same filesystem</description>
    </item>
    <item rdf:about="http://alloces.arg.rip/dokuwiki/doku.php?id=sysadminery:ffmpeg&amp;rev=1776841502&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2026-04-22T07:05:02+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>ffmpeg</title>
        <link>http://alloces.arg.rip/dokuwiki/doku.php?id=sysadminery:ffmpeg&amp;rev=1776841502&amp;do=diff</link>
        <description>tl;dr

ffmpeg -i input.mp4 -vf scale=320:240,setsar=1:1 output.mp4

## variables

ffmpeg -i input.jpg -vf scale=iw*2:ih input_double_width.png

(works on images btw)

## multiple video filters

in quotes, separate with comma space: 

-vf “thing1=whatever, thing2=whateverelse</description>
    </item>
    <item rdf:about="http://alloces.arg.rip/dokuwiki/doku.php?id=sysadminery:firefox&amp;rev=1776841502&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2026-04-22T07:05:02+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>firefox</title>
        <link>http://alloces.arg.rip/dokuwiki/doku.php?id=sysadminery:firefox&amp;rev=1776841502&amp;do=diff</link>
        <description>Custom search engine

&lt;https://superuser.com/questions/7327/how-to-add-a-custom-search-engine-to-firefox&gt;

	*  about:config
	*  browser.urlbar.update2.engineAliasRefresh = true</description>
    </item>
    <item rdf:about="http://alloces.arg.rip/dokuwiki/doku.php?id=sysadminery:grub_rescue&amp;rev=1776841502&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2026-04-22T07:05:02+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>grub_rescue</title>
        <link>http://alloces.arg.rip/dokuwiki/doku.php?id=sysadminery:grub_rescue&amp;rev=1776841502&amp;do=diff</link>
        <description>so you&#039;re in the grub shell, right? “can&#039;t find vmlinuz you have to load the linux kernel” or something?


ls


should show you stuff like 


(hd0) (hd0,gpt3) (hd0,gpt2) (hd0,gpt1) 


you don&#039;t have to include the gpt, going forward.

in turn, ls</description>
    </item>
    <item rdf:about="http://alloces.arg.rip/dokuwiki/doku.php?id=sysadminery:imagemagick&amp;rev=1776841502&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2026-04-22T07:05:02+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>imagemagick</title>
        <link>http://alloces.arg.rip/dokuwiki/doku.php?id=sysadminery:imagemagick&amp;rev=1776841502&amp;do=diff</link>
        <description>make gif! 50 is ms, loop is times to loop (0 = infinite), dispose previous (must go together) is a necessary thing in giffing if you have transparency, resize with that \&gt; is “only shrink if larger”

convert -delay 50 -loop 0 -dispose previous *.jpg -resize</description>
    </item>
    <item rdf:about="http://alloces.arg.rip/dokuwiki/doku.php?id=sysadminery:librewolf&amp;rev=1776841502&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2026-04-22T07:05:02+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>librewolf</title>
        <link>http://alloces.arg.rip/dokuwiki/doku.php?id=sysadminery:librewolf&amp;rev=1776841502&amp;do=diff</link>
        <description>LibreWolf

keepassxc

I think librewolf works out of box these days, but if not:


cp -r ~/.mozilla/native-messaging-hosts ~/.librewolf/


fingerprinting overrides

dark mode, time zones. 

i know, i know, the point of this is to allow you to blend in with everyone else. so configuring it</description>
    </item>
    <item rdf:about="http://alloces.arg.rip/dokuwiki/doku.php?id=sysadminery:linux_boilerplate&amp;rev=1776841502&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2026-04-22T07:05:02+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>linux_boilerplate</title>
        <link>http://alloces.arg.rip/dokuwiki/doku.php?id=sysadminery:linux_boilerplate&amp;rev=1776841502&amp;do=diff</link>
        <description>install

	*  make your password something terrible like “temp” - terminal emulators accept keypresses for weird-ass symbols pretty well, but most things don&#039;t cooperate with password managers.
	*  
apt-get install sudo

	*  
usermod -a -G sudo adam</description>
    </item>
    <item rdf:about="http://alloces.arg.rip/dokuwiki/doku.php?id=sysadminery:matrix&amp;rev=1776841502&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2026-04-22T07:05:02+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>matrix</title>
        <link>http://alloces.arg.rip/dokuwiki/doku.php?id=sysadminery:matrix&amp;rev=1776841502&amp;do=diff</link>
        <description>hold this real quick: &lt;https://alloces.arg.rip/meejiinwiki/doku.php?id=start&gt;

register new user

ssh in. normally you use register_new_matrix_user, but the digital ocean droplet comes with:


./new-user


curl as client

you&#039;re on port 8448, which is unusual.

faq: how do I get an apostrophe? you can just glue strings, be they double-apostrophe or double-quote, together immediately:</description>
    </item>
    <item rdf:about="http://alloces.arg.rip/dokuwiki/doku.php?id=sysadminery:nix_misc&amp;rev=1776841502&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2026-04-22T07:05:02+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>nix_misc</title>
        <link>http://alloces.arg.rip/dokuwiki/doku.php?id=sysadminery:nix_misc&amp;rev=1776841502&amp;do=diff</link>
        <description>find, but don&#039;t try to find where you obviously can&#039;t

from
  find . -type d ! \( -readable -executable \) -prune -o -type f -not -path &#039;./.*/*&#039; -
  
UPDATE: broken in current (2026-06-30) debian; still throws a bunch of no-shit-sherlock “errors” in the way.</description>
    </item>
    <item rdf:about="http://alloces.arg.rip/dokuwiki/doku.php?id=sysadminery:pi&amp;rev=1776841502&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2026-04-22T07:05:02+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>pi</title>
        <link>http://alloces.arg.rip/dokuwiki/doku.php?id=sysadminery:pi&amp;rev=1776841502&amp;do=diff</link>
        <description>*  why are there multiple 5v and multiple 3v pins? consensus online is either “the 5v pins are to power 5v components” or “in case you need them”, so apparently no one else knows, either.
	*  no you can&#039;t power a raspberry pi from its 5v rail.</description>
    </item>
    <item rdf:about="http://alloces.arg.rip/dokuwiki/doku.php?id=sysadminery:samba&amp;rev=1776841502&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2026-04-22T07:05:02+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>samba</title>
        <link>http://alloces.arg.rip/dokuwiki/doku.php?id=sysadminery:samba&amp;rev=1776841502&amp;do=diff</link>
        <description>sudo smbpasswd -a &lt;username&gt;

IF you want to map a samba user to a different local user: edit the file /etc/samba/smbusers

&lt;localusername&gt; = “&lt;samba username&gt;”</description>
    </item>
    <item rdf:about="http://alloces.arg.rip/dokuwiki/doku.php?id=sysadminery:sed&amp;rev=1776841502&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2026-04-22T07:05:02+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>sed</title>
        <link>http://alloces.arg.rip/dokuwiki/doku.php?id=sysadminery:sed&amp;rev=1776841502&amp;do=diff</link>
        <description>escaping

check out uptime. Sample output:
   11:34:56 up 9 days,  3:24,  5 users,  load average: 3.08, 4.04, 14.66
and since I&#039;m sure you forgot: load is “processes waiting for cpu time to execute”, the 3 numbers are “in the last minute”, “</description>
    </item>
    <item rdf:about="http://alloces.arg.rip/dokuwiki/doku.php?id=sysadminery:vms&amp;rev=1776841502&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2026-04-22T07:05:02+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>vms</title>
        <link>http://alloces.arg.rip/dokuwiki/doku.php?id=sysadminery:vms&amp;rev=1776841502&amp;do=diff</link>
        <description>virtualbox to qemu/kvm

	*  export a .ova file
	*  extract it like an archive
	*  convert vdi to qcow2
	*    qemu-img convert -f vdi -O qcow2 debian-kde.vdi debian-kde.qcow2
	*  macvtap network adapter. (will be hard to get host-&gt;guest networking, but meh)</description>
    </item>
    <item rdf:about="http://alloces.arg.rip/dokuwiki/doku.php?id=sysadminery:windows&amp;rev=1776841502&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2026-04-22T07:05:02+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>windows</title>
        <link>http://alloces.arg.rip/dokuwiki/doku.php?id=sysadminery:windows&amp;rev=1776841502&amp;do=diff</link>
        <description>new device, immediately reformat

Shift+F10

oobe\bypassnr0

disable secureboot:
settings -&gt; windows update -&gt; advanced -&gt; recovery -&gt; advanced startup options -&gt; restart now -&gt; troubleshoot -&gt; advanced -&gt; UEFI -&gt; Security

reboot into USB:
settings</description>
    </item>
    <item rdf:about="http://alloces.arg.rip/dokuwiki/doku.php?id=sysadminery:wireguard&amp;rev=1776841502&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2026-04-22T07:05:02+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>wireguard</title>
        <link>http://alloces.arg.rip/dokuwiki/doku.php?id=sysadminery:wireguard&amp;rev=1776841502&amp;do=diff</link>
        <description>what I&#039;ve learned:

a wg0.conf will have [interface] and [peer]. interface is self, peer is a peer. obv.

[peer] will have:

	*  publickey: the public key for the peer. (duh) that implies that each peer needs a [peer] section.
	*  allowed IPs: the _destination_ addresses that the peer in this section can access through you</description>
    </item>
</rdf:RDF>
