Skip to content

Instantly share code, notes, and snippets.

View genaix's full-sized avatar

Evgeniy Z genaix

  • Moscow
View GitHub Profile
@e7d
e7d / remove-obsolete-gpg-key-from-dnf.md
Last active October 23, 2025 20:39
Remove obsolete GPG key from DNF (Fedora)
@ishikawash
ishikawash / window_activation.py
Created May 11, 2021 12:52
Activate window by process ID in Python
# ref: https://sjohannes.wordpress.com/tag/win32/
from __future__ import print_function
import ctypes
from ctypes import windll
import sys
Win32 = windll.user32
EnumWindowsProc = ctypes.WINFUNCTYPE(ctypes.c_int, ctypes.POINTER(ctypes.c_int), ctypes.POINTER(ctypes.c_int))