一.打包jar文件 1 如果是class文件 jar cvf myjar.jar Foo.class Bar.class 如果是包 jar cvf myjar.jar pack 在eclipse下打包 需要打包的程序工程名称,再单击Eclipse编程器的相应菜单命令“File>>Exp...
分类:
编程语言 时间:
2014-11-27 23:31:53
阅读次数:
268
二维码的定义:二维码 (2-dimensional bar code),是用某种特定的几何图形按一定规律在平面(二维方向上)分布的黑白相间的图形记录数据符号信息的。在许多种类的二维条码中,常用的码制有:Data Matrix, Maxi Code, Aztec, QR Code, Vericode,...
分类:
移动开发 时间:
2014-11-27 15:48:07
阅读次数:
279
Form::open(array('url'=>'foo/bar','method'=>'put'))Form::close();Form::open(array('url'=>'foo/bar','files'=>true)) //允许文件上传//密码域Form::password("passwo...
分类:
其他好文 时间:
2014-11-26 20:30:01
阅读次数:
1037
2. 完善地图 我们的地图中有空地,墙,钢,草丛,水,总部等障碍物。 我们可以把这些全部设计为对象。2.1 创建障碍物对象群 对象群保存各种地图上的对象,我们通过对象的属性来判断对象是否可以被穿过或被攻击。Barrier.js: 1 // 障碍物基类对象,继承自TankObject 2 Bar...
分类:
编程语言 时间:
2014-11-26 18:45:47
阅读次数:
261
CRM2013中一个很低级很令人无语的BUG,见下图subgrid中的明细条目超过当前页设置的条目后会有翻页,在底下有个paging bar会显示条数、页数、当前所处页数
但sp1版本的CRM打上ur1补丁后,翻到最后一页就会变成这样了,底下的paging bar消失了,是不是感觉很无语。
正常的情况应该是像下面图中显示的这样。
因为我用的是CRM2013的sp1版本,默...
分类:
其他好文 时间:
2014-11-26 16:41:14
阅读次数:
152
再次阅读,发现一些之前忽略掉的内容:1. 关于引用作为参数传递,例如:bar(\@bletch);sub bar{ my @arr = @{shift}}但是这样,shift只是一个变量名称而不是内建函数。如果想要变成内建函数,必须按照下面的方法添加点什么:my @arr = @{shift(...
分类:
其他好文 时间:
2014-11-26 16:08:34
阅读次数:
221
Panic log:[ 939.136378] c0 11060 (kworker/u8:5) binder: release 29969:29969 transaction 41327 out, still active[ 951.095433] c1 1026 (Binder_6) bind.....
分类:
其他好文 时间:
2014-11-26 15:45:08
阅读次数:
599
给客户的文档
1 Download the ipa file
2 Drag file to iTunes’s App on the slide menu
if don’t have slide menu on the iTunes, can access the view on the tool bar, andclick “show slide bar”
...
分类:
其他好文 时间:
2014-11-25 23:49:00
阅读次数:
363
利用highcharts的series:{stacking:‘normal‘}进行区分。$(function(){$(‘#container‘).highcharts({chart:{type:‘bar‘},title:{text:‘Stackedbarchart‘},xAxis:{categories:[‘Apples‘,‘Oranges‘,‘Pears‘,‘Grapes‘,‘Bananas‘]},yAxis:{min:0,title:{text:‘Totalfruitconsumption..
分类:
其他好文 时间:
2014-11-25 18:54:11
阅读次数:
808
Given n non-negative integers representing an elevation map where the width of each bar is 1, compute how much water it is able to trap after raining.
For example,
Given [0,1,0,2,1,0,1,3,2,1,2,1], ...
分类:
移动开发 时间:
2014-11-25 18:42:47
阅读次数:
202