网站管理员的好帮手:Google 网站管理员工具

“Google 为什么一直不收录我的网站?”
“我的网站被 Google 屏蔽了吗?”
“为什么 Google 只抓取了我的网站的一小部分?如何让 Google 知道我网站上的所有网页?”
建议您使用。通过它,您可以轻松地:
1) 获得关于 抓取及收录您网站的详细资料。如果您的是因为违反了 Google 的网站管理员指南而未被收录,您可能会看到相关的警告,以及网站修正后提交重新收录的链接。
2) 诊断潜在的抓取问题,并学习如何改善它们。
3) 了解哪些关键字为您的网站带来最多的访问量。
4) 与 Google 分享关于您网站的信息。

Hacking Ubuntu to Improve Performance

from: http://www.extremetech.com/article2/0,1697,2114115,00.asp
This feature includes various hacks to s such as viewing running processes, identifying resources, finding process startups, tuning kernel parameters, and speeding up boot time. This is a complete chapter in the ExtremeTech book "Hacking Ubuntu: Serious Hacks Mods And Cusomtizations."

The default Ubuntu Dapper Drake installation includes some basic processes that check devices, tune the operating system, and perform housekeeping. Some of these processes are always running, while others start up periodically. Occasionally you might see your hard drive start up or grind away for a few minutes—what’s going on? On mission critical servers, serious gaming boxes, and other real-time systems, unexpected processes can cause huge problems; administrators should know exactly what is running and when. The last thing a time-sensitive application needs is for a resource-intensive maintenance system to start at an unexpected time and cause the system to slow down.

In order to fine-tune your system, you will need to know what is currently running, which resources are available, and when processes start up. From there, you can tweak configurations: disable undesirable processes, enable necessary housekeeping, and adjust your kernel to better handle your needs.

Time to Change
Different versions of Ubuntu (and Linux) use different startup scripts and run different support processes. Knowing how one version of Linux works does not mean that you know how all versions work. For example, one of my computers has a clock that loses a few minutes after every reboot. (It’s an old computer.) When I installed Ubuntu Dapper Drake (6.06), I noticed that the time was correct after a reboot. I started to look around to find out how it did that and which timeserver it was using. The first thing I noticed was that there was no script in /etc/init.d/ for setting the time. Eventually I tracked down the network startup scripts and found that the ntpdate script was moved from /etc/init.d/ (in previous Ubuntu releases) to /etc/network/if-up.d/. This script allowed me to find the network time protocol (NTP) configuration file (/etc/default/ntpdate).

A similar problem came up when I started running Ubuntu Hoary Hedgehog (5.04). Periodically the hard drives would grind when I was not doing anything. At other times it happened when I was running processes that were impacted by disk I/O—when the drives began to grind, the critical process would detect a processing problem. I quickly narrowed the disk grinding to updatedb—a caching program that works with slocate for quickly finding files. What I could not find was how this program was being started. Eventually I discovered that updatedb was started by anacron, an automated scheduler.

While it is important to know what is running, it is even more important to know how to track down running processes and tune them to your needs.

Learning the Lingo
Everything that runs on the system is a process. Processes are programs that perform tasks. The tasks may range from system maintenance to configuring plug-and-play devices and anything else the user needs. System processes manage keep the operating system running, whereas user processes handle user needs.

Many processes provide services for other processes. For example, a web server is a service for handling HTTP network requests. The web server may use one or more processes to perform its task. Some services are critical to the system’s operation. For example, if the system must support graphics but the X-Windows service is unavailable, then a critical service is missing.

Although most system processes are services, most user processes are applications. Applications consist of one or more processes for supporting user needs. For example, the Firefox web browser is an application that helps the user browse the web. In general, services start and end based on system needs, while applications start and end based on user needs.

None of these definitions—programs, processes, applications, and services—are very distinct. For example, the Gnome desktop consists of programs and processes that provide services to other programs and supports user needs. GDE can be called a set of programs, processes, applications, or services without any conflict.

When I talk about processes, I refer to anything that generates a running process identifier (see the next section for Viewing Running Processes). Programs are the executable files on the system that generate one or more processes. Users directly use applications, while the operating system uses services.

Continue reading

xp登陆后自动注销

刚刚给笔记本装的,因为thinkpad默认启动项目太多,于是删除了些,结果重新启动后,不停的登陆,自动注销,,按F8进入安全模式也不行。最后一次正确启动配置也不行。用administrator帐户,依然是同样的情况
仔细想想,当时自己顺手把C:WINDOWSsystem32userinit.exe这个从启动项里面删除,问题就应该是在这里。上网找找,发现原来windows启动的时候,winlogon.exe需要调用,不然就会出现登陆后马上注销,
解决方法:用w2k3 pe(windows PE 2003 sp1)的启动盘启动系统。运行。然后加入注册表如下字段:
[HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionWinlogon]
"Userinit"="C:WINDOWSsystem32userinit.exe,"
然后重新启动,问题解决

修改grub背景图片

a) Find gzipped, 640×480, 14 color only, xpm images (like the ones above).
b) Put the images in /boot/grub/splashimages/.
c) Rename the image you wish to use to ‘splash.xpm.gz’.
d) Make a link to /boot/grub/splashimages/splash.xpm.gz and put it in /boot/grub/.
e) Open /boot/grub/menu.lst and below the ‘Pretty colours’ section add a third line as below:

# Pretty colours
# color cyan/blue white/blue
splashimage=(hd0,1)/boot/grub/splash.xpm.gz

(The hd0,1 refers to hard drive 1 partition 2 where my file system is installed. You’ll need to change those numbers if yours differs.)

f) That’s it. Restart to see the new eye candy. For more in depth explanations: GNU GRUB Splash Image Howto, GRUB splash Image Information or

考研还是工作,这是个问题

转自http://www.dbanotes.net/review/to_work_or_to_be_master.html

我毕业自北方的一所师范大学,在我现在工作的南方这里没有任何名气,都很少有人听过这个学校的名字。当年,这所院校的就业率之高据说全国都名列前茅–只是据说。近几年来,听一些在学校工作或学习的同学说,就业率也开始不那么乐观了。

从大三下学期开始,很多学生就会面临下一步的选择,还是 ?

继续深造

这个选项包括考研究生、出国。如果在条件允许的情况下,比如没有什么生活的压力,家境不错,而且暂时没有参加工作的心理准备,又或者是心里就是憋足了劲儿要搞科研什么的,那么继续读书问题也不大。所付出的成本包括三年的时间(博士则为五年或者更多)以及这几年的求学费用,承受了这二者的投入之后,获得的产出包括一个学位证书(硕士或者博士),一篇或者几篇学术论文,一定的科研能力–这一点上可能差异很大,此外,多享受几年校园生活。若干年后,你会发现无论多少钱也不能再买来当年的校园生活了。

研究生这学位,现在多少有点鸡肋。据我所知,现在国内大部分研究生那三年读了也都是扯淡,打打游戏,睡睡觉,有的所谓科研实验其实并不比做豆腐高明多少,所以能读博士还是继续读下去,坚持也是一种力量,只要不是混日子就好。

博士学位到手之后,进入高校进行科研工作的机会大大增加,这一点很重要,在当前的社会环境下,做个大学教师乃至教授绝对是很有前途/前途的职业,混到一定资格后招几个研究生,申请一点科研经费,一夜之间就小康了,或许这看起来有些庸俗,但在残酷的现实面前就要说点实话。需要注意的是,不要搞学术腐败,否则被方舟子发现,你绝对要重头再来。这里只针对理科生。

就业求职

如果在学校已经憋坏了,对实验室厌倦透了,或是因为经济条件的限制让你不能继续深造,或是已经准备好了大展一番拳脚,那么就就业吧,广阔天地大有作为。

现在本科毕业生求职必须面对的一个现实是残酷的竞争,这个竞争之所以比几年前加剧,我想主要原因还是扩招搞出来太多的研究生,很多用人单位觉得研究生性价比更好。经济学不是说什么"劣币驱逐良币", 扩招导致的后果就是"良币"被"劣币"驱逐。这里从个人的角度出发,假定每个毕业生都自认为是"良币"。

"良币"如果不能脱颖而出,难免卖不上价格。好价格就要有好卖点,找工作前,和其他同学比比,自己有哪些优势? 如果只是在学校里按部就班的学了那几门课程,参加个学生会什么的混混所谓的社会经验,根本算不得什么突出。用人单位一看简历,都和一个模子里刻出来的差不多,招聘也就变成了和抽奖差不多的活动。相反,如果憋足了劲儿进入某个行业,甚至是某个特定的岗位,有个半年的时间,系统的收集一下相关信息,足够唬人的了。关键是先要有个定位,找好目标,总比无的放矢要好。

不要太看重第一份工作的工资,就算这份工资让你现在非常满意,一两年后你还是会嫌少,工资多一点少一点,并不能改变你的生活的本质。

大家都往中心城市里面挤,俗话说物以稀为贵,中小城市或许是更好的选择。在北京上海,或许人家小学都不要你本科毕业生去教书,但是中小城市的重点高中往往把你当作一尊人物来对待,不妨就去。回想起我当初那些同学,本科毕业在一些中学教书的,现在生活得都不错,房子车子妻子孩子,都全了,潇洒自在,而这些在所谓得大城市工作的同学,都生活得还像个小蚂蚁,蝇营狗苟。这就是生活。几年前谁能预计到自己几年后什么样子? 哪个选择正确谁能知道呢?

 

唠唠叨叨说了半天,感觉只是开了一个头,还有很多言犹未尽的地方。今天手疼,还是到此为止吧。