Software developer interested into security and sustainability.
- 0 Posts
- 77 Comments
You’re right, apparently amongst other things there are some hooks that are ran during the package’s lifecycle in something that is called the control archive.
Actually it’s just an archive. It can be easily extracted using
dpkg -x *.deb ~/.localfor example.
ClemaX@lemm.eeto
Selfhosted@lemmy.world•That's all folks, Plex is starting to charge for sharingEnglish
34·8 months agoFuck them, glad I switched to Jellyfin years ago.
ClemaX@lemm.eeto
Sysadmin@lemmy.world•TLS Certificate Lifetimes Will Officially Reduce to 47 Days (in 2029)
6·8 months agoTrue. Technically the bounds for the validity period are from Jan 1, 1950 to Dec 31, 9999.
Yeah I think they mean zero XOR fewer.
Would you provide a free mail service?
ClemaX@lemm.eeto
Programming@programming.dev•Make my application extendable by "mods"?
17·9 months agoEval is bad for security boundaries and the string based approach is a pain to develop and maintain. An alternative that is equally bad for security but better for development would be dynamic imports using importlib.
If you want to support custom scripts while enforcing security boundaries, you could use an embeddable interpreter like lua, or create your own.
ClemaX@lemm.eeto
Showerthoughts@lemmy.world•X88B88 is the word "voodoo" with a reflection.
9·9 months agoE8XIB¹⁹
It all makes sense when you think about the way it will be parsed. I prefer to use newlines instead of semicolons to show the blocks more clearly.
for file in *.txt do cat "$file" doneThe
doanddoneserve as the loop block delimiters. Such as{and}in many other languages. The shell parser couldn’t know where stuff starts/ends.Edit: I agree that the
then/fi,do/donecase/esacare very inconsistent.Also to fail early and raise errors on uninitialized variables, I recommend to add this to the beginning of your bash scripts:
set -euo pipefailOr only this for regular sh scripts:
set -eu-e: Exit on error-u: Error on access to undefined variable-o pipefail: Abort pipeline early if any part of it fails.There is also
-xthat can be very useful for debugging as it shows a trace of every command and result as it is executed.
ClemaX@lemm.eeto
No Stupid Questions@lemmy.world•Are there any programming languages with the same syntax as rust (or similar)?
2·10 months agoRust is special regarding references but Kotlin reads similarly.
ClemaX@lemm.eeto
Programming@programming.dev•Firebase alternative recommendation based on your experience?
2·11 months agoWhat are you missing on Firebase?
The quieter you become, the more you are able to hear – Rumi
This + node_exporter.
ClemaX@lemm.eeto
Technology@lemmy.world•O2 deploys AI granny against scammers • The RegisterEnglish
3·1 year agoAh least they would need to know it first.
I don’t think that browsers do that. There is HSTS but I think that it only checks if the connection is using TLS.
I think you may want to use
for device in /dev/disk/by-uuid/*That doesn’t explain why you aren’t seeing messages. I see there is a shebang at the start of the script. Can you confirm that the script has the executable bit set for the root user?






It is an issue in a managed environment such as on corporation or school PCs.