// pager.demo.js/** * jquery/bootstrap pager. * depends: jquery1.10, boostrap2 * https://code.csdn.net/snippets/146160 * @see: http://blog.csdn.net/wi...
分类:
其他好文 时间:
2015-08-27 22:40:24
阅读次数:
142
由于EF Code First模式没有模型文件,所以很多一次请求的时候速度比较慢,EF需要将对应的数据库映射关系加载到内存里面,往后请求就比较快。可以通过在程序初始化的时候增加一段代码来优化EF第一次执行的速度,具体代码如下//EF暖机操作using (CompanyContext dbContex...
分类:
其他好文 时间:
2015-08-27 22:39:44
阅读次数:
1347
select CALC_MONTH, EMPLOYEE_CODE, max(LAST_PREMIUM) LAST_PREMIUM, max(MONTHFEE_ONJOB)MONTHFEE_ONJOB, max(YEARFEE_ONJOB) YE...
分类:
其他好文 时间:
2015-08-27 21:05:08
阅读次数:
143
An interesting problem. The code is also short and clear.The basic idea is to use a 2d array dp[i][j] to denote the minimum hp that is required before...
分类:
其他好文 时间:
2015-08-27 20:55:26
阅读次数:
229
为了尊重原始版本,将英文原文贴出来,同时将一些需要注意的地方加上我的注释
Source code of the firmware running in the Crazyflie 2.0 nRF51822. This microcontroller have a couple of roles:
Power management (ON/OFF logic and battery ha...
分类:
其他好文 时间:
2015-08-27 18:39:31
阅读次数:
279
(转载文章)1.1下载selenium2.0的包官方download包地址:http://code.google.com/p/selenium/downloads/list官方User Guide: http://seleniumhq.org/docs/官方API: http://se...
Design an algorithm and write code to serialize and deserialize a binary tree. Writing the tree to a file is called 'serialization' and reading back f...
分类:
其他好文 时间:
2015-08-27 18:19:03
阅读次数:
142
iOS开发中经常遇到这样的一个bug:exc_bad access code=exc_1386_gpflt。
这样bug通常情况下就是内存管理方面的问题。
一般是访问了已经释放的对象导致的,可以开启僵尸对象(Zombie Objects)来定位问题:
在Xcode的菜单:
Product->Scheme->Edit Scheme->Run xxx.app
右边的选项中,选中E...
分类:
数据库 时间:
2015-08-27 16:44:41
阅读次数:
251
最近都在忙着研究Android的安全攻防技术,好长一段时间没有写博客了,准备回归老本行中--Read the funcking android source code。这两天在看NDK文档的时候,看到一句话“Native debugging ... does n...
分类:
移动开发 时间:
2015-08-27 15:37:03
阅读次数:
386
对于html文件,用到最多的是标签,用来供用户输入信息,然而,我们想要实现这样的效果:
当用户没输入内容的时候,输入框内有默认的内容,当用户点击输入框的时候,输入框就会清空默认的内容供用户输入,而当用户没有输入任何内容时就点击其他地方时该输入框又会出现默认的内容,这里用简单的代码实现了该功能
{CSDN:CODE:990002}...
分类:
Web程序 时间:
2015-08-27 15:19:56
阅读次数:
135