摘要: php.ini放在--with-config-file-path设置路径下lib文件夹中才找的到!!!! fpm的配置文件需要放在这个位置/usr/local/etc/php-fpm.conf,暂时不知道咋改; http://blog.csdn.net/xiaog351/article/details/47421969 php: { cd /opt/apps wget http://cn2... 阅读全文
posted @ 2017-04-28 00:33 鹰搏长空08 阅读(2126) 评论(0) 推荐(0) 编辑
摘要: PS:propertisUtil自己写一个吧 阅读全文
posted @ 2017-04-27 00:11 鹰搏长空08 阅读(191) 评论(0) 推荐(0) 编辑
摘要: 开发合并分支,推送到远程1. git diff 查看修改内容; 2. git add -A 添加所有修改; 3. git commit -am "给人的提示"; 提交修改内容 4. git push origin 你的分支名字; 5. git checkout test;切换到其它分支; 6. git merge --no-ff pri_zk;把你的分支内容合并到当前分支上; 7. git ... 阅读全文
posted @ 2017-04-25 23:33 鹰搏长空08 阅读(101) 评论(0) 推荐(0) 编辑
摘要: package com.wdm.utils; import java.io.ByteArrayOutputStream; import java.io.IOException; import java.io.InputStream; import java.io.OutputStream; import java.net.HttpURLConnection; import java.net.U... 阅读全文
posted @ 2017-04-24 21:35 鹰搏长空08 阅读(638) 评论(0) 推荐(0) 编辑
摘要: Problem Given an integer (signed 32 bits), write a function to check whether it is a power of 4. Example: Given num = 16, return true. Given num = 5, return false. Follow up: Could you solve it w... 阅读全文
posted @ 2017-04-24 00:23 鹰搏长空08 阅读(159) 评论(0) 推荐(0) 编辑
摘要: 心情还是有问题,保持每日更新,只能如此了。 PS:存货快用完了。。。。 阅读全文
posted @ 2017-04-22 22:08 鹰搏长空08 阅读(121) 评论(0) 推荐(0) 编辑
摘要: 本来打算写redis的,时间上有点没顾过来,只能是又拿出点自己的存货了。 阅读全文
posted @ 2017-04-21 22:25 鹰搏长空08 阅读(121) 评论(0) 推荐(0) 编辑
摘要: 上代码: 路由,即实现多数据库的切换源 注解,即用以标识选择主还是从数据库 常规配置项,具体主从继承并通过 @ConfigurationProperties(prefix = "master.datasource") 进行配置读取 多数据源设置 当然少不了DataSourceContextHolde 阅读全文
posted @ 2017-04-20 23:03 鹰搏长空08 阅读(4562) 评论(0) 推荐(0) 编辑
摘要: Problem Given an integer, write a function to determine if it is a power of three. Follow up: Could you do it without using any loop / recursion? Code 阅读全文
posted @ 2017-04-19 23:49 鹰搏长空08 阅读(154) 评论(0) 推荐(0) 编辑
摘要: 先贴上一段参数设置 很多时候,将代码部署到服务器,都会对JAVA_OPTS进行一些操作,大多数情况对主要两个知道是干嘛的,其实的哪copy的算哪的。 所以,看了点资料,想写点东西。 Java虚拟机运行时数据区,主要包括以下部分:方法区、堆,它们是线程共用的部分;虚拟机栈、本地方法栈、程序计数器。下面 阅读全文
posted @ 2017-04-19 00:05 鹰搏长空08 阅读(429) 评论(0) 推荐(0) 编辑