社区包: https://www.npmjs.com/package/pg 开源地址:https://github.com/brianc/node-postgres/ 我定义的数据库列名是大小写 , 查询语句也是大小写,结果提示 error: column "" does not exist at ...
分类:
其他好文 时间:
2017-03-20 18:45:29
阅读次数:
399
使用SSL/HTTPS协议来传输 Web服务也可以使用SSL作为传输协议。虽然JAX-RPC并没有强制规定是否使用SSL协议,但在tomcat 下使用HTTPS协议。 1、使用JDK自带的工具创建密匙库和信任库。 1)通过使用以下的命令来创建服务器端的密匙库: keytool -genk... ...
分类:
编程语言 时间:
2017-03-20 17:03:01
阅读次数:
323
https://packages.gitlab.com/gitlab/gitlab-ce
分类:
其他好文 时间:
2017-03-20 14:33:20
阅读次数:
245
使用一个不错的正则表达式来配对一个正确的url. string reg = @"(?i)(http://|https://)?(\w+\.){1,3}(com(\.cn)?|cn|net|info|org|us|tk)\b"; 比较通用 string reg = @"(?i)(http://|htt ...
分类:
Web程序 时间:
2017-03-20 13:46:42
阅读次数:
132
1. 下载 https://caddyserver.com/ 注意选择应该包含的模块,此次包含了git 插件 2. 配置 使用 Caddyfile 内容如下: rongfengliang.com gzip git git@github.com:dalong123/appdemo.git root a ...
分类:
Web程序 时间:
2017-03-20 13:19:29
阅读次数:
1097
1. Maximum Depth of Binary Tree: https://leetcode.com/problems/maximum-depth-of-binary-tree/ 最大深度: 解法1:<Recursive> 1 public class Solution { 2 public ...
分类:
编程语言 时间:
2017-03-20 13:16:22
阅读次数:
246
平常的工作中需要对慢查询进行优化得用percona-tookit的pt-query-digest对慢日志进行分析percona-tookit下载地址:https://www.percona.com/doc/percona-toolkit/3.0/index.html使用方法:#pt-query-digest慢日志文件对总结出来的慢查询可以利用点评的sqladvisor进行索引优化
分类:
数据库 时间:
2017-03-20 10:51:35
阅读次数:
169
github地址:https://github.com/Meituan-Dianping/SQLAdvisor/blob/master/doc/QUICK_START.md
分类:
数据库 时间:
2017-03-20 10:51:09
阅读次数:
208
作者:张天行链接:https://www.zhihu.com/question/20159860/answer/119405396来源:知乎著作权归作者所有。商业转载请联系作者获得授权,非商业转载请注明出处。 二、重温运算规则 首先我想把整套关于原码反码补码的运算规则准确清晰地写一遍,方便急需应用的 ...
分类:
其他好文 时间:
2017-03-20 10:30:04
阅读次数:
364
网易Emmagee Github地址:https://github.com/king1039/Emmagee 腾讯GT Github地址:https://github.com/Tencent/GT 腾讯的APT Github地址:https://github.com/shawwinbin/APT T ...
分类:
移动开发 时间:
2017-03-20 10:25:40
阅读次数:
213