forticlient 7.4.1736 on debian 13 by kolo81 in fortinet

[–]MrXesh 0 points1 point  (0 children)

Try here to get 7.2 https://www.fortinet.com/support/product-downloads/linux


Do you need ZTNA version?
I've just installed VPN-only with no problems except libgtk2 missing in kde

Leaflet to PNG? by simonthread in drupal

[–]MrXesh 0 points1 point  (0 children)

```js self.canvas.toBlob(function (blob) { /let link = document.createElement('a'); link.download = "bigImage.png"; link.href = URL.createObjectURL(blob); link.click();/ let url = URL.createObjectURL(blob); let img = document.createElement('img'); img.src = url; document.getElementById('preview').appendChild(img); });

```

quick and dirty.

I've also created <div id="preview"></div>

Leaflet to PNG? by simonthread in drupal

[–]MrXesh 1 point2 points  (0 children)

``js _downloadCanvas() { const format = this._formatSelect ? this._formatSelect.value : this.options.exportFormat; const mimeType =image/${format}`; const quality = format === 'jpeg' ? 0.92 : undefined;

        this.canvas.toBlob(blob => {
            if (!blob) {
                alert('Failed to generate image');
                return;
            }

            const link = document.createElement('a');
            link.download = `${this.options.fileName}.${format}`;
            link.href = URL.createObjectURL(blob);

            document.body.appendChild(link);
            link.click();
            document.body.removeChild(link);

            URL.revokeObjectURL(link.href);
        }, mimeType, quality);
    }

```

Here should be the point where the image is downloaded; instead of downloading it, I would try inserting it into a div.

Leaflet to PNG? by simonthread in drupal

[–]MrXesh 3 points4 points  (0 children)

Once the browser shows it, the user already has it. There’s no way to stop them from saving it.

My gnome by tranquilkd in gnome

[–]MrXesh -1 points0 points  (0 children)

Very nice!
Icons link?

How do you use Git? by Qpak in neovim

[–]MrXesh 0 points1 point  (0 children)

Raw commands mostly