Archive for the Category » 百科资料 «

星期一, 10月 13th, 2008 | Author: Joshua
powered by Wordpress Multibox Plugin v1.3.5

MAC BOOK PRO

MAC BOOK PRO

powered by Wordpress Multibox Plugin v1.3.5

According to the source the above picture is the new Macbook Pro grabbed with a camera phone. Some interesting details about the Pro were also included:
The ‘Touchpad Dock’ rumor is false
A new magnetic opening/closing system is in place
The top of the ’shell’ is gloss, similar to the iPhone and the bottom is aluminum.
The iSight is hidden nicely in the glossy frame
The keyboard is similar to the MacBook Air keyboard

‘Touchpad Dock’谣言是假的,
一种新的磁性开放/关闭系统,
顶部的’壳’是光猾质感的,类似iPhone,底部是铝,
该iSight摄像头是隐藏在很好的光泽框架中,
键盘类似MacBook Air的键盘。

If this picture is real the “TouchPad Dock” rumor is killed, although the touchpad in the picture does look like it may be made with a different material than the past — possibly glass making the current touchpad rumors half true I suppose. Also to note from the picture there does not seem to be drastically curved unlike the original “photo” of the Macbook Pro. This is in agreement with many other sources across the web that have said that the new Macbook Pro does not have curved edges.

Also included from the source is what is claimed to be a mockup of a Macbook Pro ad designed for the Apple website. Remember the source is on Apple’s design team .

You’ll have to make your own conclusions but we think the images above are fairly reasonable and match a lot of the current MacBook Pro expectations. We hope it’s true and will continue watching and waiting for more Macbook Pro information.

Category: 百科资料  | Tags:  | Leave a Comment
星期六, 10月 11th, 2008 | Author: Joshua

wget命令可以在linux下进行下载文件,这里的用法是摘自其GNU的帮助文档,由于都是E文,所以亲自用了一下,并记录其要点,以便日后翻阅:

Simple Usage 简单用法:
1、Say you want to download a URL. Just type:
wget http://fly.srk.fer.hr/ 最简单直接下载

2、But what will happen if the connection is slow, and the file is lengthy? The connection will probably fail before the whole file is retrieved, more than once. In this case, Wget will try getting the file until it either gets the whole of it, or exceeds the default number of retries (this being 20). It is easy to change the number of tries to 45, to insure that the whole file will arrive safely:
wget –tries=45 http://fly.srk.fer.hr/jpg/flyweb.jpg 注:–tries=45是当服务器无反应时,连续重试连接45次,当为0是则无限次重下载.

Now let’s leave Wget to work in the background, and write its progress to log file log. It is tiring to type –tries, so we shall use -t.
wget -t 45 -o log http://fly.srk.fer.hr/jpg/flyweb.jpg 注:-o log 把显示的信息写信到log文件中,亦可改为:wget -t 45 -o log.txt http://www.wcsky.com 即信息写入到log.txt文件中。

The ampersand at the end of the line makes sure that Wget works in the background. To unlimit the number of retries, use -t inf.

The usage of FTP is as simple. Wget will take care of login and password.
wget ftp://gnjilux.srk.fer.hr/welcome.msg

Advanced Usage 高级用法
1、Create a five levels deep mirror image of the GNU web site, with the same directory structure the original has, with only one try per document, saving the log of the activities to gnulog:
wget -r http://www.gnu.org/ -o log 注:-r 下载http://www.gnu.org/文件的镜像内容。

The same as the above, but convert the links in the HTML files to point to local files, so you can view the documents off-line:
wget –convert-links -r http://www.gnu.org/ -o gnulog 注:下载http://www.gnu.org/文件的镜像内容以及内容中的链接为本地的链接。

2、Retrieve only one HTML page, but make sure that all the elements needed for the page to be displayed, such as inline images and external style sheets, are also downloaded. Also make sure the downloaded page references the downloaded links.
wget -p –convert-links http://www.server.com/dir/page.html

The HTML page will be saved to www.server.com/dir/page.html, and the images, stylesheets, etc., somewhere under www.server.com/, depending on where they were on the remote server.

3、The same as the above, but without the www.server.com/ directory. In fact, I don’t want to have all those random server directories anyway–just save all those files under a download/ subdirectory of the current directory.
wget -p –convert-links -nH -nd -Pdownload http://www.server.com/dir/page.html

wget -Pdownload http://www.wcsky.com 注:下载http://www.wcsky.com里的面容到download文件夹中,如果此文件夹不存在,它会自动创建。

4、Retrieve the index.html of www.lycos.com, showing the original server headers:
wget -S http://www.lycos.com/ 注:-S : 用来显示服务器端的头信息,

5、Save the server headers with the file, perhaps for post-processing.
wget -s http://www.lycos.com/ 注:-s:下载其URL文件,并把头信息写入到文件中。

6、Retrieve the first two levels of wuarchive.wustl.edu, saving them to /tmp.
wget -r -l2 -P/tmp ftp://wuarchive.wustl.edu/

7、You want to download all the GIFs from a directory on an HTTP server. You tried wget http://www.server.com/dir/*.gif, but that didn’t work because HTTP retrieval does not support globbing. In that case, use:
wget -r -l1 –no-parent -A.gif http://www.server.com/dir/

More verbose, but the effect is the same. -r -l1 means to retrieve recursively (see Recursive Retrieval), with maximum depth of 1. –no-parent means that references to the parent directory are ignored (see Directory-Based Limits), and -A.gif means to download only the GIF files. -A “*.gif” would have worked too.

8、Suppose you were in the middle of downloading, when Wget was interrupted. Now you do not want to clobber the files already present. It would be:
wget -nc -r http://www.gnu.org/

wget -c http://www.wcsky.com/1.mp3 注:-c:用于断点续传。超实用!!

9、If you want to encode your own username and password to HTTP or FTP, use the appropriate URL syntax (see URL Format).
wget ftp://hniksic:mypassword@unix.server.com/.emacs

Note, however, that this usage is not advisable on multi-user systems because it reveals your password to anyone who looks at the output of ps.

10、You would like the output documents to go to standard output instead of to files?
wget -O - http://jagor.srce.hr/ http://www.srce.hr/

You can also combine the two options and make pipelines to retrieve the documents from remote hotlists:wget -O - http://cool.list.com/ | wget –force-html -i -

Category: 服务器技术, 百科资料  | Tags:  | Leave a Comment
星期六, 09月 27th, 2008 | Author: Joshua

1、什么是空气负离子?
  空气是多种气体的混合物,其中主要成分是氮、氧、二氧化碳和水蒸气。通常,空气中的各种气体分子都很稳定,呈中性,即不带电。然而,由于自然界的宇宙射线、紫外线以及雷电、风浪、植物等的作用,会导致周围空气电离,产生负离子,也叫空气负离子。空气负离子实质上就是带负电荷的空气粒子。通常人们所说的空气负离子是指的负氧离子,它是空气中的氧分子结合了自由电子而形成的。自然界的放电(闪电)现象、光电效应、燃烧过程、喷泉、激浪、瀑布等都能使周围空气电离,形成正、负离子。

2.空气中负离于的多少与哪些因素有关?
  在自然界的空气中,负离子的多少和气候、地理条件以及大气污染等有关,据测定:6-,9月份负离子浓度最高,1-3月份则最低,其余月份则介于两者之间。
  在地球表面,负离子浓度一般为几千个/立方厘米。大城市剧场中,仅为10-30个/立方厘米,大城市房间一般为40-50个/立方厘米,街头绿化地带为 100-200个/立方厘米,公园里为400-600个/立方厘米,郊外可达700-1000个/立方厘米,而在海滨、山谷、瀑布等处可高达到20000 个/立方厘米以上。

3.空气负离子的多少对人体有什么影响?
  空气负离子就象食物中的维生素一样,对人的生命活动有着很重要的影响,所以又称空气维生素。它能促进人体的生长发育和防止多种疾病,主要表现在:
(1) 对呼吸系统:改善肺功能。吸入负离子30分钟后,肺吸收氧气增加20%,排除二氧化碳增加约14.5%。
(2)对心血管系统:有明显的降压作用,可改善心肌功能,增加心肌营养,使周围毛细管扩张,皮温升高。
(3)对神经系统:可使人精神振奋,改善睡眠,有明显的镇静和镇痛作用。
(4)对新陈代谢:它能激活机体里的多种酶,吸收负离子后,可降低血糖、胆固醇、增加血钙、尿量、尿中氮和肌酐,加速骨骼生长,防止坏血病、佝偻病、维生素缺乏症。
(5)对血液:可使白血球、红血球、血红蛋白、网状红细胞和血小板增加,血沉减慢,球蛋白增加,PH升高,血凝时间缩短。
(6)对免疫能力:可改善机体的反应性,活跃网状内皮系统的机能,增加机体的抗病能力。

4.空气负离于在医疗保健上有什么应用?
  常见的是吸入空气负离子,治疗呼吸道疾病。国外1300例支气管哮喘病人,经负责制离子治疗后,控制发作病人55%,病情减轻35%,无效果10%。
  对一些呼吸道传染病,负离子也有良好的治疗作用。如儿童百日咳,25%的病人,治疗3~5次可愈,部分病人则要10―15次才愈。
  对慢性鼻炎、慢性咽喉炎,每次吸入20,–30次,有良好的疗效。
  空气负离子治疗的疾病还有:神经官能症、失眠、偏头痛、高血压、痛经、月经性皮炎、外伤、烧伤等。
负离子没有毒,没有副作用。一般说,将空气负离子作为辅助治疗手段,是比较理想的。

5.负离子发生器是个什么物品?
  空气负离子如同阳光、一样,是人类必不可少的物质。但负离子的寿命很短,在清洁的空气中只有几分钟,而在污浊的环境里仅有几秒钟,甚至更短。
  在旷野、海滨、山村、瀑布、喷泉等地,由于大气压低,灰尘少,温度高,空气中电离出的负离子多,其寿命可达到20多分钟;而在城市,特别是工矿区,人口密集,烟囱林立,烟尘剧增,还有汽车排出的废气,空气被污染,负离子数量大大减少,破坏了生态平衡,人们的健康受到威胁。
  自然现象的启示,人们开始用人工的方法产生负离子,释放到周围的空气中,净化空气,改善人们的生活环境。这种用人工产生空气负离子的设备就称为空气负离子发生器或负离子发生器。
负离子发生负离子的原理
负离子是通过负离子发生器利用脉冲、振荡电器将低电压升至直流负高压,利用碳毛刷尖端直流高压产生高电晕,高速地放出大量的电子(e-),而电子并无法长久存在于空气中(存在的电子寿命只有nS级),立刻会被空气中的氧分子(O2)捕捉,形成负离子,它的工作原理与自然现象“打雷闪电”时产生负离子的现象相一致。

负离子的健康含量
据有关科技研究表明,空气中负氧离子的含量是空气质量好坏的关键。负离子不仅可高效杀灭家居空气中因长期密闭而日趋增多的烟雾、灰尘、细菌,更可中和空气中的正离子,活化空气,改善肺功能,改善心肌功能,改善睡眠,促进新陈代谢,增强人体抗病能力,是家居生活不可缺少的健康卫士。如果长期呆在密闭的空调房内,空气中灰尘、烟雾、有害细菌、正离子含量快速上升,就容易引发”空调病”,(头晕、失眠、神经衰弱、免疫力下降、记忆力衰退 ┈┈)症状的发生,成为健康生活的大敌。这时候如何中和过多正离子、杀灭空气中的细菌就成为解决家居空气污染的关键.

Category: 百科资料  | Tags:  | Leave a Comment