Turbolinks[1]:Turbolinks makes following links in your web application faster.Instead of letting the browser recompile the JavaScript and CSS between ...
分类:
移动开发 时间:
2014-07-18 21:03:11
阅读次数:
253
1) http://ruby-hacking-guide.github.io/intro.htmlIt has one part to discuss “Technique to read source code”. BTW, you could download kindle file from....
分类:
其他好文 时间:
2014-07-14 19:44:11
阅读次数:
271
$links = array();
//获取系统菜单,所有权限都默认进行了验证
$links['case-edit']=menu_get_item('node/'.$row->nid.'/edit');
//自定义链接地址
$links['custom_url']=array(
'title' => t('custom_url'),
...
分类:
其他好文 时间:
2014-07-12 21:02:44
阅读次数:
236
1.RAID 廉价磁盘冗余阵列2.Symbolic links 通俗易懂的说就是通过连接符指向的操作,人为的将某些数据库分布到其他的文件夹/磁盘上 Linux: Mysql DATA路径:/opt/mysql/data mkdir /usr/mysql/data/test 创建一个目...
分类:
数据库 时间:
2014-07-12 15:50:04
阅读次数:
241
以前安装Eclipse插件有两种方式1 直接copy插件到features/plugins目录2 在links目录下创建链接文件.而 Eclipse 3.5又推出另一种新的安装途径, 更加灵活。Eclipse 3.5下有个dropins目录, 只要把插件放到该目录下就可以加载, 有几种格式可以选择。...
分类:
系统相关 时间:
2014-07-06 23:00:28
阅读次数:
348
题目:把1-n,连续的放到一个环里,使相邻的数字和为素数,输出所有结果。
分析:搜索+剪枝。如果裸搜,用dancing-links那种拆装的链表,应该差不多满足16的数据量。
这里利用一个性质进行剪枝:相邻的数字一定是奇偶性不同的数字。
(如果上述假设不成立,则存在相邻的奇数或偶数,那么他们的和一定是大于2的偶数,不是素数)
...
分类:
其他好文 时间:
2014-07-03 17:45:19
阅读次数:
204
KVM/QEMU hypervisor driver Project Links Deployment pre-requisites Connections to QEMU driver Driver security architecture Driver instances POSIX user...
分类:
其他好文 时间:
2014-07-01 19:14:26
阅读次数:
323
Easy Finding
Time Limit: 1000MS
Memory Limit: 65536K
Total Submissions: 15668
Accepted: 4163
Description
Given a M×N matrix A. Aij ∈ {0, 1} (0 ≤ i
Input
There ar...
分类:
其他好文 时间:
2014-06-30 08:35:45
阅读次数:
215
Sudoku
Time Limit: 1000MS
Memory Limit: 65536K
Total Submissions: 8152
Accepted: 2862
Description
In the game of Sudoku, you are given a large 9 × 9 grid divided in...
分类:
其他好文 时间:
2014-06-29 22:07:32
阅读次数:
279
题目大意:
16*16的数独。
思路分析:
多说无益.
想说的就是dancing links 的行是按照
第一行第一列填 1
第一行第二列填 2
……
第一行第十五列填15
第一行第二列填 1
……
第二行。。。。
列的纺织则是
第一行放1,第一行放2,。。第十六行放16.。。第一列放1.。第一列放2.。。第十六列放16.。第一块区域放1 。。。。...
分类:
其他好文 时间:
2014-06-28 08:14:30
阅读次数:
303