index.html{% extends "base.html" %}{% block content %}Hi, {{user.nickname}}!{% for post in posts %}{{post.author.nickname}} says: {{post.body}}{% endf...
分类:
其他好文 时间:
2014-08-05 00:07:28
阅读次数:
224
CSS Display - Block and Inline ElementsA block element is an element that takes up the full width available, and has a line break before and after it....
分类:
Web程序 时间:
2014-08-04 20:42:27
阅读次数:
310
下面教大家如何手工算出oracle执行计划中的cost值。
成本的计算方式如下:
Cost = (
#SRds * sreadtim +
#MRds * mreadtim +
CPUCycles / cpuspeed
) / sreadtime
#SRds - number of single block reads 单...
分类:
其他好文 时间:
2014-08-04 18:06:07
阅读次数:
310
在eclipse中编写如下的代码,eclipse会给出黄色告警:finally block does not complete normally。
public class Test
{
public static void main(String[] args)
{
System.out.println(m1(null));
}
public ...
分类:
系统相关 时间:
2014-08-04 18:02:37
阅读次数:
200
此问题来源于网络封装的一个内容,由于保密的问题,我只叙述我业余的一些想法。
基本思想:
网络请求大家应该都会用一个基类的BaseNetWork, 然后由派生类继承于BaseNetWork,并实现一些特殊的方法。 一般标准的流程是传入block, 当网络请求完毕后,通过block回调回来。这里叙述的关键不是如何实现一个网络请求和回调block的相关内容,而是如何取消请求。 一般基类会实现...
分类:
其他好文 时间:
2014-08-04 17:56:27
阅读次数:
226
1、word-wrap:break-word,内容将在边界内换行,仅用于块对象,内联对象要用的话,必须要设定height、width或display:block或position:absolute。 2、word-break:break-all,用于处理单词折断。 3、white-space:n...
分类:
其他好文 时间:
2014-08-04 14:45:37
阅读次数:
231
这个心态简单形容下来是这样的: 工作不能太累,赚这么点钱你让我累? 不愿意做琐碎事,当然也做不好琐碎事; 不能做重复的事情,因为也不会简化重复的事情; 做事情多数时候又无法一次做对。 压力不能承受太大,然...
分类:
其他好文 时间:
2014-08-04 14:44:27
阅读次数:
195
“Control panel” => “Ease of Access” => “Ease of Access Center” => “Make the computer easier to see” => “Set the thickness of the blinking cursor”. 8 p...
正在查询,请稍后。。。。 当执行点击事件时,通过js控制div做一次显示即可。function showDiv(){ document.getElementById('popDiv').style.display='block'; document.ge...
分类:
其他好文 时间:
2014-08-04 10:28:06
阅读次数:
253
提示信息的设计提示信息的类:.alert:提示信息类.alert alert-danger:.alert alert-error:.alert alert-success:.alert alert-info:.alert alert-block:.alert alert-heading:提示信息按钮...
分类:
其他好文 时间:
2014-08-03 17:38:45
阅读次数:
232