直连路由:当在路由器上配置了接口的IP地址,并且接口状态为up的时候,路由表中就出现直连路由项 静态路由:静态路由是由管理员手工配置的,是单向的。 默认路由:当路由器在路由表中找不到目标网络的路由条目时,路由器把请求转发到默认路由接口 静态与默认路由适用的环境 1,静态路由和动态路由 静态路由一般是...
分类:
其他好文 时间:
2014-12-23 16:52:04
阅读次数:
203
这是自定义ActionBar样式的布局(使用的是SherlockActionBar,整体自定义) View?customView?=?getLayoutInflater().inflate(R.layout.actionbar_custom_view,?null);
ActionBarUtil.init();
//?...
getSupp...
分类:
移动开发 时间:
2014-12-23 10:45:38
阅读次数:
173
common.ps1
cls;
#Global is public
#Script is internal
#Script is Script
#Local is current stack level
#Numbered scopes are from 0..N where each step is up to stack level (and 0 is Local)
$...
分类:
系统相关 时间:
2014-12-23 10:31:10
阅读次数:
519
BigDecimal.setScale()方法用于格式化小数点setScale(1)表示保留一位小数,默认用四舍五入方式setScale(1,BigDecimal.ROUND_DOWN)直接删除多余的小数位,如2.35会变成2.3setScale(1,BigDecimal.ROUND_UP)进位处理...
分类:
编程语言 时间:
2014-12-23 09:00:07
阅读次数:
165
Given an array of integers, find two numbers such that they add up to a specific target number.
The function twoSum should return indices of the two numbers such that they add up to the target, whe...
分类:
其他好文 时间:
2014-12-23 01:33:48
阅读次数:
279
报表排序实现原理
看到某宝、某猫上的排序,我试着照猫画虎,自己鼓捣一个。
原理记录如下:
1、前台部分
学号
姓名
2、CSS部分
.upsort:hover,.upsort{background:rgb(0,161,222) url(./css/up.png) no-repeat center right ; color:#fff...
分类:
编程语言 时间:
2014-12-22 18:00:11
阅读次数:
244
概述 ActionBar是Android3.0之后着重推出的集成控件,在此之后的版本逐步完善,到android4.0之后已算比较成熟,而对于android3.0之前版本,也可以通过ActionBarSherlock 以及官方提供在 support library v7 里的 AppCompat这两....
分类:
移动开发 时间:
2014-12-22 16:07:18
阅读次数:
151
代码功能该示例工程实现了自定义ActionBar,可以使一个图片平滑过渡到ActionBar Icon的位置,并以ActionBar Icon的形式展现出来。而且还实现了背景图片的自动切换,缩放和平移。可以在展示用户资料等场景使用。关键代码学习2.1 NoBoringActionBarActivit...
分类:
移动开发 时间:
2014-12-22 11:00:17
阅读次数:
158
Maze
Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65768/65768 K (Java/Others)
Total Submission(s): 1788 Accepted Submission(s): 701
Special Judge
Problem Description
When wake up,...
分类:
其他好文 时间:
2014-12-22 09:34:31
阅读次数:
152
问题描述:
Follow up for N-Queens problem.
Now, instead outputting board configurations, return the total number of distinct solutions.
(N-Queens problem can see
here )
基本思路:
可参照N-Queens问题,按...
分类:
其他好文 时间:
2014-12-21 22:12:49
阅读次数:
157