`
文章列表
一、准备工作 -1. OS 类型ubuntu-12.04-server-i386  0.openssh-server安装(可选) sudo install openssh-server 1.gcc 安装
http://digdeeply.org/archives/06142220.html

Mockito

PowerMockito.mockStatic
package crypto.test; public class CryptoToolsTest { public static void main(String[] args) { //hash password String salt = CryptoTools.generateSalt(); String password= "123456" ; String hashPassword = CryptoTools.hash(password+salt); System.out.println("hashPassw ...

test

test   esfvmvi-2025

Sorted Java

Sorted Java
/** * @return the request */ public HttpServletRequest getRequest() { HttpServletRequest request = ((ServletRequestAttributes)RequestContextHolder.getRequestAttributes()).getRequest(); return request; }  
spring web demo
<profiles> <profile> <id>jdk17</id> <activation> <activeByDefault>true</activeByDefault> <jdk>1.7</jdk> </activation> <properties> <maven.compiler.source>1.7</maven.compiler.source> <maven. ...
package test.lock; import java.util.ArrayList; import java.util.List; import java.util.Map; import java.util.Random; import java.util.concurrent.ConcurrentHashMap; import java.util.concurrent.ExecutorService; import java.util.concurrent.Executors; import java.util.concurrent.locks.Lock; ...

mina demo

mina demo
1.更改Eclipse JDK编译环境(将目录jre改成jdk目录)[b](这一步很关键)[/b]: Window -> Preferences -> Java -> Installed JREs, 点击"Add"按钮,选择默认的"Standard VM", 点击"Next >", 点击"JRE home"右边的"Directory"选择文件夹D:/Development/Java/jdk1.6.0.30,回到"Installed JREs"界面,在 ...

Log4j2 demo

Maven configuration <dependency> <groupId>org.apache.logging.log4j</groupId> <artifactId>log4j-api</artifactId> <version>2.0-rc1</version> </dependency> <dependency> <groupId>org.apache.logging.log4j</groupId> ...
Copy by http://emuch.net/fanwen/539/82423.html  access arm 磁头臂,存取臂   access time 存取时间   adder 加法器   address 地址   alphanumeric 字母数字的   analog computer 模拟计算机   analyst 分析员   area 区域   array 数组,阵 ...

CF学习文档

...
Global site tag (gtag.js) - Google Analytics