Skip to content

Instantly share code, notes, and snippets.

View dko1905's full-sized avatar

Daniel Florescu dko1905

View GitHub Profile
@probonopd
probonopd / Wayland.md
Last active July 17, 2024 17:04
Think twice about Wayland. It breaks everything!

Think twice before abandoning Xorg. Wayland breaks everything!

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.

The Wayland project seems to operate like they were starting a greenfield project, whereas at the same time they try to position Wayland as "the X11 successor", which would clearly require a lot of thought about not breaking, or at least providing a smooth upgrade path for, existing software.

In fact, it is merely an incompatible alternative, and not e

@Luxato
Luxato / camera.py
Last active April 23, 2024 06:34
Take picture from USB camera with python
import cv2
import imutils
import time
cap = cv2.VideoCapture(0)
ret, frame = cap.read()
def takePicture():
(grabbed, frame) = cap.read()
showimg = frame
@pullmoll
pullmoll / for_descendants.txt
Last active April 19, 2023 08:10
Some thoughts...
Personally, I was never ambitious enough to spur my own descendants.
Yet this world and all the descendants of millions of people need to be thought about.
They deserve it to be left with a planet and people who are above my generation's average capacity.
My couple of suggestions to everyone who is involved with or has influence on the coming development:
1) Refrain from jealousy. Granting everything to anyone is a good start.
2) Don't waste your time with malicious gossip. It'll return to you rather sooner than later.
3) If you like someone, tell them. The day when it will be too late to speak out is coming soon.
4) Kindliness brings you US$ 0.00 per barrel. Sell it!
@probonopd
probonopd / linux_fusion360.md
Last active May 21, 2024 07:40
Autodesk Fusion 360 on Linux

Autodesk Fusion 360 on Linux

In the Web Browser

Ubuntu, Fedora, openSUSE, CentOS, SUSE Linux Enterprise, Debian,... users can finally use Autodesk Fusion 360 in the Linux Browser now.

https://myhub.autodesk360.com

On Chromium 55.0.2843.0 I get NET::ERR_CERTIFICATE_TRANSPARENCY_REQUIRED.