Skip to content

Instantly share code, notes, and snippets.

@timlau
timlau / group-api.py
Last active August 29, 2015 14:00
Dnf 0.5.0 group remove api test
from __future__ import print_function
import sys
# insert your own dnf git checkout build path here
sys.path.insert(0, '/home/tim/udv/tmp/dnf/dnf')
import dnf
class DnfBase(dnf.Base):
'''
@timlau
timlau / gtk4_label_with_link.py
Last active December 17, 2022 08:32
Gtk4 - Label with Link
@timlau
timlau / yumex-todo.md
Last active January 11, 2023 08:54
Todo
  • Add support for GPG confirmation
  • Add backend for DNF5Daemon
  • Add better flatpak search support for available flatpaks
‎‎​
@timlau
timlau / python.json
Last active January 20, 2023 13:59
VS Code Python snippets
{
"main function": {
"prefix": [
"def main",
"if __name__"
],
"body": [
"def main() -> None:",
" print(\"Hello World!\")",
"",