Skip to content

Instantly share code, notes, and snippets.

View chronikum's full-sized avatar
segmentation faulting

chronikum chronikum

segmentation faulting
View GitHub Profile
@chronikum
chronikum / exportmail.py
Created May 31, 2024 12:08
This script will help you to export all email in your mailbox locally in a folder. (Imap)
# install imaplib2 before running.
# written for python3
# adjust your IMAP server details!
import imaplib
import email
from email.policy import default
import os
# IMAP server details
<span id="umwelt_smiley"> </span> <!-- put wherever you want -->
<script>
function random_smiley()
{
let set = ["💚","🐣","🌱","🌿","🌳","🌻","🌞","☀","🥦","🌏","🌍","🌈"]
let smiley = set[Math.floor(Math.random()*set.length)];
document.getElementById("umwelt_smiley").innerHTML = smiley;
}