Skip to content

Instantly share code, notes, and snippets.

@sdkn104
sdkn104 / decode_email.py
Last active February 24, 2024 17:44
Python script to decode email
import imaplib, email, email.parser, email.policy
import html2text
import pprint, sys
#
# Utilities for Debug
#
pp = pprint.PrettyPrinter(indent=4, width=80)
def myprint(str):
@estorgio
estorgio / Mounting VirtualBox shared folders on Ubuntu Server 16.04 LTS.md
Last active September 27, 2025 02:50
Mounting VirtualBox shared folders on Ubuntu Server 16.04 LTS

Update 28 July 2019: An updated version of this guide for Ubuntu Server 18.04 LTS is now available. Feel free to check it out.

Update 23 May 2020: This guide is ALREADY OUTDATED and might no longer work with new versions of Ubuntu and VirtualBox. Please consider switching to the updated guide instead. I will no longer respond to the replies to this gist. Thank you.

Mounting VirtualBox shared folders on Ubuntu Server 16.04 LTS

This guide will walk you through steps on how to setup a VirtualBox shared folder inside your Ubuntu Server guest. Tested on Ubuntu Server 16.04.3 LTS (Xenial Xerus)

@martinrusev
martinrusev / imap-search
Last active September 6, 2025 19:23
IMAP Search criteria