Home · Accounts · Tools · Tips · How to · Security Trinklets · Trans Resources

Tips

(Who needs a wiki when you can just spend your evening making a static site generator?)

Just a bundle of neat lil tech things I wanted to document somewhere.

Firefox πŸ”—

Allowing extensions to access restricted sites πŸ”—

By default, Firefox prevents extensions from accessing or modifying the content of sites under domains such as addons.mozilla.org. You can remedy this by doing the following:

  1. Go to about:config
  2. Find extensions.webextensions.restrictedDomains
  3. Set it to an empty string

(Selectively) Disabling HSTS/HPKP πŸ”—

(Source: https://wiki.mozilla.org/SecurityEngineering/Public_Key_Pinning#How_to_use_pinning)

  1. Go to about:config
  2. Find security.cert_pinning.enforcement_level
  3. Set it to:

Enabling the ability to manually add search engines πŸ”—

(Copied from a Fediverse post by rail)

  1. Go to about:config
  2. Find browser.urlbar.update2.engineAliasRefresh
  3. Set it to true

Mobile: Enabling about:config on production builds πŸ”—

(Copied from a Fediverse post by Itanium Thom)

  1. Go to chrome://geckoview/content/config.xhtml
  2. Find general.aboutConfig.enable
  3. Set it to true

Mobile: Enabling third-party CA certificates πŸ”—

  1. Go to the three-dot menu, and tap Settings
  2. Scroll down to the bottom, and tap "About Firefox"
  3. Tap the Firefox logo five times
  4. Go back, and tap "Secret Settings"
  5. Enable "Use third party CA certificates"

Matrix πŸ”—

Changing your room-specific display name or avatar πŸ”—

Fun fact: Matrix has functionality for you to set your display name and/or avatar, but only for one room. This way, I can use something like "BlankEclair [she/her]" as my "default" display name, but then set it to something like "Claire" in a more personal chat.

Instructions for nheko πŸ”—

  1. Open a room
  2. Click on the members icon (if unencrypted) or the shield icon (if encrypted) on the top-right of the program
  3. Click on your user account
  4. Click on the edit/pencil icons next to your name and/or your avatar, like so: A screenshot of a room-specific user profile. The profile has a display name of "BlankEclair [she/her]", a Matrix ID of "@blankeclair:catgirl.cloud", and the room it is in is named "Random Stuff". The mouse cursor is currently hovering over the edit icon next to the display name, which has a tooltip above it that reads "Change display name. Will only apply to this room."

Instructions for Element Android πŸ”—

  1. Open a room
  2. Type /myroomnick and/or /myroomavatarβ€”you should see something like the following: A screenshot of the message box inside a room in Element. Entered in the message box is the string "/myroom", to which there are two auto-completed commands above. The first command reads "/myroomnick <display-name>: Changes your display nickname in the current room only", and the second commands reads "/myroomavatar <mxc_url>: Changes your avatar in this current room only"

Qt πŸ”—

Getting color emojis to render πŸ”—

(Source: https://discussion.fedoraproject.org/t/qt-based-apps-use-low-quality-black-and-white-emoji/81017)

  1. Save 75-noto-color-emoji.conf to /etc/fonts/conf.d/75-noto-color-emoji.conf
  2. Reopen your Qt apps

systemd πŸ”—

Journal has truncated messages from a service when it tries to output a lot of messages πŸ”—

(Source: https://serverfault.com/questions/774809/truncated-missing-logs-with-systemd-on-ubuntu-16-04)

This can manifest as messages simply Disappearing, such as:

Feb 10 00:01:47 icecone sh[3456344]: +    /srv/http/rainverse.icecone/w/tests/phpunit/data/exception/
Feb 10 00:01:47 icecone sh[3456344]: +    /srv/http/rainverse.icecone/w/tests/phpunit/data/exception/TestThrowerDummy.php
Feb 10 00:01:47 icecone sh[3456344]: +    /srv/http/rainverse.icecone/w/tests/phpunit/data/filecontentshasher/
Feb 10 00:01:59 icecone systemd[1]: restic-backup.service: Deactivated successfully.
Feb 10 00:01:59 icecone systemd[1]: Finished Restic backups.
Feb 10 00:01:59 icecone systemd[1]: restic-backup.service: Consumed 2min 27.510s CPU time, 1.5G memory peak.

This is (likely, because I have not yet confirmed it) because of a systemd-journald feature that drops messages once there is a big burst of them. To globally disable this feature, edit the journal configuration to add the following:

/etc/systemd/journald.conf
# ...
#RateLimitIntervalSec=30s
RateLimitBurst=0
# ...

Afterwards, reload the config by restarting the daemon:

# systemctl restart systemd-journald

For more information, see the RateLimitIntervalSec and RateLimitBurst parameters in journald.conf(5).


← webring.wiki β†’

The source code to this website is under the MIT license.
Unless otherwise specified, the text and images on this site are under CC BY-SA 4.0.

Made by a πŸ³οΈβ€βš§οΈ person Β· Source code (Average Codestuff, Github)