SpongeB0B

joined 1 year ago
 

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

Hi,

I'm looking for a soft to create ASCII diagram like (or better) https://asciiflow.com/

ideally:

  • FLOSS
  • for linux
  • offline
  • no javascript.

I've found a candidate ascii-draw and it's write in Python ❤️ 🐍, but it's only available as flatpack.. :/

[–] SpongeB0B@programming.dev 2 points 1 month ago

RSS guard NoWebEngine version

 

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

Hi,

I would like to forward packets that come from a wireguard connection to a local subnet

environment
  • Client: connected to server trough wireguard IP 192.168.X.2
  • server: connected to Client trough wireguard IP 192.168.X.1 and 192.168.Y.1 ( it's not systemd free ¯\(ツ)/¯  )
  • aMachine: on the same subnet as server IP 192.168.Y.2

   

on the server I've done

#I don't know if this is necessary ?
echo "net.ipv4.ip_forward=1" >> /etc/sysctl.conf
sysctl --system

I've added the following rule to my nftables config but it seem the packet get lost ?

#added inside existing table `table ip Tip {}`
chain chPreRoute {
type nat hook prerouting priority 0; policy accept;
iif wg0 icmp type echo-request dnat to 192.168.Y.2
}
[–] SpongeB0B@programming.dev 1 points 11 months ago

Thank you @gerbercj@lemmy.world sadly it's hosted on google ... :/ https://issuetracker.google.com

If I post here on lemmy, me feature request somebody would be kind to submit to google ?

Thanks.

[–] SpongeB0B@programming.dev 2 points 11 months ago

it's related to the GPS fix. So which is it ?

 

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

Hi,

I was a very long time I didn't need to created a animated gif... I had a program before to take a static images (.jpg, .png etc..) and convert then into an animated gif..

All the web search engine push for online (aka SaaSS) tool 🤮

Do you know a program that do that ( Linux )

Thanks.

 

Hi,

I was a very long time I didn't need to created a animated gif... I had a program before to take a static images (.jpg, .png etc..) and convert then into an animated gif..

All the web search engine push for online (aka SaaSS) tool 🤮

Do you know a program that do that ( Linux )

Thanks.

 

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

Hi,

I would like to use a rectangle that move (left to right) to reveal an element / image

like this

The white box shall be the image to display

But I'm already block at my svg animation

<svg viewBox="0 0 265.135 68.642" xmlns="http://www.w3.org/2000/svg">
<g x="-55.790085" y="0.79151762">
    <rect
       style="fill:#ffcc00;stroke-width:2.46513;stroke-linecap:round;stroke-linejoin:round;paint-order:stroke fill markers;stop-color:#000000"
       width="55.465603"
       height="151.60599"       
       transform="rotate(45)" />
       <animate
      attributeName="x"
      values="-55.790085;265"
      dur="5s"
      repeatCount="indefinite" />
  </g>
</svg>

Because the rectangle is not moving :'(

Any ideas ?

Thanks.

 

Hi,

I would like to use a rectangle that move (left to right) to reveal an element / image

like this

The white box shall be the image to display

But I'm already block at my svg animation

<svg viewBox="0 0 265.135 68.642" xmlns="http://www.w3.org/2000/svg">
<g x="-55.790085" y="0.79151762">
    <rect
       style="fill:#ffcc00;stroke-width:2.46513;stroke-linecap:round;stroke-linejoin:round;paint-order:stroke fill markers;stop-color:#000000"
       width="55.465603"
       height="151.60599"       
       transform="rotate(45)" />
       <animate
      attributeName="x"
      values="-55.790085;265"
      dur="5s"
      repeatCount="indefinite" />
  </g>
</svg>

Because the rectangle is not moving :'(

Any ideas ?

Thanks.

 

Hi everyone,

Does someone know where I can submit a feature suggestion for Android ?

Thanks

12
submitted 11 months ago* (last edited 11 months ago) by SpongeB0B@programming.dev to c/inkscape@lemmy.world
 

Hi,

is it possible to convert a path like this one

To a series of "line" stroke that are draw in the middle ? Like this (in green)

Thanks.

[–] SpongeB0B@programming.dev 1 points 11 months ago

Are you owning the DoH endpoint ? if not, they can :)

[–] SpongeB0B@programming.dev 1 points 11 months ago (2 children)

I live in a country where the state doesn’t care about what people do online.

Lucky YOU !!!!, but it's not meaning other country will not track you...

What similar quick image sharing site should I use?

It's a really good question ! Sadly a lot of website admin do not understand the harm to use solution like Cloudflare etc... see https://stallman.org/cloudflare.html for a short introduction

I think it would be wise to open a topic for that question only

And again thanks four your inkscape solution

[–] SpongeB0B@programming.dev 2 points 11 months ago (4 children)

Thank you ! @infeeeee I didn't know the transformation handles Side note: be aware that files.catbox.moe seem to block TOR user :/

 

Hi,

Is it possible with Inkscape to squeeze a shape in a mirror way (sorry I don't know how to phrase it better) \

Here a gif from a rasterize/pixel editor with what I'm looking for

The same question on the official inkscape forum WTF the fuck happen to peoples ? Internet should not be a place where everyone could express, share what he want ?!

I'm glad their is Lemmy, so quick and easy

[–] SpongeB0B@programming.dev 2 points 11 months ago (1 children)

Thank you ! it works !

Actually this is working :

path/to/venv/bin/gunicorn A_Web_App:app

Some other poster, claim it's dirty.. but which problems could it generate ? (if any)

Thanks all !!!!

[–] SpongeB0B@programming.dev 1 points 1 year ago* (last edited 1 year ago) (4 children)

I don't want to make the venv portable...
I want to use the gunicorn that is installed in one venv accessible to other venv

 

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

Hi,

I use gunicorn in my venv

I have quite few venv that run gunicorn.

I would like to reuse gunicorn for other venv

I launch my web application like this

#PWD = venv dir
source ./bin/activate
gunicorn A_WebApp:app
#A_WebApp is my python file A_WebApp.py

I supposes that gunicorn is a shell program ? if yes I should use $PATH ?
or gunicorn is a Python program only ? and then what I should do to use gunicorn in another venv ?

Thanks.

 

Hi,

I use gunicorn in my venv

I have quite few venv that run gunicorn.

I would like to reuse gunicorn for other venv

I launch my web application like this

#PWD = venv dir
source ./bin/activate
gunicorn A_WebApp:app
#A_WebApp is my python file A_WebApp.py

I supposes that gunicorn is a shell program ? if yes I should use $PATH ?
or gunicorn is a Python program only ? and then what I should do to use gunicorn in another venv ?

Thanks.

[–] SpongeB0B@programming.dev 4 points 1 year ago* (last edited 1 year ago) (1 children)

ok I've found a work around

<style>
.FlexColumn {display: flex;flex-flow: column nowrap }
.FlexColumn > div {display: inline-block; margin: -4px 0}
</style>

<div class="FlexColumn">
	<div>X</div>
	<div>X</div>
	<div>X</div>
	<div>X</div>
	<div>X</div>
</div>

But if someone have something more proper, I'm all ears.

 

Hi,

No matter what I try


<style>
.FlexColumn {display: flex;flex-flow: column nowrap }
</style>

<div class="FlexColumn">
	<div>X</div>
	<div>X</div>
	<div>X</div>
	<div>X</div>
	<div>X</div>
</div>
<!-- I tried many CSS trick here... -->
<div>
   <span>X</span><br><span>X</span><br><span>X</span><br><span>X</span>
</div>

I always get a vertical gap between the characters !

Any ideas ?

Thanks.

[–] SpongeB0B@programming.dev -2 points 1 year ago* (last edited 1 year ago) (2 children)

AppImage !

  • Open format? Yes
  • Free format? Yes
  • Fully Contained Single Executable Support . Like an exe file for Windows systems Yes (the only one)
  • App Size** The lowest** !

https://en.wikipedia.org/wiki/AppImage

Matrix
https://www.fosslinux.com/42410/snap-vs-flatpak-vs-appimage-know-the-differences-which-is-better.htm
https://phoenixnap.com/kb/flatpak-vs-snap-vs-appimage \

[–] SpongeB0B@programming.dev 2 points 1 year ago (1 children)

Thank you very much @taaz

So you say 2 but with unix socket so it the same as my proposal number 3 ? no ?

I'll check capabilities

[–] SpongeB0B@programming.dev 3 points 1 year ago (1 children)

indeed I need it to be scriptable.

view more: next ›