UrlHelper u = new UrlHelper(this.ControllerContext.RequestContext);string url = u.Action("About", "Home", null);生成超链接string link = HtmlHelper.Generate...
分类:
其他好文 时间:
2015-06-11 16:38:44
阅读次数:
98
写过Android程序的都知道Activity中有一个名称叫onCreate的方法。该方法是在Activity创建时被系统调用,是一个Activity生命周期的开始。可是有一点容易被忽视,就是onCreate方法的参数savedInstanceState。因为在一般的程序开发中,很少用到这个参数。o...
分类:
其他好文 时间:
2015-06-11 16:40:20
阅读次数:
108
问题是什么时候出现的呢? 当一个实体对象中包含多于一个non-lazy获取策略时,比如@OneToMany,@ManyToMany或者@ElementCollection时,获取策略为(fetch = FetchType.EAGER)出现问题的原因: 当(fetch = FetchType.EAGE...
分类:
其他好文 时间:
2015-06-11 16:38:55
阅读次数:
103
sudo mkdir /usr/ccid./configure CC=/home/lbl/ti-dvsdk_omapl138-evm_04_03_00_06/linux-devkit/bin/arm-arago-linux-gnueabi-gcc --host=arm-arago-linux pre...
分类:
其他好文 时间:
2015-06-11 16:36:55
阅读次数:
1062
http://www.missyuan.com/thread-350757-1-1.htmlnew鼠标手势很有用,当做错了的时候看鼠标手势就知道哪里错了如果新建图像时背景内容选择白色或背景色,那么新图像中就会有一个背景层存在,并且有一个锁定的标志在使用移动工具的时候,可以使用键盘的上下左右键来移动图...
分类:
其他好文 时间:
2015-06-11 16:36:05
阅读次数:
85
初期:一.基本算法: (1)枚举. (poj1753,poj2965) (2)贪心(poj1328,poj2109,poj2586) (3)递归和分治法. (4)递推. (5)构造法.(poj3295) (6)模拟法.(poj1068,poj2632,poj1573,poj2993,po...
分类:
其他好文 时间:
2015-06-11 16:35:44
阅读次数:
139
No.219 Contains Duplicate ||Given an array of integers and an integerk, find out whether there there are two distinct indicesiandjin the array such th...
分类:
其他好文 时间:
2015-06-11 16:36:16
阅读次数:
136
WIDTH:(([UIApplication sharedApplication].statusBarOrientation == UIInterfaceOrientationPortrait || [UIApplication sharedApplication].statusBarOrienta...
分类:
其他好文 时间:
2015-06-11 16:32:29
阅读次数:
108
题目链接:BZOJ - 1009题目分析题目要求求出不包含给定字符串的长度为 n 的字符串的数量。既然这样,应该就是 KMP + DP ,用 f[i][j] 表示长度为 i ,匹配到模式串第 j 位的字符串个数,然后转移就是可以从第 j 位加上一个字符转移到另一个位置。然而..我并没有写过KMP +...
分类:
其他好文 时间:
2015-06-11 16:32:51
阅读次数:
257
当我看到这个主题我突然感觉很想笑,是的,没错我想笑。我仿佛能透过这张试卷看到阅卷老师铁青铁青的脸。据媒体报道近十年来房价涨幅为20倍当所有有梦想的年轻人被房价压得抬不起头来的时候,平衡在哪里?普通老百姓一个月的工资只够买0.5个平方的房子,而“表哥”的一块表就是好几万块,表哥说他还有好几十块这样的表...
分类:
其他好文 时间:
2015-06-11 16:33:57
阅读次数:
112
1 /* 2 * the super block basically lists the main trees of the FS 3 * it currently lacks any block count etc etc 4 */ 5 struct btrfs_super_block {...
分类:
其他好文 时间:
2015-06-11 16:34:15
阅读次数:
141
在美国西海岸旧金山到圣荷西市(San Jose)之间,围绕着旧金山海湾有几十公里长,几公里宽的峡谷,通常称为硅谷。谷并不是因为它生产硅,而是它有很多是使用硅的半导体公司,包括全世界最大的半导体公司英特尔公司。我们在上一章介绍了摩尔定理和安迪-盖茨定理,其中摩尔是英特尔公司的创始人,而安迪.格罗夫是第...
分类:
其他好文 时间:
2015-06-11 16:32:26
阅读次数:
278
服务端文档:注册/my/register.php输入参数:参数说明:username用户名password密码email邮箱成功返回值:{"code": "registered","message": "注册成功了,进入个人空间" }注册失败:{"code": "user_name_already_...
分类:
其他好文 时间:
2015-06-11 16:31:21
阅读次数:
107
XML文件格式: dom4j读写方法:/** * 读取 */ public static void read() { try { File xmlFile = new File("d://company.x...
分类:
其他好文 时间:
2015-06-11 16:30:43
阅读次数:
165