MonkderDritte

joined 7 months ago
[–] MonkderDritte@feddit.de 2 points 3 months ago

Yeah, push is a play services thing.

[–] MonkderDritte@feddit.de 5 points 3 months ago

At my org the security is so heavy

Yet you allow some rando software with evelated privileges to run their own updates?

[–] MonkderDritte@feddit.de 2 points 4 months ago (1 children)

They can do that, with the few overworked people remaining?

[–] MonkderDritte@feddit.de 5 points 4 months ago* (last edited 4 months ago) (1 children)

Two partitions for a live linux, the second for home and other data. It can come in handy, if you're on linux.

[–] MonkderDritte@feddit.de 1 points 4 months ago (2 children)

Medieval Dynasty?

[–] MonkderDritte@feddit.de 23 points 4 months ago (2 children)

iOS version is in the works but there's something similiar online too.

[–] MonkderDritte@feddit.de 19 points 4 months ago* (last edited 4 months ago)

But they all have the problem of increasing humidity and not working if the air is saturated.

[–] MonkderDritte@feddit.de 4 points 4 months ago* (last edited 4 months ago)

Is trust score 0 good or bad? I use uBlock with canvas blocker (fakes canvas) and some settings like referer.xorigin.trimming.

[–] MonkderDritte@feddit.de 1 points 4 months ago* (last edited 4 months ago)

regular backups (see below) of things like /etc

There's etckeeper too.

Btw, etc is for system/default settings.

 

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.

 

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...

 

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...

 

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?

34
submitted 6 months ago* (last edited 6 months ago) by MonkderDritte@feddit.de to c/linux_gaming@lemmy.ml
 

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'.

14
submitted 6 months ago* (last edited 6 months ago) by MonkderDritte@feddit.de to c/linux@lemmy.ml
 

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)

view more: next ›