Skip to content

Instantly share code, notes, and snippets.

View LulaSvob's full-sized avatar
🎯
Focusing

LulaSvob

🎯
Focusing
View GitHub Profile
@trongnghia203
trongnghia203 / install_pyenv.md
Last active May 17, 2024 23:39
Install pyenv
@smccutchen
smccutchen / ConvertUTF-8.py
Created January 4, 2017 04:59
Convert multiple files to UTF-8 encoding with Notepad++
# 2016-2017 Soverance Studios.
# Scott McCutchen
# This file will search all files and folders within a given directory, and use Notepad++ to convert their encoding to UTF-8 without Byte Order Marks
#
# This file must be run using the PythonScript plugin from within Notepad++, which is available through the Notepad++ Plugin Manager
#
# You must have Python 2.7 installed
#
# Additionally, this script can only exist and be run from within the Notepad++ user's working directory, the default of which is here:
@baali
baali / dlAttachments.py
Created May 8, 2012 08:32
Python script to download all gmail attachments.
# Something in lines of http://stackoverflow.com/questions/348630/how-can-i-download-all-emails-with-attachments-from-gmail
# Make sure you have IMAP enabled in your gmail settings.
# Right now it won't download same file name twice even if their contents are different.
import email
import getpass, imaplib
import os
import sys
detach_dir = '.'