//根据传入的日期得到周末. public static int getDayOfWeek(Date date){ Calendar cal=Calendar.getInstance(); cal.setTime(date); int dayNum=0; if(cal.get(Calenda...
分类:
其他好文 时间:
2014-06-28 11:45:35
阅读次数:
217
/********************************************************************** Author : Samson* Date : 06/15/2014* Test platform:* Mint 15-3.8.13.13* GNU bas...
分类:
其他好文 时间:
2014-06-28 11:38:32
阅读次数:
316
1.if语句(python中没有switch语句,可用if……elif……else代替)格式: if 表达式: #语句 else: #语句eg:number = 23guess = int(raw_input('Enter an integer:'))if guess == numb...
分类:
编程语言 时间:
2014-06-28 11:35:24
阅读次数:
253
Makefile规则target ... :prerequisites... commandtarget就是一个目标文件,可以是object file,也可以是可以执行文件,也可以是一个标签prerequisites就是要生成那个target所需要的文件或者目标文件co...
分类:
其他好文 时间:
2014-06-28 11:27:28
阅读次数:
204
其实Android自己维护这一个 public final class R类主要是跟新资源文件,这个R.java无需我们自己去修改,如果你不了解千万不要去修改它,它定义的每个资源值都是唯一的,不会和系统冲突。这个文件由ADT插件自动更新,当你编辑过Res文件后保存,这个类就会自动更新。R.java里...
分类:
移动开发 时间:
2014-06-28 11:21:08
阅读次数:
153
在我的Dell Latitude 3330上, 新装的Ubuntu 14.04一切正常,就是没有system settings程序,以下的命令能够解决:sudo apt-get install ubuntu-desktop不用重新启动,立马生效。
分类:
其他好文 时间:
2014-06-28 11:18:29
阅读次数:
181
$@$@ is the name of the target.$?The $? macro stores the list of dependents more recent than the target (i.e., those that have changed since the last ...
分类:
其他好文 时间:
2014-06-28 10:50:20
阅读次数:
192
1. 材质定义:2. 把材质都改成支持透明通道 因为物体太多了,比如树跟房子材质必须用不一样的。所以办法还是你得改每个材质的Shader,都改成支持透明通道的。 在Project的搜索窗口输入t: material 然后材质就都出来了。 然后全部选定,把shader 改成Particle/Alp.....
分类:
其他好文 时间:
2014-06-28 10:49:41
阅读次数:
215
sqlserver2005开发版下载地址:http://222.132.81.146/rj/cs_sql_2005_dev_all_dvd.rar建议使用迅雷下载。sql server 2005 开发版迅雷下载地址:thunder://QUFodHRwOi8vMjIyLjEzMi44MS4xNDYv...
分类:
数据库 时间:
2014-06-24 10:35:47
阅读次数:
336
20个对Linux专家非常有用命令http://os.51cto.com/art/201308/406979_all.htm13个超实用的Linux性能监测命令行工具http://os.51cto.com/art/201304/388673_all.htm11 个很有用但鲜有人知的 Linux 命令...
分类:
系统相关 时间:
2014-06-24 10:30:02
阅读次数:
371