- 浏览: 327725 次
- 性别:
- 来自: 广州
最新评论
文章列表
[置顶] Network related
- 博客分类:
- Network
1. ARP欺骗
ARP协议并不只在发送了ARP请求才接收ARP应答。当计算机接收到ARP应答数据包的时候,就会对本地的ARP缓存进行更新,将应答中的IP和MAC地址存储在ARP cache中。因此,当局域网中的某台机器B向A发送一个自己冒充C的ARP应答,即IP地址为C的IP,而MAC地址是伪造的,则当A接收到B冒充C的ARP应答后,就会更新本地的ARP cache,这样在A看来C的IP地址没有变,而它的MAC地址已经不是原来的了。由于局域网的网络流通不是根据IP地址进行,而是按照MAC地址进行传输。所以,原来C的真实MAC地址在A上被改变成一个不存在的MAC地址,这样就会造成网络不 ...
1. Excel sample
Public Const privateKey As String = "c:\Programs\RBP Server Manager\path\private.ppk"
Public Const puttyPath As String = "c:\Programs\RBP Server Manager\path\PUTTY.EXE"
Public Const winSCPPath As String = "C:\Programs\Winscp_Testlab\WinSCP\WinSCP.exe&q ...
[置顶] Oracle related
- 博客分类:
- Oracle
1. 权限传递:
系统权限传递:with admin option
对象权限传递:with grant option
2. 查看package的所有方法:
DESC DBMS_WORKLOAD_REPOSITORY;
3. 查看AWR setting
select * from dba_hist_wr_control;
4. package, procedure, function
function有返回值,有参数;
procedure无返回值,有参数;
package可包括function,procedure
package中只有各个方法的定义,pa ...
1. 启动另一个程序
start upload.bat
不会等upload.bat执行完再执行下一条, 如此可实现同时执行多条命令.
call upload.bat
Oracle Lock
- 博客分类:
- Database
oracle有两种模式的锁:排他锁(exclusive lock,即X锁)和共享锁(share lock,即S锁)。 共享锁:如果事务T对数据A加上共享锁后,则其他事务只能对A再加共享锁,不能加排他锁。获准共享锁的事务只能读数据,不能修改数据。( ...
SSD volumes must be between 1 GiB - 16 TiB.
At this time, you cannot have a multi-AZ copy of your read replica.
Placement Groups are limited to a single AZ.
With short-polling, multiple polls of the queue may be necessary to process all messages in the queue. Additionally, SQS does NO ...
AWS reference
- 博客分类:
- AWS
AWS Certified Solutions Architect – Associate
https://acloud.guru/learn/aws-certified-solutions-architect-associate
AWS white papers
https://aws.amazon.com/whitepapers/ (especially the Best Practices one)
AWS FAQs
https://aws.amazon.com/faqs/
AWS certification prep
https://aws.ama ...
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
...
目前 DBCP 有两个版本分别是 1.3 和 1.4。
DBCP 1.3 版本需要运行于 JDK 1.4-1.5 ,支持 JDBC 3。
DBCP 1.4 版本需要运行于 JDK 1.6 ,支持 JDBC 4。
1.3和1.4基于同一套源代码,含有所有的bug修复和新特性。因此在选择DBCP版本的时候,要看你用的是什么JDK版本。
DBCP1.2版本性能一般,比c3p0差挺多。DBCP1.4和1.3,配合(依赖)commons pool 1.6的jar包,各方面功能、性能推进到新的高峰。相对1.2版本提高不少。超越(或相当)了c3p0.建议使用DBCP1.4或1.3 + common ...
package com.hsbc.wealth.srbp;
import java.util.Map;
import org.apache.http.HttpHost;
import org.apache.http.auth.AuthScope;
import org.apache.http.auth.UsernamePasswordCredentials;
import org.apache.http.client.CredentialsProvider;
import org.apache.http.client.config.RequestConfig;
impo ...
WAS related
- 博客分类:
- IBM WAS
# Generate WAS admin console password
cat /opt/IBM/WebSphere85/AppServer/profiles/appprofile/properties/sas.client.props | grep -a2 "IIOP"; cat /opt/IBM/WebSphere85/AppServer/profiles/appprofile/properties/sas.client.props | grep -a2 "IIOP" | grep Password | awk -F{ '{print &q ...
5Why
5M1E
5W2H
同类情况
更上一层同类情况
再检查
5M1E(人机料法环测)
a) 人(Man/Manpower): 操作者对质量的认识、技术熟练程度、身体状况等;
b) 机器(Machine): 机器设备、工夹具的精度和维护保养状况等;
c) 物料(Material): 材料的成分、物理性能和化学性能等;
d) 方法(Method): 这里包括加工工艺、工装选择、操作规程等;
e) 测量(Measurement):测量时采取的方法是否标准、正确;
f) 环境(Environment) 工作地的温度、湿度、照明和清洁条件等;
5W2H
1 ...
一篇文章全面解析大数据批处理框架Spring Batch
http://www.infoq.com/cn/articles/analysis-of-large-data-batch-framework-spring-batch
https://jingyan.baidu.com/article/a948d6515d3e850a2dcd2ee6.html
http://javarevisited.blogspot.hk/2012/09/difference-between-truststore-vs-keyStore-Java-SSL.html
http://javarevisited.blogspot.hk/2012/03/add-list-certficates-java-keystore.html#axzz4oc9zMps6
Caused by: com.ibm.mq.MQException: JMSCMQ0001: WebSphere MQ call failed with com
- 博客分类:
- IBM WebSphere MQ
- IBM WAS
Caused by: com.ibm.mq.MQException: JMSCMQ0001: WebSphere MQ call failed with compcode '2' ('MQCC_FAILED') reason '2531' ('MQRC_PUBSUB_INHIBITED').
at com.ibm.msg.client.wmq.common.internal.Reason.createException(Reason.java:204)
... 39 more
Solution:
ALTER QMGR PSMODE(ENABL ...