Skip to content

Instantly share code, notes, and snippets.

View alkuzad's full-sized avatar

Dawid Gosławski alkuzad

View GitHub Profile
@probonopd
probonopd / Wayland.md
Last active June 29, 2024 15:38
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.

Wayland proponents make it seem like Wayland is "the successor" of Xorg, when in fact it is not. It is merely an incompatible alternative, and not even one that has (nor wants to have) feature parity (missing features). And unlike X11 (the X Window System), Wayland protocol designers actively avoid the concept of "windows" (making up incompr

@curran
curran / .block
Last active June 7, 2024 02:16
Compare Colors
license: mit
@jart
jart / fastio.py
Created October 23, 2016 06:44
Multithreaded Python os.walk
# Copyright 2016 The TensorFlow Authors. All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
@coderaaron
coderaaron / pre-commit
Created May 12, 2014 14:10
Pre-commit hook to bump version number
#!/bin/sh
# Standard WUSM version numbering:
# year.month.day.commit
#
# This script searches all files in the git repo
# and bumps the version number
new=$(date +"%y.%m.%d.0")
a=( ${new//./ } )
file=$(grep -lir "Version:" *.php)
@mitfik
mitfik / devise.pl.yml
Last active October 15, 2023 09:18
devise.pl.yml
# Additional translations at https://github.com/plataformatec/devise/wiki/I18n
pl:
devise:
confirmations:
confirmed: "Twoje konto zostało aktywowane. Zostałeś pomyślnie zalogowany."
send_instructions: "Za chwilę otrzymasz email z instrukcją jak aktywować konto."
send_paranoid_instructions: "Jeśli Twój adres email istnieje w naszej bazie, za chwilę powinieneś otrzymać instrukcję jak aktywować konto."
failure:
already_authenticated: "Jesteś aktualnie zalogowany."
@marktheunissen
marktheunissen / pedantically_commented_playbook.yml
Last active June 5, 2024 22:16 — forked from phred/pedantically_commented_playbook.yml
Insanely complete Ansible playbook, showing off all the options
This playbook has been removed as it is now very outdated.