在Maven中配置如下:
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jar-plugin</artifactId>
<configuration>
<archive>
<man[......]
Perl读书笔记(2)
Learning Perl 6th
Chapter 3 and Chapter 4
1、List是Scalar变量的有序集合,Array是List集合所对应的具体变量(List是数据,Array是对应的存储空间)。
2、与Python类似,Perl的List中变量可以是不同的Scalar元素。
3、Array的定义、下标访问如下:
#!/usr/bin/perl
$a[0] = 1;
$a[1] = "2";
$a[2] = 3;
print[......]
Perl读书笔记(1)
Learning Perl 6th
Chapter 1 and Chapter 2
1、Perl的优点:开发相对快速(比较于C),功能强大,执行效率较高(相对于Python),可移植性。
2、Perl脚本中,直接用`cmd`执行其他Shell命令,类似于SH脚本。
#!/usr/bin/perl
$result=`ls -alh`;
print $result;
3、上述$是scalar变量(标量,单一变量),而@表示Array变量(数组)。
4、Perl支持In[......]
HBase、Redis中关于“长事务”(Long Transaction)的一点讨论
首先解释下标题,可能命名不是那么严谨吧,大致的定义如下:
sometimes you are in a situation where you want to read a record, check what is in it, and depending on that update the record. The problem is that between the time you read a row and perform the update, someone else m[......]
[转]Eclipse智能提示
转载自:http://www.cnblogs.com/myitm/archive/2010/12/17/1909194.html
注意:最新的Eclipse上,已经没有4个字母的限制了!
今天有点时间,研究了一下MyEclispse的智能感知的功能。刚开始使用它时总是感觉如此不爽→智能感知功能太弱!与Visual Studio2008简直不是一个档次的!不过后来经过查看网上的资料发现它也并非如此的弱,就在上周我自己玩弄它时就发现可以通过如下设置来修改它的智 能感知的提示时间:[......]