Skip to content

Instantly share code, notes, and snippets.

View tsilvs's full-sized avatar
🏠
Working from home

Seva Tsiliurik tsilvs

🏠
Working from home
View GitHub Profile
@tsilvs
tsilvs / CV.TPL.md
Last active September 6, 2025 12:50
CV Template Markdown
<style> @hf-pushed { size: A4; margin: 20mm; } section#header, section#header > h1, section#header > p { text-align: center; display: block; }
@tsilvs
tsilvs / Replace distutils.spawn.find_executable with shutil.which
Created October 26, 2025 11:26 — forked from mogoh/Replace distutils.spawn.find_executable with shutil.which
Utility for making Flatpak-installed apps available in the terminal through their normal command names
#!/usr/bin/env python3
"""Flatpak CLI Shortcut Generator
A simple no-argument tool that generates launchers with traditional non-flatpak
command names for your installed Flatpak applications in ~/.local/bin/flatpak.
Does full collision detection and warns you if you forgot to add its output
directory to your PATH. Also overrules the command-line specified in the
``.desktop`` file if the Flatpak maintainer didn't include support for
command-line arguments.