上一页 1 2 3 4 5 6 7 8 9 10 ··· 23 下一页
摘要: npm install -g forever forever start c9sdk/server.js --listen 0.0.0.0 --port 80 -a aa:111 -w ~ To elaborate, you can use something like forever2 to ru 阅读全文
posted @ 2017-03-14 23:14 LisPythoniC 阅读(207) 评论(0) 推荐(0) 编辑
摘要: 总结 mysql依靠反斜杠\转义, postgresql 依靠单引号转义 mysql 客户端 postgresql客户端 阅读全文
posted @ 2017-03-05 19:48 LisPythoniC 阅读(1991) 评论(0) 推荐(0) 编辑
摘要: PostgreSQL数据库忘记密码的解决方案 阅读全文
posted @ 2017-03-05 19:37 LisPythoniC 阅读(876) 评论(0) 推荐(0) 编辑
摘要: vm.$options 类型: Object 只读 详细: 用于当前 Vue 实例的初始化选项。需要在选项中包含自定义属性时会有用处: new Vue({ customOption: 'foo', created: function () { console.log(this.$options.cu 阅读全文
posted @ 2017-02-16 17:42 LisPythoniC 阅读(142) 评论(0) 推荐(0) 编辑
摘要: chown postgres /etc/ssl/private/ssl cert snakeoil.key chgrp postgres /etc/ssl/private/ssl cert snakeoil.key chmod 740 /etc/ssl/private/ssl cert snakeo 阅读全文
posted @ 2017-02-07 15:48 LisPythoniC 阅读(477) 评论(0) 推荐(0) 编辑
摘要: 参考 http://nginx.org/en/docs/http/ngx_http_log_module.html?&_ga=1.92028562.949762386.1481787781 log_format https://www.goaccess.io/man custom log 展开 go 阅读全文
posted @ 2017-02-07 10:43 LisPythoniC 阅读(2161) 评论(0) 推荐(0) 编辑
摘要: psql create database jasygl encoding='UTF8' TEMPLATE = template0; 命令行 备份 pg_dump dabase_name back.sql; 恢复 psql dabase_name 阅读全文
posted @ 2017-02-04 17:15 LisPythoniC 阅读(339) 评论(0) 推荐(0) 编辑
摘要: 安装pg创建数据库xxx设置用户密码111111 apt get install postgresql su postgres psql create database xxx; alter user postgres with password '111111'; \c xxx; \d \q ex 阅读全文
posted @ 2017-02-03 22:02 LisPythoniC 阅读(248) 评论(0) 推荐(0) 编辑
摘要: 假设路径为/project/path/ 设定git仓库可以直接被远程推送(需要较新的git版本,比如2.7) 设定本仓库被远程push之后的行为 设定为可执行 chmod a+x post receive 设定本仓库本地pull之后的行为 完工 阅读全文
posted @ 2016-12-16 17:16 LisPythoniC 阅读(567) 评论(0) 推荐(0) 编辑
摘要: 比如要把一个表所有记录的tx字段的值进行一个简单的替换 0.02秒就完成了, 如果放到mvc层面, 读取每条记录, 然后修改, 再保存, 那是相当缓慢. 阅读全文
posted @ 2016-12-15 10:34 LisPythoniC 阅读(114) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 7 8 9 10 ··· 23 下一页