bluehost down机了

今天早晨,浏览网页,看到几篇不错的文章,突然也想发两篇博客,谁承想我的博客 浮山狼 竟然无法访问了。第一个反应是,“可能撞墙了”,常言道‘长在网上走,哪有不撞墙’.于是打开代理,访问了一下,仍然访问不通,只好登录bluehost网站询问一下,到底出了神马事情。天知道,人们津津乐道的24小时livechat 竟然打开后提示“we understand you callcel ….” ,只好又想登录一下cpanel,一直登不上去,最后终于给出了反馈,‘temporarily down’—bluehost临时down机。

同事还发了一条google 实时twitter的信息发现很多人都在埋怨“bluehost”,脏话自不必说了,也有人来了一句“It’s time to switch”,那意思是张罗着要换主机,不在bluehost上待了.同样发现bluehost很多IP都有问题,极有可能发生了“集体宕机”.

北京时间下午3时许,我的博客终于又可以访问了。Thank to God.  

《美丽人生》影评

生活是美丽的,无论它怎样不尽如人意。你会在不经意的时候偶遇可爱的女孩儿,你要对她说:早上好,我的公主!然后脱帽致意,向她展示你的无与伦比的才能。
  
   对任何事情充满巨大的热情,把任何事情看作天赐。对任何人报以微笑,对欣赏你的人充满敬意。公主会爱上你的,因为你是如此热情洋溢,如此幽默风趣。你让她永远充满无限的惊喜。她真的爱上你了,这是一定的,你是她最可爱的无厘头王子。 Continue reading »《美丽人生》影评

Don’t be afraid to repeat yourself!

Don’t be afraid to repeat yourself!

Repeating everything you say is an essential skill if you want to get anywhere in life. It could save you a lot of trouble. Like say you discovered the cure for cancer, and you only had one friend/acquaintance because everyone else you tried to talk to ran away because you had a giant mole or something, and you told that person and they acted all excited and happy for you so you thought you’d gotten the message across but you never found out that what they really heard was “I want to become a dancer!”. This hypothetical situation would only work if you speak with an American accent (or you pronounce cancer as KAHN-ser), but I’m sure there are millions of other examples out there. Perhaps you found out the meaning of life and you told your person and they thought you said “I’ve been cleaning my knife,” then they’d probably run away from you just like everyone else and you’d be left with no one and you’d die alone, miserable and ugly. And why? Because you didn’t repeat yourself. Continue reading »Don’t be afraid to repeat yourself!

Don’t Repeat Yourself

Don’t Repeat Yourself

Context:

Duplication (inadvertent or purposeful duplication) can lead to maintenance nightmares, poor factoring, and logical contradictions.

Duplication, and the strong possibility of eventual contradiction, can arise anywhere: in architecture, requirements, code, or documentation. The effects can range from mis-implemented code and developer confusion to complete system failure. Continue reading »Don’t Repeat Yourself

CSS的优先级特性Specificity

如果同个元素有两个或以上冲突的CSS规则,浏览器有一些基本的规则来决定哪一个非常特殊而胜出。
它可能不像其它那么重要,大部分案例你不需要担心冲突,但大型而且复杂的CSS文件,或有很多CSS文件组成的,可能产生冲突。
选择器一样的情况下后面的会覆盖前面的属性。比如:

p { color: red; }
p { color: blue; }
p元素的元素将是蓝色,因为遵循后面的规则
然而,你不可能经常用相同的选择器冲突达到目的,当你使用嵌套选择器,合理的冲突来了。比如: Continue reading »CSS的优先级特性Specificity