查询备份文件的空间利用值
[
2009/10/27 23:48 | by fubin ]
2009/10/27 23:48 | by fubin ]
select
substr(to_char(100 * headroom, '999999999.0'), 2) || '%' min_headroom,
round(arch_time * 24 * 60, 2) archival_minutes,
round(arch_window * 24 * 60, 2) archival_window
from
( select
b.next_time - a.next_time arch_window,
a.completion_time - a.next_time arch_time,
(b.next_time - a.next_time) / (a.completion_time - a.next_time) - 1
headroom
from
sys.v_$thread t,
sys.v_$archived_log a,
sys.v_$archived_log b
where
a.completion_time > a.next_time and
b.sequence# = a.sequence# + t.groups - 1
order by
3
)
where
rownum = 1
substr(to_char(100 * headroom, '999999999.0'), 2) || '%' min_headroom,
round(arch_time * 24 * 60, 2) archival_minutes,
round(arch_window * 24 * 60, 2) archival_window
from
( select
b.next_time - a.next_time arch_window,
a.completion_time - a.next_time arch_time,
(b.next_time - a.next_time) / (a.completion_time - a.next_time) - 1
headroom
from
sys.v_$thread t,
sys.v_$archived_log a,
sys.v_$archived_log b
where
a.completion_time > a.next_time and
b.sequence# = a.sequence# + t.groups - 1
order by
3
)
where
rownum = 1
High Heels on Cobblestones, Louisiana(路易斯安娜鹅卵石上的高跟鞋)
[
2009/10/26 10:49 | by fubin ]
2009/10/26 10:49 | by fubin ]

Because the region around New Orleans is composed of alluvial soil, there is no paving material close at hand. More than a hundred years ago the city offered a bounty to ships which would bring to the port rock ballast instead of sand. The first cobblestone pavement was laid on Gravier and Magazine Streets in 1817.
新奥尔良由于是冲击平原地区主要都是有沙土组成,因而缺乏石料,一百多年前这个城市悬赏人们将大块石料替代沙子。第一条鹅卵石卢是在1817即那里起来的。
From the National Geographic vintage collection.
flying TIME
[
2009/10/25 23:14 | by fubin ]
2009/10/25 23:14 | by fubin ]
Q: Why did they throw the clock out of the window?
A: They wanted to see TIME fly!
问:为什么他们把闹钟扔到窗外?
答:因为他们想看到时间飞逝。。。。

Red, the color of human blood, symbolizes passion, fire, love, and anger. In Eastern cultures, it also connotes luck and prosperity. Red occurs throughout nature, from dying stars to dying leaves, and humans have evoked its powers for everything from politics to sports.
红色是人类血液的颜色,他代表着热情,火焰,爱和愤怒。在东方文化中他也代表着幸运和喜庆。在自然界将要死去的星星和树叶都是红色的,人类也用它到表政治运动和体育精神.
Ext.state.Manager.setProvider(new Ext.state.CookieProvider());
[
2009/10/15 23:40 | by fubin ]
2009/10/15 23:40 | by fubin ]
初始化Ext状态管理器,在Cookie中记录用户的操作状态,如果不启用,象刷新时就不会保存当前的状态,而是重新加载
象如果窗口中有用可拖动面板的话,你在拖动后如果启动了Ext.state.Manager.setProvider(new Ext.state.CookieProvider()),就算刷新后面板仍然会在你拖动后的位置。如果不启用的话是不是就会按照默认的排列方式排列
象如果窗口中有用可拖动面板的话,你在拖动后如果启动了Ext.state.Manager.setProvider(new Ext.state.CookieProvider()),就算刷新后面板仍然会在你拖动后的位置。如果不启用的话是不是就会按照默认的排列方式排列
EXT将JSON数据传到后台
[
2009/10/11 10:05 | by fubin ]
2009/10/11 10:05 | by fubin ]
有JSON数据:
var obj = {
prop1: "a0~`!@#$%^&*()-_+={}[]|\\:;\"',.?/",
prop2: ['x','y'],
prop3: {
nestedProp1: 'abc',
nestedProp2: 456
}
}
如果要将其传到后台很简单:
var req = Ext.Ajax.request({
url: "/ws/myAction.do",
params: {json: Ext.encode(obj)},
disableCaching: false
})
在Action里(后台):
String json= request.getParameter("json");
JSONObject aJSONObject= JSONObject.fromObject(json);
其实这个事情很简单。。。。
var obj = {
prop1: "a0~`!@#$%^&*()-_+={}[]|\\:;\"',.?/",
prop2: ['x','y'],
prop3: {
nestedProp1: 'abc',
nestedProp2: 456
}
}
如果要将其传到后台很简单:
var req = Ext.Ajax.request({
url: "/ws/myAction.do",
params: {json: Ext.encode(obj)},
disableCaching: false
})
在Action里(后台):
String json= request.getParameter("json");
JSONObject aJSONObject= JSONObject.fromObject(json);
其实这个事情很简单。。。。
搜索整个硬盘查找文件名的方法
[
2009/10/07 21:42 | by fubin ]
2009/10/07 21:42 | by fubin ]
守候了一上午,等待!焦急的等待。。。我终于还是发现自己在无计可施的情况下是怎么样子了。我们总是在强调要掌握命运,当病痛面前我们还是只有祈祷!
还好上天还是比较眷顾我们的!
还好上天还是比较眷顾我们的!
除了抛腹产这是我爱人第二次手术,由于长年的积累她的胆结石了。虽然医生反复强调这并不是什么大问题,但是还是忐忑不安!







下载文件