Skip to content

Instantly share code, notes, and snippets.

View paloha's full-sized avatar

Pavol Harar paloha

View GitHub Profile
@paloha
paloha / nautilus_open_in_guake_keybinding.py
Last active January 4, 2025 15:43
GNOME Nautilus extension to support a keyboard shotrcut to open Guake terminal in current directory.
#############################################################################
# Author: Pavol Harar ([email protected])
# Created: 04. January 2024
# Licence: MIT
# Prerequisits: `apt install python3-nautilus gir1.2-gtk-4.0`
# Copy this script into `~/.local/share/nautilus-python/extensions/`
# Kill all Nautilus processes with `nautilus -q`
# Restart Nautilus
# Tested on Ubuntu 24.04.01
# At the time of writing and testing this extension, I already had the
@paloha
paloha / migrate_imap.py
Last active February 13, 2025 14:23 — forked from robulouski/gmail_imap_dump_eml.py
Very simple Python script to download/upload emails from/to an IMAP folder.
#!/usr/bin/env python
#
# Very simple Python script to download/upload emails from/to an IMAP folder.
# This code is based on a simpler version from https://gist.github.com/robulouski/7442321
# This code is released into the public domain.
#
# Paloha 2020
import os
import sys