这次我们来说下嵌套列:为了使用内置的栅格系统将内容再次嵌套,可以通过添加一个新的 .row 元素和一系列 .col-sm-* 元素到已经存在的 .col-sm-* 元素内。被嵌套的行(row)所包含的列(column)的个数不能超过12(其实,没有要求你必须占满12列)。 ...
分类:
其他好文 时间:
2014-07-14 08:03:11
阅读次数:
193
1. 统计信息默认情况下是每天晚上10点半后收集,如果新建对象还没来得级收集统计信息,就采用动态采样的方式。 2. 具体在set autotrace 跟踪的执行计划中,可以看到类似:- dynamic sampling used for this statement (level=2) 3. ...
分类:
其他好文 时间:
2014-07-14 00:31:08
阅读次数:
305
N皇后问题,经典中的经典。 第一遍的时候,只有点思路,但是想不清楚,看了别人的代码。 方法一(Java): public class Solution { int[] row; int[] col; ArrayList res; int N; public vo...
分类:
其他好文 时间:
2014-07-13 22:21:25
阅读次数:
233
//将字符串反转,但单词不倒置。#include#includevoid reverse(char *s){ char data[255][255];//将s中的空格和非空格子串进行存储 int row = 0,column = 0; int i,j,k; for(i=0;s[i];) { data...
分类:
其他好文 时间:
2014-07-13 09:31:51
阅读次数:
202
if (e.Row.RowType == DataControlRowType.DataRow) { e.Row.Cells[6].Text = Server.HtmlDecode(e.Row.Cells[6].Text); e.Row.Ce...
分类:
其他好文 时间:
2014-07-13 09:01:38
阅读次数:
158
1. Set Serveroutput on; declare Cursor tem_cursor is select * from xuesheng xs; v_row tem_cursor%rowtype;begin open tem_...
分类:
数据库 时间:
2014-07-13 00:35:28
阅读次数:
195
近日查看数据库运行较长的语句,发现我们这边的开发人员真是厉害,不懂装懂的本领真高。
开发以为只要走索引就是快的,而且刚好知道index hint可以强制走索引,所以就用上了。可是走的是bitmap index full scan,把整个索引都扫描了,然后根据索引的位图转化(bitmap conversion to rowids)成rowid,再根据索引的rowid和表的row...
分类:
其他好文 时间:
2014-07-12 23:01:24
阅读次数:
333
$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
Given an index k, return the kth row of the Pascal's triangle.
For example, given k = 3,
Return [1,3,3,1].
Note:
Could you optimize your algorithm to use only O(k) extra space?
原题链接:https:/...
分类:
其他好文 时间:
2014-07-12 20:43:11
阅读次数:
213
Description
Read the statement of problem G for the definitions concerning trees. In the following we define the basic terminology of heaps. A heap is a tree whose internal nodes have each assigned...
分类:
其他好文 时间:
2014-07-12 18:52:12
阅读次数:
285