04 2016 档案
摘要:区别 代码1: var scope = "global scope"; function check(){ var scope = "local scope"; function f() {return scope;} return f; } check()(); //local scope 代码2: var scope = "global scope"; functi...
阅读全文
摘要:github 搭建: 自己搭建一个github网站(仓库) daocloud:公共hub搜索git下载github镜像 docker pull gitlab/gitlab-ce:8.7.0-rc3.ce.0 \下载github镜像。 测试容器:我是把他的端口设置映射到主机的3280,因为的80端口在
阅读全文
摘要:选择daocloud的镜像源 快。不多说 镜像的准备: docker pull docker.io/node 下载node镜像 docker pull daocloud.io/nginx 下载nginx的镜像 项目的位置: 思路: 项目放到宿主机的某个目录下 挂载这个目录到node容器内部。 ngi
阅读全文
摘要:在使用input标签按钮的时候,<input type="file" value="" /> 显示很难看,怎么办? 使用label 在上传文件的地方:我将上传input标签隐藏,将上传按钮label到input标签上,点击上传按钮的时候,其实质是在点击input[file]按钮
阅读全文
摘要:http://www.cnblogs.com/smallstudent/diary/2016/04/06/5360605.html
阅读全文

浙公网安备 33010602011771号