Skip to content

Instantly share code, notes, and snippets.

#!/usr/bin/python
# Adapted from http://kutuma.blogspot.com/2007/08/sending-emails-via-gmail-with-python.html
import getpass
import smtplib
from email.MIMEMultipart import MIMEMultipart
from email.MIMEBase import MIMEBase
from email.MIMEText import MIMEText
from email import Encoders
import os

Locate the section for your github remote in the .git/config file. It looks like this:

[remote "origin"]
	fetch = +refs/heads/*:refs/remotes/origin/*
	url = git@github.com:joyent/node.git

Now add the line fetch = +refs/pull/*/head:refs/remotes/origin/pr/* to this section. Obviously, change the github url to match your project's URL. It ends up looking like this:

@rishabhjain
rishabhjain / cv.md
Created August 26, 2016 17:12
The gist of my professional history.

Ken Hu

Keep searching; in data, tech, arts, startups, world, love, and life.

I am a Python developer, specializing in data and natural language analysis. My professional experiences ranges across API development, natural language processing, business intelligence dashboard, and machine learning. I also have strong interests in search engines and data visualization.

##Table of Content

  1. Contact
  2. Achievement