Chrome extensions
需要科学上网
chrome-extensions介绍
什么是 Chrome 网上应用店?
开发 about
Axure RP Extension for Chrome
An extension that allows local viewing of Axure RP prototypes from Google Chrome.
https://chrome.google.com/webstore/detail/axure-rp-extension-for-ch/dogkpdfcklifaemcdfbildhcofnopogp
原型查看制作工具
GitCodeTree
基于 Octotree 的码云文件树插件
https://chrome...
文件导出ie文件名乱码解决
Content-Disposition值
Content-Disposition值可以有以下几种编码格式:
直接urlencode:
Content-Disposition: attachment; filename="struts2.0%E4%B8%AD%E6%96%87%E6%95%99%E7%A8%8B.chm"
Base64编码:
Content-Disposition: attachment; filename="=?UTF8?B?c3RydXRzMi4w5Lit5paH5pWZ56iLLmNobQ==?="
RFC2231规定的标准:
Content-Disposition: atta...
Mysql5.7only_full_group_by问题修复
Exception
Caused by: com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: In aggregated query without GROUP BY, expression #1 of SELECT list contains nonaggregated column 'monitor.oup.template_id'; this is incompatible with sql_mode=only_full_group_by
at sun.reflect.GeneratedConstructorAccessor186.newInstance(Unknown Source)
...
Nginx添加http2支持
nginx 编译
tar -zxvf nginx-1.12.0.tar.gz
cd nginx-1.12.0/
./configure --with-http_v2_module --with-http_ssl_module
make && make install
修改 nginx.conf
listen 443 后面追加 ssl http2
server {
listen 443 ssl http2;
server_name www.ploughman.top ploughman.top;
ssl on;
root html;
index index.html index.htm;
ssl_certific...
weblogic脚本
概念
域(目录)
节点管理器
server
应用
console
bea目录
脚本
console地址: http://132.90.153.70:9902/console
intserver1: http://132.90.153.70:8081
intserver2: http://132.90.153.70:8082
intserver3: http://132.90.153.71:8081
intserver4: http://132.90.153.71:8082
启动 weblogic repl 环境
java -cp /bea/weblogic/wlserver/server/lib/weblogic.jar w...
向maven私库nexus上传包
前提条件
有一个nexus私库已经搭建好
拥有上传权限的账号
一个jar
开始
前几天有人将这个依赖提交到svn
<dependency>
<groupId>org.opennebula.client</groupId>
<artifactId>one-client</artifactId>
<version>2.0.1-SNAPSHOT</version>
</dependency>
maven 编译提示找不到依赖jar.
很显然SNAPSHOT版本的jar是不会在maven center 中央库存在的.
这时,最好的办法就是将第三方的...
Weblogic添加oracle rac数据源
Before
WebLogic Server Version 12.1.3.0.0
oracle 节点1 192.168.1.1 1521 testdb1
oracle 节点2 192.168.1.2 1521 testdb2
service name testdb
username name
password pwd
Action
打开weblogic console,输入用户名,密码.登录
点击数据源
点击一般数据源
输入JNDI 名称
下一页
下一页
以节点1的连接配置进行测试
下一页
oracle.jdbc.driver.OracleDriver 复制使用
提示测试成功
修改URL 为生产使用的RAC URL
修改 每...
爬虫获取公司通讯录
什么是爬虫
一般的,平时说的爬虫总是指基于http(s)的爬虫. 其任督二脉就是http协议.
基于java开发,就是一个简单的java se 应用. 利用java 发http请求模拟真实用户的行为
然后假装自己是浏览器,解析html文档.抽取出有用的信息.根据业务需要,深度遍历或者广度遍历链接地址,
不停的抽取信息.达到目的. 常见的 浏览器各种比价插件,抢火车票等等.
开整
目标网站是http://erp.hfvast.com:888.
首先分析重点/难点
查看通讯录需要登录,需要验证码识别.
有状态http 需要维持cookie.
返回的html 需要 抽取信息.
初始解决方法
因为是爬虫,使用之前用过的webmagic开源框架(后续所有的开...
共计 193 篇文章,25 页。