美国非移民签证简要指南

地点: 上海领事馆;

PDF Link:  http://goo.gl/ZKcj8 [Box.net]

by 老李 | Tagged | Leave a comment

Flex: 检查/撤销Datagrid编辑数据 Validate/revert editable Datagrid input value

Requirement: We want to validate user input in editable datagrid, and revert the original value(undo) if necessary.
Solution: Handle the ‘itemEditEnd’ Event dispatched by the datagrid.
Codes:
/**
* validate user input, revert the original value if necessary.
*/
protected function datagirdTest_

More…

by 老李 | Tagged , , , , | Leave a comment

20111120

琐碎寡味的一周。
跟以前一样,我仍旧在逃避着很多,尤其内心阴暗处的一滩又一滩的水,幻想有一天柳暗花明,风清云淡。
从暴躁到暴躁,从自私到自私,这两年,年复一年,一年不如一年。
未老莫还乡,还乡须断肠。如果生活还是那么简单,内心会是多么平静。
有多久,没有安静下来,有多久,没有用心生活,粗糙,愚钝。
睡觉,睡觉。

by 老李 | 2 Comments

Windows下列出所有文件清单的Dos命令

Command: dir/s/b > list.txt
Output:
D:\PatchScriptsForAppTest\35315_deltas.xnr
D:\PatchScriptsForAppTest\35338_Part1_Translations.xnr
D:\PatchScriptsForAppTest\35338_part2_XeAppMenus.xnr
D:\PatchScriptsForAppTest\35345_Translations_IN_OUT.xnr
More info: http://www.microsoft.com/resources/document

More…

by 老李 | Tagged , | Leave a comment

Oracle: 扩充TableSpace语句

Step1: check current status and get all file path
SELECT
B.FILE_NAME FILENAME,
B.TABLESPACE_NAME TABLESPACENAME,
B.BYTES/1024/1024 SIZE_MB,
(B.BYTES-SUM(NVL(A.BYTES,0)))/1024/1024 USED_MB,
substr((b.bytes-sum(nvl(a.bytes,0)))/(b.bytes)*100,1,5) Percentage
from dba_free_space a,dba_data_files b
where

More…

by 老李 | Tagged , | Leave a comment