Rick_C137

joined 2 years ago
[–] Rick_C137@programming.dev 1 points 2 months ago

Too bad it's on Youtube.. Someone know another place where is it hosted ? I would like to download it for archive purpose. Thanks.

 

cross-posted from: https://programming.dev/post/37077607

Hi,

I would like to get all the range of IP of the GAFAM and few more..

Preferred

  • trough the Terminal ( Linux ) or Python.
  • no sign-up of any form.
  • obviously FLOSS

Thanks.

[–] Rick_C137@programming.dev 1 points 3 months ago

Thank you @sloppy_diffuser@sh.itjust.works

I can't navigate on the https://www.zimaspace.com/ it such a mess

The odroid-h4 seem good. I'll add it to my list.

[–] Rick_C137@programming.dev 2 points 3 months ago* (last edited 3 months ago)

Thank you @BrikoX@lemmy.zip

Unfortunately the Rock Pi X is discontinued.

Due to part shortage, we have unfortunately discontinued ROCK Pi X in 2022.

For the Atomic PI I found no where to order it..

But I'll bookmark https://hackerboards.com/ !

 

cross-posted from: https://programming.dev/post/36014616

Hi,

is it exist cheap ~$60 SBC in X86-64 ??

No thank you for Rapsberry PI
I used Raspberry PI SBC for a while now.

But it's really hard to found a Linux distribution that support

  • RPI (arm64)
  • sysVinit 💖
  • And that I like

Please don't bring systemD in this discussion thanks.

[^1]:

 

cross-posted from: https://programming.dev/post/36014616

Hi,

is it exist cheap ~$60 SBC in X86-64 ??

No thank you for Rapsberry PI
I used Raspberry PI SBC for a while now.

But it's really hard to found a Linux distribution that support

  • RPI (arm64)
  • sysVinit 💖
  • And that I like

Please don't bring systemD in this discussion thanks.

[^1]:

[–] Rick_C137@programming.dev 1 points 3 months ago

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

[–] Rick_C137@programming.dev 1 points 3 months ago* (last edited 3 months ago)

Thank you @ramble81@lemmy.zip 👍
Post saved !

[–] Rick_C137@programming.dev 1 points 4 months ago* (last edited 4 months ago)

Actually I don't think the error lay in the regex.

because

	location /fileA.txt {
		return 404 'nothing here';
	}

Does not works either...

[–] Rick_C137@programming.dev 2 points 4 months ago

.md is correct, it's a test.

[–] Rick_C137@programming.dev 1 points 4 months ago* (last edited 4 months ago) (2 children)

Thanks @elbucho@lemmy.world

I've tried

	location ~* \/(fileA\.txt|fileB\.md)$ {
		return 404 'nothing here';
	}

but still not matching :'(

[–] Rick_C137@programming.dev 1 points 4 months ago

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

[–] Rick_C137@programming.dev 2 points 4 months ago* (last edited 4 months ago) (1 children)

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

11
submitted 4 months ago* (last edited 3 months ago) by Rick_C137@programming.dev to c/webdev@programming.dev
 

Hi,

I have this rule in my nginx config file

	location ~* \/(fileA.txt|fileB.txt)$ {
		return 404 'nothing here';
	}

but it's not working

but

	location /fileA.txt {
		return 404 'nothing here';
	}

~~is working....~~

Any idea what's wrong ?

Thanks.

 

cross-posted from: https://programming.dev/post/34280775

Hi,

I've recently installed FreeNginx[^FN]

I would like to use the geoip_module to have some "Stats" about my visitors..\

on the documentation we can read:

... using the precompiled MaxMind databases ...

.
.
.

But on the MaxMind website I'm facing a wall:

Sorry, we were not able to create your account. Please ensure that you are using an email that is not disposable, and that you are not connecting via a proxy or VPN.

So not working... And anyway I'm not a fan of using something compiled and more over not open source...

So do you know another solution to get GeoIP data with FreeNginx ?

Thanks.

[^FN]: https://freenginx.org/
https://programming.dev/post/12566209?sort=Old

 

cross-posted from: https://programming.dev/post/34280775

Hi,

I've recently installed FreeNginx[^FN]

I would like to use the geoip_module to have some "Stats" about my visitors..\

on the documentation we can read:

... using the precompiled MaxMind databases ...

.
.
.

But on the MaxMind website I'm facing a wall:

Sorry, we were not able to create your account. Please ensure that you are using an email that is not disposable, and that you are not connecting via a proxy or VPN.

So not working... And anyway I'm not a fan of using something compiled and more over not open source...

So do you know another solution to get GeoIP data with FreeNginx ?

Thanks.

[^FN]: https://freenginx.org/
https://programming.dev/post/12566209?sort=Old

[–] Rick_C137@programming.dev 1 points 4 months ago

In contrast to Flatpak and Snap, the AppImage package itself is the final executable program.
This means there’s no installation needed... and it simpler..

 

Hi,

A little question for the devs of CoMaps. Is a build for Linux (.appimage) is planned ? 🙏

Thanks.

 

Hi Raspberry Pi Community,

I would like to use radio remote's control to trigger an events on my Raspberry pi.

I guess I'll go with 433Mhz as I believe they are the most common available ?

So I will need a 433Mhz RX/TX Module to connect on the GPIO, so far I get it...

But how properly secure the communication between those remotes and the RPI to avoid any anyone to sniff the transmitting and replay it. In other words spoof it.

Wubba Lubba dub-dub...

 

Hi,

I'm using (like a lot of us, I presume ) Mozilla MDN

But I just discover that they display advertise :'(

Damn that think (MDN doc) is run by committer (I did post few thing on it) and they display advertise ! f**king hell ! Can I have my cut 💵 then ?

beside jokes, do you know good (decentralized ?) alternative to mdn docs ?
Thanks.

 

Hi,

I've discover haml and pug [^1] ( both web template engine )

It's totally Pytonic ! ( and make even more sense to use it with python rather than JS 🤮 )

I've look, if it exist for Python, but so far, I've found only

The first, only convert pug into another template :/
The second, didn't pass the alpha version.
The third, require dependence, not maintained etc.. \

So I didn't found a Python package that could do haml/pug to html directly, without too much dependence...

For example:

From

html
  head title Example for Python discuss
  body
    h1 Hello world
    p This is a paragraph.

To

<html>
  <head>
    <title>Example for Python discuss</title>
  </head>
  <body>
    <h1>Hello world</h1>
    <p>This is a paragraph.</p>
  </body>
</html>

Do you know if such thing exist ?
If not, I will build my own (FLOSS). ( I'm open to any advice to do so :) )

Thanks

[^1]:Pug is a template engine heavily influenced by Haml and implemented with JavaScript 🤮 for Node.js

 

cross-posted from: https://programming.dev/post/21294559

Hi,

I'm following my previous post
How encrypt email with a GnuPG public key ? [ solved ]

So I managed to encrypt the email body with GnuPG public key.. But I don't figure how I can do the same for the title ?!
ThunderBird manage it.. any idea how ?
asked on Official Thunderbird forum

Thanks.

12
submitted 1 year ago* (last edited 1 year ago) by Rick_C137@programming.dev to c/python@programming.dev
 

Hi,

I'm following my previous post
How encrypt email with a GnuPG public key ? [ solved ]

So I managed to encrypt the email body with GnuPG public key.. But I don't figure how I can do the same for the title ?!
ThunderBird manage it.. any idea how ?
asked on Official Thunderbird forum

Thanks.

view more: next ›