- 浏览: 95604 次
- 性别:
- 来自: 成都
最新评论
-
wubo2qml:
虽然很乱,写的确实很实用
jvm参数 -
lazythinker:
楼主总结的不错,
jvm参数 -
kco0910:
子网掩码 验证 255.255.255.0不能通过
IP 子网掩码 正则表达式
文章列表
Xshell找不到鼠标办法
- 博客分类:
- shell
You can use the "Windows Black" cursor scheme that is included in the default installation and works with any background.
For Win7 OS, you can do this,Start->Control Panel->Hardware and voice->devices and printer->mouse,then you will look a dialog, click sencond tab "Point ...
如果没有指定长度,则只是初始化一个空数组。
public ArrayList() {
this.elementData = DEFAULTCAPACITY_EMPTY_ELEMENTDATA;
}
如果指定了长度,则必需大于1
public ArrayList(int initialCapacity) {
if (initialCapacity > 0) {
this.elementData = new Object[initialCapacity];
} else if (initi ...
ByteArrayOutoutStream bo=new ByteArrayOutputStream();
ObjectOutputStream oo=new ObjectOutputStream(bo);
oo.writeObject(this);
//从流里读出来
ByteArrayInputStream bi=new ByteArrayInputStream(bo.toByteArray());
ObjectInputStream oi=new ObjectInputStream(bi);
return(oi.readObject());
sbt下载相关依赖时报以下错误:
:: problems summary ::
:::: WARNINGS
module not found: org.scala-sbt#sbt;0.13.11
:::: ERRORS
Server access Error: sun.security.validator.ValidatorException:
PKIX path building failed:
sun.security.provider.certpath.SunCertPathBuilderException:
unable to find v ...
public class ProcessChain implements IProcess
{
private List<IProcess> processList = new ArrayList<>();
public ProcessChain addProcess(IProcess process)
{
processList.add(process);
return this;
}
public <T> T process()
{
...
package genericType;
import java.lang.reflect.Field;
import java.lang.reflect.GenericArrayType;
import java.lang.reflect.ParameterizedType;
import java.lang.reflect.Type;
import java.util.Arrays;
public class GenericArrayTypeExample {
public static void main(String[] args) throws ...
添加目录classpath
- 博客分类:
- java
1、Linux 自己写脚本
export CP;
function addCP()
{
para=$1
if [ -d "$para" ]; then
cd $para;
currentPath=`pwd`
for i in `find . -iname '*jar'`; do
CP=$CP:$currentPath/$i
done
else
CP=$CP:$para
fi
}
2、Linux添加目录J ...
JAVA8 lambda执行效率
- 博客分类:
- java
package lambdaPerfmTest;
import org.junit.Test;
import org.openjdk.jmh.annotations.Benchmark;
import org.openjdk.jmh.annotations.BenchmarkMode;
import org.openjdk.jmh.annotations.Mode;
import org.openjdk.jmh.annotations.OutputTimeUnit;
import org.openjdk.jmh.runner.Runner;
import org.openj ...
Intellij 导出JAR包
- 博客分类:
- java
Here's how to build a jar with IntelliJ 10 http://blogs.jetbrains.com/idea/2010/08/quickly-create-jar-artifact/
File -> Project Structure -> Project Settings -> Artifacts -> Jar -> From modules with dependencies...
Extract to the target Jar
OK
Build | Build Artifact
1、File > Settings > Build, Execution, Deployment > Java Compiler
2、Change Target bytecode version to 1.8 of the module that you are working for.
If you are using Maven
Add this to pom.xml under the top-level project node:
<build>
<plugins>
<plugin>
...
Intellij 不能使用lambda解决办法
- 博客分类:
- java
In addition to File > Project Structure > Project > Project Language Level 将JDK版本设置为8。
you should also check File > Project Structure > **Modules** > Sources > Project Language Level and set to 8
1、添加用户useradd smb
2、修改用户密码passwd smb
3、添加samba用户smbpasswd -a
4、修改目录权限
chown -R smb /opt/smb
#chmod -R 744 /opt/smb
5、SAMBA配置
[smb]
comment = C languange example learning
path = /opt/smb
write list = smb
printable = no
browseable = yes
create mask = 755 ...
VNX Monitoring and Reporting Demo
https://www.youtube.com/watch?v=R2_mBR5y1L8
VNX Video EMC Storage Analytics for VNX Dashboards Overview
https://www.youtube.com/watch?v=e951TYM8lrU
NetApp Advanced Perf Monitoring (Introduction)
https://www.youtube.com/watch?v=wmaiFXNN7GE
Unisphere Central v4.0 - ...
intellij 快捷键
- 博客分类:
- 工具
IntelliJ Idea 常用快捷键列表
Alt+回车 导入包,自动修正
Ctrl+N 查找类
Ctrl+Shift+N 查找文件
Ctrl+Alt+L 格式化代码
Ctrl+Alt+O 优化导入的类和包
Alt+Insert 生成代码(如get,set方法,构造函数等)
Ctrl+E或者Alt+Shift+C 最近更改的代码
Ctrl+R 替 ...
http://www.iteblog.com/idea/key.php
http://idea.iteblog.com/key.php