Thank you all for yours input
What finally did work
if [[ -z VARIABLE1 && -z VARIABLE2 ]]; then
echo "OK"
fi
If only Linux was using Python syntax that would be so much more intuitive…
Thank you all for yours input
What finally did work
if [[ -z VARIABLE1 && -z VARIABLE2 ]]; then
echo "OK"
fi
If only Linux was using Python syntax that would be so much more intuitive…
not working, both variables do not exist and the echo "OK" do not trigger.
Thank you all for your input’s !
As I’m not familiar enough with BGP, AS etc…
I think I’ll go for the list generated by
https://github.com/lord-alfred/ipranges
https://github.com/sakib-m/IP-Prefix-List
To start with.
Then I’ll see if it’s possible to gather those IP ranges without relying on third party services…
but that seem unfeasible without be connect to a Internet Exchange Point (IXP) right ?
Thank you @WarmApplePieShrek@lemmy.dbzer0.com Are you sure your link is correct ? I get
This page does not seem to exist…
Thank you all for your input’s ! \
So I have created a table , that I’ll put in my first post.
Feel free to post update like
|brand|model|Price €|GPIO pair|CP|Lan Ports|idle watt|Surface area cm²|Storage ports| WiFi / BT|url|
|Raspberry Pi|Pi 5 B (4GB)|52|12|Quad-core Cortex-A72 (ARM v8) 64-bit SoC @ 1.5GHz.|1x 1GbE|3|47|SD|||
or even without the row header
Thanks @Frederic@beehaw.org
Yes, Nice distro, but unfortunately their RPI respin use systemD 👎
https://forum.mxlinux.org/viewtopic.php?t=85188


Finally it works as it should I update my old nginx version to newest freenginx and read Thoroughly the location documentation and this post thanks to @ramble81@lemmy.zip


Actually I don’t think the error lay in the regex.
because
location /fileA.txt {
return 404 'nothing here';
}
Does not works either…


Thanks @elbucho@lemmy.world
I’ve tried
location ~* \/(fileA\.txt|fileB\.md)$ {
return 404 'nothing here';
}
but still not matching :'(


Apparently ngx_http_rewrite_module “module” is installedby default with nginx… damn thay should use diffrent terms for what could be install or not at compile time…


Never mind, I understood my mistake…
This nginx built didn’t come with ngx_http_rewrite_module so return will not works.


I don’t see python on your image :)


I finally manage to encrypt the body trough ptyhon-gnupg ( warning their documentation is still in alpha stage. )
now, remain to encrypt the subject (ThunderBird compatible) if you have any clues I’m all ears
When time permit I will publish my code in a pastbin.
Wubba Lubba dub-dub**


indeed, but a lot of Linux distribution come with it :)
otherwise it’s installable.


instead of using a library I can directly use subprocess with gnupg but in both case it seem gnupg require to import the public key to the keyring !? I don’t want that.
setfacl -m m:r aFile
#re set the mask
solve the problem, but the question is: why the F**** this is happening !?
Update, this is only happening when I copy files from a ~SMB share… :'(
Otherwise it’s correct…


Thank you all !
Indeed setting execute perm on example, sub1, sub2, static
The program/user have now access to the directory.
In order words all the parents directory need at least execute in order to have access in the targeted directory…
Now I gave 751 for static. Meaning than others (here nginx) cannot list the files within. But never the less it works
the static files are appearing when requested (HTTP) but forbidding nginx to list the directory is changing something ? (performance/security)
Thanks
Too bad it’s on Youtube… Someone know another place where is it hosted ? I would like to download it for archive purpose. Thanks.