Skip to content

Instantly share code, notes, and snippets.

View andry81's full-sized avatar
💭
quack

andry81 andry81

💭
quack
  • Russian Federation
View GitHub Profile
@andry81
andry81 / git-pull-all
Created December 30, 2023 17:48 — forked from grimzy/git-pull-all
Git pull all remote branches
#!/usr/bin/env bash
git branch -r | grep -v '\->' | while read remote; do git branch --track "${remote#origin/}" "$remote"; done
git fetch --all
git pull --all
@andry81
andry81 / git_branching_rules.md
Last active January 23, 2024 15:13
Git branches organization
  • git_branching_rules.md
  • 2024.01.23
  1. DESCRIPTION
  2. RULES
  3. FILES

  1. DESCRIPTION

@andry81
andry81 / Wayland.md
Created December 25, 2023 15:08 — forked from probonopd/Wayland.md
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

@andry81
andry81 / winsxs_ntfs_compress.bat
Created December 2, 2023 06:30 — forked from neremin/winsxs_ntfs_compress.bat
WinSxS folder compression script
@ECHO off
net session >nul 2>&1
IF %ERRORLEVEL% NEQ 0 GOTO ELEVATE
@GOTO ADMINTASKS
:ELEVATE
ECHO Elevated privileges are temporarily required to run script
cd /d %~dp0
mshta "javascript: var shell = new ActiveXObject('Shell.Application'); shell.ShellExecute('%~nx0', '', '', 'runas', 1); close();"
@andry81
andry81 / changelog_file_vs_scm_commit_log.md
Last active March 14, 2024 13:41
Changelog files organization
  • changelog_file_vs_scm_commit_log.md
  • 2024.03.14
  1. DESCRIPTION
  2. REPOSITORY DIRECTORIES EXAMPLE
  3. FORMAT DESCRIPTION
  4. EXPLANATION
  5. DEVELOPMENT TOOLS
  6. RELATED RESOURCES
  7. KNOWN ISSUES