Friday, 12 July 2013

Smoke testing

Heard this word from PM, wonder what's it.
Got it from wiki page.
 http://en.wikipedia.org/wiki/Smoke_testing

now some general understanding now.

Smoke testing refers to physical tests made to closed systems of pipes to detect cracks or breaks. By metaphorical extension, the term is also used for the first test made after assembly or repairs to a system, to provide some assurance that the system under test will not catastrophically fail. After a smoke test proves that "the pipes will not leak, the keys seal properly, the circuit will not burn, or the software will not crash outright,"[citation needed] the system is ready for more robust testing.
The term smoke testing is used in several fields, including electronics, software development, plumbing, woodwind repair, infectious disease control, and the entertainment industry.

Thursday, 27 June 2013

How to AutoFit Column Width or Height in Excel

Click the "Format" drop-down menu in the "Cells" group of the "Home" tab.
Select the "AutoFit Column Width" option in the "Cell Size" section.

or "AutoFit Row Height"

That's easy!

Tuesday, 25 September 2012

sed 去掉windows下的回车符

用 sed 去掉 去掉windows下的回车符
 (注意^M 在linux 下写法 按^M 是回车换行符,输入方法是按住CTRL+v,松开v,按m)
sed -i 's/^M//g' df.txt