This documents an example of how to offer both PhotoSwipe v5 and Lightbox2 in one project.
PhotoSwipe helps to make the photo clickable, and then it'll zoom for the user and create a gallery, you can call the photo _include
:
using System; | |
using System.Collections.Generic; | |
using System.Linq; | |
using System.Threading; | |
using Microsoft.Diagnostics.Runtime; | |
namespace ClrmdAsyncLocal | |
{ | |
internal class Program | |
{ |
This documents an example of how to offer both PhotoSwipe v5 and Lightbox2 in one project.
PhotoSwipe helps to make the photo clickable, and then it'll zoom for the user and create a gallery, you can call the photo _include
:
Source: https://x.com/LundukeJournal/status/1940441670098809093
Hence, if you are interested in existing applications to "just work" without the need for adjustments, then you may be better off avoiding Wayland.
Wayland solves no issues I have but breaks almost everything I need. Even the most basic, most simple things (like xkill
) - in this case with no obvious replacement. And usually it stays broken, because the Wayland folks mostly seem to care about Automotive, Gnome, maybe KDE - and alienating everyone else (e.g., people using just an X11 window manager or something like GNUstep) in the process.
{ | |
"mode": "patterns", | |
"proxySettings": [ | |
{ | |
"address": "127.0.0.1", | |
"port": 8080, | |
"username": "", | |
"password": "", | |
"type": 1, | |
"title": "127.0.0.1:8080", |
Use your text editor of choice or if you don't have one use Windows Notepad
Opening with Notepad may or may not result in a fancy mess
%appdata%/Spotify
¤storage.size=1024
#!/usr/bin/env python3 | |
""" | |
This script recovers the RSA public key that was used to make signatures, given | |
any two such signatures in X.509 certificates. Python 3 is required, along with | |
recent versions of pyasn1, pyasn1-modules, and pyprimes. Runtime is nearly | |
instantaneous when the public key uses e=3, and 3+ hours when the public key | |
uses e=65537. (This could be vastly improved by using a more efficient GCD | |
library function) To recover a public key, run this script with the file names | |
of two certificates as command line arguments. Certificates can be in PEM or | |
DER format. |
## AWS | |
# from http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-instance-metadata.html#instancedata-data-categories | |
http://169.254.169.254/latest/user-data | |
http://169.254.169.254/latest/user-data/iam/security-credentials/[ROLE NAME] | |
http://169.254.169.254/latest/meta-data/iam/security-credentials/[ROLE NAME] | |
http://169.254.169.254/latest/meta-data/ami-id | |
http://169.254.169.254/latest/meta-data/reservation-id | |
http://169.254.169.254/latest/meta-data/hostname | |
http://169.254.169.254/latest/meta-data/public-keys/0/openssh-key |
Side note: The latest edge build of KeeAgent plugin offers an option for creating a WSL compatible socket. This would be very handy. I already tried to use that socket, but the socket file is currently empty and ssh
inside WSL 2 is unable to use it. This appears to be a very new, unreleased and unstable feature. I will follow the development of it and when it finally works (well, for me) I will update this HOWTO. But until then, please use the proven wsl-ssh-agent
/npiperelay.exe
approach below.
Thanks to the instructions for WSL 2 of the wsl-ssh-agent
project, KeeAgent works great in WSL 2 now:
https://github.com/rupor-github/wsl-ssh-agent#wsl-2-compatibility
The approach uses minimal and well-maintained tools.
This is a step-by-step guide on how to enable auto-signing Git commits with GPG for every applications that don't support it natively (eg. GitHub Desktop, Eclipse, Git Tower, ...)