摘要:
html,body{ height: 100%;}::-webkit-scrollbar{ width: 0;}body,#app{ width:100%; overflow-x: hidden;}#app{ height: 100%; padding-bottom: 60px; box-sizin 阅读全文
摘要:
npm install -g pm2 pm2 start app.js pm2 stop all pm2 restart app.js 阅读全文
摘要:
mkdir /data/mongo/mongodb.cnf、 配置 后台启动 # vi /data/mongo/mongodb.cnf dbpath=/data/mongo/ logpath=/data/mongo/mongo.log logappend=true fork=true port=27 阅读全文
摘要:
1、介绍 而很多yum源上自动安装的git版本为1.7,所以需要掌握手动编译安装git方法。 2、安装git依赖包 yum install curl-devel expat-devel gettext-devel openssl-devel zlib-devel gcc perl-ExtUtils- 阅读全文
摘要:
栅格 container下 row一行12格 col 内1-12 设置响应式 xs-手机 sm-平板 md-中屏 lg-巨屏 阅读全文
摘要:
一、 let 取代 var 让变量没有副作用 let 增加了块级作用域 二、 const 常量 声明后不可改变 类似 java里的final 阅读全文
摘要:
会输出 A.JS里的内容 node B.js 执行 (三)ADM规范 AMD规范是"Asynchronous Module Definition"的缩写 意思就是异步模块定义 AMD更适合浏览器加载 AMD也是用require()语句加载模块,但是不同于CommonJS,它要求两个参数 requir 阅读全文
摘要:
Linux 运行jar包命令如下: 方式一: [plain] view plain copy java -jar XXX.jar [plain] view plain copy [plain] view plain copy 特点:当前ssh窗口被锁定,可按CTRL + C打断程序运行,或直接关闭窗 阅读全文
摘要:
bin psql.exe -U postgres password CREATE SEQUENCE user_id_seq START WITH 1 INCREMENT BY 1 MINVALUE 1 NO MAXVALUE;CREATE TABLE "public"."users" ( "id" 阅读全文
摘要:
Ajax: javascript and xml 异步的JS 和XML -->客户端JS中的方法,用来向服务端发送请求(还可以传递给服务器),然后把服务器端返回 的内容获取到(AJAX一般是运行在客户端的浏览器中的) AJAX四步: //创建一个AJAX对象(下面的写法在IE6及更低的版本的浏览器中 阅读全文