Skip to content

Instantly share code, notes, and snippets.

View netanelrevah's full-sized avatar
🛰️
%20

Netanel Revah netanelrevah

🛰️
%20
View GitHub Profile
@kubadlo
kubadlo / import_eml.vbs
Created September 26, 2019 09:10
Import *.eml files into any Outlook folder
'===================================================================
'Description: VBS script to import eml-files.
'
'Comment: Before executing the vbs-file, make sure that Outlook is
' configured to open eml-files.
' Depending on the performance of your computer, you may
' need to increase the Wscript.Sleep value to give Outlook
' more time to open the eml-file.
' Make sure you have enabled "visible" file extensions in explorer.exe
'
import sys
def get_size(obj, seen=None):
"""Recursively finds size of objects"""
size = sys.getsizeof(obj)
if seen is None:
seen = set()
obj_id = id(obj)
if obj_id in seen:
return 0
@evandrix
evandrix / pep20_by_example.py
Created March 13, 2012 18:45
PEP 20 (The Zen of Python) by example
#!/usr/bin/env python
"""
=====================================
PEP 20 (The Zen of Python) by example
=====================================
Usage: %prog
:Author: Hunter Blanks, hblanks@artifex.org / hblanks@monetate.com