Skip to content

Instantly share code, notes, and snippets.

@A6GibKm
A6GibKm / pyhole-ui.py
Created July 19, 2020 00:39
Manage your pi-hole with asyncio and GPIOs.
#!/usr/bin/env python3
"""
Manage your pi-hole with asyncio and GPIOs.
"""
import RPi.GPIO as GPIO # Import Raspberry Pi GPIO library
import pihole as ph
import atexit
import sys
import asyncio
@A6GibKm
A6GibKm / export-application.py
Created July 13, 2020 04:20
Export applications out of toolbox
#!/usr/bin/env python3
import os
import argparse
import shutil
from xdg.DesktopEntry import DesktopEntry
from xdg.BaseDirectory import xdg_data_home
import gi
gi.require_version('Gtk', '3.0')
@A6GibKm
A6GibKm / flatpak-curl.py
Last active July 8, 2020 00:48
Get a flatpak manifest from the url of a file
#!/usr/bin/env python3
__license__ = 'MIT'
import argparse
import json
import hashlib
import os
import shutil
import tempfile
@A6GibKm
A6GibKm / mu4e.md
Last active November 15, 2024 23:38
Read your emails with mu4e

Connecting emacs and Protonmail Bridge

This guide will cover the basics on how to integrate emacs with protonmail-bridge using

Configuring mbsync

@A6GibKm
A6GibKm / codecs.org
Last active November 3, 2024 19:31
Multimedia codecs in Fedora

Multimedia codecs in Fedora

Enabling rpm-fusion repositories

Most codecs contains pieces of software which are not free or cannot be included in Fedora repositories so adding rpm-fusion’s repository is required

  • Fedora (22 and later):