Skip Navigation
InitialsDiceBearhttps://github.com/dicebear/dicebearhttps://creativecommons.org/publicdomain/zero/1.0/„Initials” (https://github.com/dicebear/dicebear) by „DiceBear”, licensed under „CC0 1.0” (https://creativecommons.org/publicdomain/zero/1.0/)MO
MonkderDritte @feddit.de
Posts 8
Comments 1.7K
ich⛱️iel
  • Wie ironisch. Pilotprojekt (nicht Studie, praktischer Versuch) hat ergeben, dass Firmen in 4 Tagen bei vollem Lohn mehr Umsatz machten und die Arbeitnehmer 2/3 weniger Krankheitstage hatten.

    Oder in kurz für Merz: mehr Umsatz und weniger krank bei 4-Tage-Woche.

  • Is there a text editor/notes app that adds Unicode symbols?

    cross-posted from: https://feddit.de/post/13720140

    > For example, there is Material Notes which has a editor toolbar with bold, indented, stroke, etc. But this is rendered, exported to json or syntax like Markdown. This app too, in which i write this on lemmy, does the same. We have ☐, ☒, •, ‣ in Unicode, 𝗕𝗼𝗹𝗱, 𝑖𝑛𝑑𝑒𝑛𝑡, s̵t̵r̵o̵k̵e̵, so why not use this? > > Basically, what i'm looking for is a text editor with editor toolbar/keystrokes for Android or Linux, which adds unicode symbols for rich text. It would make reading plain text notes/todo lists cross-device simpler. Yes, there's UnicodePad and Charmap but that's not the same.

    1

    Is there a text editor/notes app that adds Unicode symbols?

    cross-posted from: https://feddit.de/post/13720140

    > For example, there is Material Notes which has a editor toolbar with bold, indented, stroke, etc. But this is rendered, exported to json or syntax like Markdown. This app too, in which i write this on lemmy, does the same. We have ☐, ☒, •, ‣ in Unicode, 𝗕𝗼𝗹𝗱, 𝑖𝑛𝑑𝑒𝑛𝑡, s̵t̵r̵o̵k̵e̵, so why not use this? > > Basically, what i'm looking for is a text editor with editor toolbar/keystrokes for Android or Linux, which adds unicode symbols for rich text. It would make reading plain text notes/todo lists cross-device simpler. Yes, there's UnicodePad and Charmap but that's not the same.

    0

    Is there a text editor/notes app that adds Unicode symbols?

    For example, there is Material Notes which has a editor toolbar with bold, indented, stroke, etc. But this is rendered, exported to json or syntax like Markdown. This app too, in which i write this on lemmy, does the same. We have ☐, ☒, •, ‣ in Unicode, 𝗕𝗼𝗹𝗱, 𝑖𝑛𝑑𝑒𝑛𝑡, s̵t̵r̵o̵k̵e̵, so why not use this?

    Basically, what i'm looking for is a text editor with toolbar/keystrokes for Android or Linux, which adds unicode symbols for rich text. It would make reading plain text notes/todo lists cross-device simpler. Yes, there's UnicodePad and Charmap but that's not the same.

    edit: something where you mark a word, tap the B in the toolbar or press ctrl+b and it replaces the characters with uc bold characters, no? Tap the list button and it adds uc bullet points, etc...

    22

    How to reliably(!) exclude files from a list in tar?

    This is bothering me for years now, my backup script always takes everything with it, taking forever to finish.

    I initially used the --exclude option, but this is rather restrictive, cluttered the script and still had the excluded directories. Then i discovered -X/--exclude-from but same result here, weird globbing and still fails. So i hacked a negative list via fd's --ignore-file and tar -T/--files-from together. But tar still includes files and directories not on the fucking files.tmp.

    So i'm not sure if it is a bug in Arch's GNU tar or if it's maybe a parameter in the wrong position, tar can be removed there. This is my current code ```

    tar -cf - -X "$XDG_CONFIG_HOME"/backup/ignore "$INPUT" -P

    fd . -Hi --ignore-file "$XDG_CONFIG_HOME"/backup/ignore "${INPUT}" > "$_tmpfile" tar -cf - --verbatim-files-from --files-from="$_tmpfile" -P \ |pv -tapes "$_fssize" \ |compress >"${OUTPUT}.$_ext" ``` INPUT is $HOME in this case.

    And if anyone has a solution that works on busybox tar as well...

    5

    mounting system partition to /mnt has /mnt/@/etc

    While updating my system the graphical session crashed and after reboot the kernel was missing (reminder that you should update on tty). Trying to fix that from a live-system, mounting system nvme partition to mnt, there's now /mnt/@ @cache @log, while your usual root folders are in @, log fikes @log and so on. Filesystem is btrfs, no subvolumes, if that matters.

    So why is this? And can i just mount boot to /mnt/@/boot? Do break something, if i move /mnt/@ content to /mnt?

    2

    Steamworkshop dl function

    Thought i share it, since it came in handy lots as a GoG enjoyer.

    steamworkshop_dl() { steamcmd +login anonymous +workshop_download_item "$1" "$2" validate +quit mv -v "<path to your temp Steam folder>/steamapps/workshop/content/"$1"/"$2" "$PWD"/"$3" }

    Purpose: downloading Steam Workshop mod to $PWD with minimal work.

    Usage: steamworkshop_dl [game-id] [mod-id] [name]

    game-id is in the URL of the main workshop page, mod-id is in the URL of the mod

    To make usage simpler, create an alias with the game-id:

    alias stdl='steamworkshop_dl <game-id>' stdl <mod-id> 'that mod'

    Needs steamcmd. If download fails, try username and password instead of 'anonymous'.

    0

    About MGRLU of oomkiller

    I have this in my /etc/sysctl.d/99-oomkiller.conf

    ```

    "Iron Reserve" that can not be consumed by rogue tasks

    vm.admin_reserve_kbytes = 1024000

    0 = extensive heuristic scan of joblist (system doesn't have the power for that, when oomkiller is needed). Can shoot the wrong task

    1 or more = kills the first task with condition "out of memory"

    vm.oom_kill_allocating_task = 1 ```

    Yet somehow i still got in a livelock. So i remembered nohang and found in it's readme about mgrlu. I found some documentation to it but it only provides runtime examples (already enabled but set to 0 on Artix, /sys/kernel/mm/lru_gen/min_ttl_ms should be 1000).

    How should i set this permanently, sysctl doesn't accept min_ttl_ms. Via kernel, via local.d script (non-systemd, dinit)?

    Why doesn't my config above work?

    Any recommendation to runtime-services? (earlyoom for my server i guess)

    0
    www.bbc.com The real reason men grow beards

    You might think all the facial hair you’re seeing on the street is a way of attracting a mate. It might not be so simple.

    The real reason men grow beards
    50