Ride Write Geek

simple solutions to complex problems

I thought that sharing this template might save someone, some time, some day. I know too little about CSS code to solve some of the issues I encountered applying the other solutions. By comparison, this is a simple method, easily learned for later application.

Read the source document (link below) to understand the logic behind the code. Briefly, to move to a lower class of ordered list class <ol>, leave the list <li> 'hanging' when opening another <ol> and close each list using </li> only when that ordered list numbering is complete. Only display size is determined by the heading markers here: <h2> </h2>. In Write Freely environment, the post title is still defined by placing a hash character, followed by a space, before the very first line of the post: # Post Title.

Here is the code template:

<h2>Benefits of Dancing</h2>
<p>Paragraph text here.</p>
<ol><h2><li>Physical</h1><ol type="a"><!-- 'hanging' </li> tag, closing tag not here! -->
  <h3><li>Major Detail 1.1</h3><ol type="i"><!-- 'hanging' </li> tag, closing tag not here! -->
        <h4><li>Minor Detail</h4></li>
       <h4><li>Minor Detail</h4></li></ol>
    <h3><li>Major Detail 1.2</h3></li><ul><!-- Here's the closing </li> tag -->
          <h4><li>Minor bullet</h4></li></ul></ol>

<h2><li>Psychological</h1><ol type="a"><!-- 'hanging' </li> tag, closing tag not here! -->
   <h3><li>Major Detail 2.1</h3><ol type="i"><!-- 'hanging' </li> tag, closing tag not here! -->
        <h4><li>Minor Detail</h4></li>
        <h4><li>Minor Detail</h4></li></ol>
   <h3><li>Major Detail 2.2</h3></li><ol type="i"><!-- Here's the closing </li> tag -->
           <h4><li>Minor Detail</h4></li></ol></ol>

<h2><li>Social</h1></li><ol type="a"><!-- Here's the closing </li> tag -->
    <h3><li>Major Detail 3.1</h3><ol type="I"><!-- 'hanging' </li> tag, closing tag not here! -->
        <h4><li>Minor Detail</h4></li>
        <h4><li>Minor Detail</h4></li></ol>
    <h3><li>Major Detail 3.2</h3></li><ol type="i"><!-- Here's the closing </li> tag -->
            <h4><li>Minor Detail</h4></li></ol></ol>

In the example, mixed unordered (bullets) with ordered (numbered) lists. The upper case Roman and lower case Roman types are also useful.

Bullet markers will default in order: disc (1st order), circle (2nd order), square (3rd order), or none (4th order). The order can be overridden by expressly defining the bullet marker: <ul style="list-style-type:disc;">

The code above renders like this,

Benefits of Dancing

Paragraph text here.

  1. Physical
    1. Major Detail 1.1
      1. Minor Detail
      2. Minor Detail

    2. Major Detail 1.2
      • Minor bullet

  2. Psychological
    1. Major Detail 2.1
      1. Minor Detail
      2. Minor Detail

    2. Major Detail 2.2
      1. Minor Detail

  3. Social
    1. Major Detail 3.1
      1. Minor Detail
      2. Minor Detail

    2. Major Detail 3.2
      1. Minor Detail

    Find me on my Rebased server @bushgrad@zov.oti.st to let me know about omissions, errors, different solutions.

    #writefreely #code #blog #website #write


    1. MDN Web Docs, Mozilla Foundation The Ordered List Element
    2. w3schools, Refsnes Data Unordered List element (type)


  • System Installation & Post Installation

  • Yandex Browser working (playing videos)

  • Change the Yandex search engine to render English results.

Business article covering the history of Astra Linux Astra Linux Display (IMAGE: RusBITech)


  1. Astra Linux Common Edition Installation Essentials
    1. Nov 2022 – version: orel-
    2. GNU/Linux Distribution Astra Linux Common Edition Write to USB using ROSA Image Writer or similar Use the guided installation and follow the prompts (Guided LVM with encryption is advised). The Red Book addresses any questions outside the information in this post.

      Consider installing the latest 'generic kernel'. After installing, set your firewall or set it up during installation.

    3. Issues with repository after upgrade
    4. Open the Info Center from start menu and note the Astra Linux version Open Synaptic package manager and disable the old sources (repositories). Create a new source to correspond with the Info Center information.

      Astra Linux Common Edition 2.12.45






      stable main contrib non-free

      Astra Linux Common Edition 2.12.44






      stable main contrib non-free

      Reference latest links from the official site.

    5. Astra Linux links
    6. Get the ROSA Image writer for win/mac or Linux here.

      Download installation ISO at Mega Cloud.

      Astra Linux official user guide.

  2. Debian non-free Sources
  3. To install the Yandex Browser, you need the Debian (buster) sources. Additionally, the stretch sources may prove useful in future. Add these sources now, and enable them only for specific packages, and install packages with careful attention to warnings. Disable them after installing whatever you need.

    Hotkeys for terminal are Meta+t (you can change it – search for fly hotkeys editor in the start menu).

    1. Add The Sources
    2. Alt+T to open a terminal, then issue this to open the sources file for editing.

      sudo nano /etc/apt/sources.list

      Add these lines:

      deb http://deb.debian.org/debian/ stretch main contrib non-free
      deb http://deb.debian.org/debian/ stretch-updates main contrib non-free
      deb https://mirror.yandex.ru/debian/ buster main contrib non-free

    3. Import The Keys
    4. Enter these into the terminal one command at a time

      sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 648ACFD622F3D138

      sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 0E98404D386FA1D9

      sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 605C66F00D6C9793

      sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 112695A0E562B32A

      sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 54404762BBB6E853

      After adding the debian sources, update the sources.

      'sudo apt-get update'

      Now you can install this keyring from the debian sources

      sudo apt install debian-archive-keyring

  4. Yandex Browser
    1. Get the Yandex Package
    2. From the Astra Linux link, follow the “Other” link to download the Yandex Stable version or the Yandex Beta Linux deb package.

    3. Download and Install deb Package
    4. Open a terminal in the directory containing the deb package.

      cd ~/Downloads

      List the contents to see the name of the package


      (pay attention to the name of the downloaded Yandex-.deb package)


      sudo dpkg -i Yandex.deb

    5. Update FFMPEG
    6. If you installed the stable version of the browser:

      sudo /opt/yandex/browser/update-ffmpeg

      If you installed the beta version:

      sudo /opt/yandex/browser-beta/update-ffmpeg

    7. Install Other Libraries
    8. These are required for playing video from streaming sites or DRM protected content. First, enable buster sources. Then install the libraries.

      sudo apt update && sudo apt-get -t buster install libc6 libu2f-udev gstreamer1.0-libav

      Remember to disable the buster source after completing this step. Odysee videos should now play without any errors. You will need to reboot before DRM protected streaming services will work.

      This procedure is courtesy of the users at the Astra Linux Forum.

    9. Yandex Search Engine
    10. To allow for the Yandex Search engine to render English results instead of Russian ones, in the browser settings on the left of the Settings page, enter 'search engine' then Click 'Add' to create a new search engine link. Name the new entry: Yandex Provide a shortcut key eg.: yan Enter this link:


      Save the engine and set it as 'default'

Relevance Users of your instance need a login password-reset link or other notifications, sent to their private email address.

Considerations Sendmail, being one of the oldest, behaves well alongside other mail delivery setups. The configuration and files you are going to edit, are compatible with Postfix, for example.

Best practice is to do the following on a fresh setup, i.e. after installing or upgrading your OS, and before commencing installation of the actual website or instance.

IMPORTANT: Remember to do a back-up before making any changes to your precious server. This procedure may not work should your vps service have the smtp ports locked or when the receiving email client always rejects mail from your server.

Required Obtain from your email service, the SMTP host information and port information (587 or something else)

My domain registration provides this host: mail.gandi.net, for instance.


  1. Update, Install, Insert hostname $ = terminal, as user. #, terminal as root. Terminal commands – copy everything after the # or $ in this guide.

    $ su - root
    # apt update
    # apt install sendmail -y
    # hostname
    # hostname --fqdn

    [Remember this information, you may have to insert into [hostname] in the 'hosts' file]

    # nano /etc/hosts
 localhost [hostname] [hostname -fqdn] localhost [hostname] [hostname -fqdn] [edit if necessary, [hostname] (no square brackets), CTRL+x, Y, Enter

  2. E-mail Authentication

    # mkdir /etc/mail/authinfo
    # chmod -R 700 /etc/mail/authinfo
    # cd /etc/mail/authinfo
    # nano smtp-auth

    Add this to the file. Your actual full email (login), and password:

    AuthInfo: "U:root" "I:your@email.com" "P:your_email_password"

    Make a hash file,

    # sudo makemap hash smtp-auth < smtp-auth
  3. Configuration

    # cd /etc/mail

    Edit the text-block below, reflecting your own information. Important: change mail.host.yours.net to your own email host Leave port 587 as it is, unless your email service port is different. Then paste the edited text into the sendmail.me file, which you will edit (nano) now.

    # nano sendmail.mc

    Find this line “MAILER_DEFINITIONS” and paste the edited text-block immediately after that

    define(`RELAY_MAILER_ARGS', `TCP $h 587')dnl
    define(`ESMTP_MAILER_ARGS', `TCP $h 587')dnl
    define(`confAUTH_OPTIONS', `A p')dnl
    FEATURE(`authinfo',`hash -o /etc/mail/authinfo/smtp-auth.db')dnl
  4. Make, reload, restart

    # cd /etc/mail
    # make
    # /etc/init.d/sendmail reload
    # /etc/init.d/sendmail restart

    Test to see it works. Do this (you may need to run it a few times). Check your email to see if it is delivered. It may appear in your server email. Open THAT (nano) to see what errors show up. The command to run a test is:

    echo "My test email being sent from sendmail" | /usr/sbin/sendmail youname@yourmail.com

    Troubleshoot: check every step in this guide. Nano into every file to check your edits. Is the password, host, port and email, correct? Finally, do

    # sendmailconfig
    # /etc/init.d/sendmail restart

    Your Diaspora* instance should now send out an email for notifications. You can test it by logging out and checking the 'forgot password' link.

  5. Pleroma Moderator Panel (AdminFE) Of course, this only applies to a Pleroma instance. Get into this panel (soapbox, from Admin user's profile). “Moderator, or “AdminFE”. On the left of the AdminFE, locate these sections, and make these adjustments.

Settings, Mailer section. Pleroma.Emails.Mailer section

  • Toggle, Mailer: enabled
  • Adapter (dropdown), SMTP
  • Relay, mail.host.yours.net (as above)
  • Port, 465 (or as above)
  • Username, your@email.com (as above)
  • Password, youremailpassword (as above)
  • Use SSL, (enable if port 465)

I hope it works for you. Happy days!


  1. Cloudbooklet, 9 Aug 2021 Install Sendmail, Debian 10
  2. Diaspora Foundation Diaspora Wiki, Debian 10
  3. Suguru Hirahara, 28 Jan 2021 Progressive.blog.dev Install Diaspora, Debian 10

#fediverse #linux #socialmedia