Skip to content

Instantly share code, notes, and snippets.

@magicshui
magicshui / README.md
Last active August 29, 2015 14:12 — forked from lowstz/README.md

4 step to upadte the dev environment with docker-web

  1. Replace the user-data file on your coreos-vagrant directory.
  2. Run command: vagrant provision
  3. Run command: vagrant reload
  4. Open the docker-web site, have fun :)

btw: upgrade the coreos to latest stable version if possible. You need a vpn to complete this task, because the googleapis site was blocked in China.

@magicshui
magicshui / gmimap.py
Created September 26, 2012 13:23 — forked from davesteele/gmimap.py
Class and example for using the Gmail IMAP Extensions
#!/usr/bin/python -tt
""" Example of how to use Google IMAP Extensions using Python
http://code.google.com/apis/gmail/imap/
"""
import imaplib
import re
class GmailIMAP4_SSL( imaplib.IMAP4_SSL ):