One for all,all for one.
2014年10月29日 星期三
docker auto remove container after running
›
$ docker run --rm --rm=true|false Automatically remove the container when it exits (incompatible with -d). The default is false. ...
2014年10月27日 星期一
IE Javascript Array.indexOf() error
›
if (!Array.prototype.indexOf) { Array.prototype.indexOf = function(elt, from) { var len = this.length >>> 0; v...
javascript function argument default value
›
function func(a,b){ if(typeof(a)==='undefined') a = 10; if(typeof(b)==='undefined') b = 20; alert("A: ...
2014年10月26日 星期日
常用 .gitignore 收集
›
github/gitignore - A collection of useful .gitignore templates https://github.com/github/gitignore
ImportError: No module named flask.ext.wtf.Required
›
old : from flask . ext . wtf import Required new : from wtforms . validators import Required References : python - I...
No module named flask.ext.wtf.TextField
›
Flask-WTF==0.8.3 from flask.ext.wtf import TextField Flask-WTF==0.10.2 from wtforms import TextField References : python - Impo...
grep pattern from a string
›
$ grep -q xxxx <<< $str $ echo $? References : bash - shell script grep to grep a string - Stack Overflow
‹
›
首頁
查看網路版