Skip to content

Instantly share code, notes, and snippets.

View lumengxi's full-sized avatar
🚀
Saving up for that trip to Mars

Mengxi Lu lumengxi

🚀
Saving up for that trip to Mars
View GitHub Profile
@lumengxi
lumengxi / Makefile
Created March 17, 2016 16:44
Makefile for Python projects
.PHONY: clean-pyc clean-build docs clean
define BROWSER_PYSCRIPT
import os, webbrowser, sys
try:
from urllib import pathname2url
except:
from urllib.request import pathname2url
webbrowser.open("file://" + pathname2url(os.path.abspath(sys.argv[1])))
endef

Keybase proof

I hereby claim:

  • I am lumengxi on github.
  • I am mengxi (https://keybase.io/mengxi) on keybase.
  • I have a public key whose fingerprint is 1B05 7557 389C BCD2 703E DF76 06A2 854F B6E2 FAC4

To claim this, I am signing this object: