Software developer interested into security and sustainability.
- 0 Posts
- 34 Comments
ClemaX@lemm.eeto
Selfhosted@lemmy.world•That's all folks, Plex is starting to charge for sharingEnglish
34·1 year 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·1 year agoTrue. Technically the bounds for the validity period are from Jan 1, 1950 to Dec 31, 9999.
ClemaX@lemm.eeto
Showerthoughts@lemmy.world•X88B88 is the word "voodoo" with a reflection.
10·2 years 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.
Rust is special regarding references but Kotlin reads similarly.
ClemaX@lemm.eeto
Asklemmy@lemmy.ml•What's a piece of advice you think everyone can benefit from?
5·2 years agoThe quieter you become, the more you are able to hear – Rumi
This + node_exporter.
I don’t think that browsers do that. There is HSTS but I think that it only checks if the connection is using TLS.
ClemaX@lemm.eeto
Asklemmy@lemmy.ml•With prime day coming up, I'd like to know what you aren't gonna buy.
1·2 years agoI’m not buying anything, as I do not need anything.
Pepper itself is overrated. At least the black one.
But the aerosols would also amplify the green house effect right?
Files could be decrypted by the end user. The OS itself could remain unencrypted.
We growing wiser, or are we just growing tall?
- Damian Marley
Nginx is pretty easy to set up. Look up “nginx virtual hosts”. You might want to use certbot/acme if you don’t have SSL certificates for your domain names. You need either a wildcard certificate (*.example.com), a certificate with SAN (Subject Alternative Name) containing the second subdomain, or two certificates (one for each subdomain). Note that subdomains can be found more easily than path based websites, if you allow connections from the whole WAN.





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