brew install git bash-completion
Configure things:
git config --global user.name "Your Name"
git config --global user.email "you@example.com"
| # Compiled source # | |
| ################### | |
| *.com | |
| *.class | |
| *.dll | |
| *.exe | |
| *.o | |
| *.so | |
| # Packages # |
| # EDIT: 2013/10/20 | |
| # google has updated its kwt UI, this script doesn't work any more! | |
| # may be I will update this script when I have time to investigate their new Interface. | |
| from selenium import webdriver | |
| from selenium.common.exceptions import TimeoutException | |
| import selenium.webdriver.support.wait | |
| selenium.webdriver.support.wait.POLL_FREQUENCY = 0.05 | |
| import re |
brew install git bash-completion
Configure things:
git config --global user.name "Your Name"
git config --global user.email "you@example.com"
| LINKS | |
| RailsCast: http://railscasts.com/ | |
| Rails Tutorials: http://ruby.railstutorial.org/ | |
| Rails Guides: http://guides.rubyonrails.org | |
| Ruby Inside: http://www.rubyinside.com/ | |
| Rails: http://www.rubyonrails.org | |
| RVM: http://beginrescueend.com/ | |
| Bundler: http://gembundler.com/ |
| % -------------------------------------------------------------- | |
| % This is all preamble stuff that you don't have to worry about. | |
| % Head down to where it says "Start here" | |
| % -------------------------------------------------------------- | |
| \documentclass[12pt]{article} | |
| \usepackage[margin=1in]{geometry} | |
| \usepackage{amsmath,amsthm,amssymb} | |
| #用正则简单过滤html的<>标签 | |
| import re | |
| str = "<img /><a>srcd</a>hello</br><br/>" | |
| str = re.sub(r'</?\w+[^>]*>','',str) | |
| print str |