Skip to content

Instantly share code, notes, and snippets.

@bao1018
bao1018 / gist:1a3b751b4233ac21bc35
Created July 31, 2014 14:39
JS interview - HARD
http://blog.sourcing.io/interview-questions
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Function/bind#Compatibility
@bao1018
bao1018 / gist:8591641
Created January 24, 2014 03:35
Create branch from Tag
git checkout -b <branchName> <tagName>
git push origin <branchName>
@bao1018
bao1018 / gist:8470676
Last active January 3, 2016 13:39
Deploy to Heroku
git remote add heroku [email protected]:code-catalog.git
git push heroku master
https://devcenter.heroku.com/articles/authentication
##deploy a branch to Heroku
git push -f heroku <brach_name>:master
@bao1018
bao1018 / gist:7652089
Last active December 29, 2015 09:39
NLP for Chinese
http://nlp.stanford.edu/projects/chinese-nlp.shtml, http://nlp.stanford.edu/downloads/CRF-NER.shtml
http://blog.csdn.net/xn4545945/article/details/8720620
http://ictclas.nlpir.org/ (https://github.com/tiendung/ruby-nlp)
https://code.google.com/p/fudannlp/
http://stanbol.apache.org/index.html
https://github.com/hightman/scws
http://www.ltp-cloud.com (http://www.ltp-cloud.com/document/#api2_ruby)
https://github.com/JoeWoo/nlpir_win
@bao1018
bao1018 / gist:7442193
Last active March 25, 2021 00:21
PwC(PriceWaterhouseCoopers) Colors
'#eeb592', '#dc6900', '#a32020', '#d18f90', '#f09892', '#602320'
--CSS---
/* colors */
.fg100-tangerine { color: #eb8c00; }
.fg100-orange { color: #dc6900; }
.fg100-red { color: #e0301e; }
@bao1018
bao1018 / gist:7409879
Created November 11, 2013 08:40
Customized CSS to Help Bootstrap 2.x class work in v3.x
.tabs-below > .nav-tabs,
.tabs-right > .nav-tabs,
.tabs-left > .nav-tabs {
border-bottom: 0;
}
.tab-content > .tab-pane,
.pill-content > .pill-pane {
display: none;
}