坚强哈……

我没有钱 我只能听有钱人指挥

可怕的是自己的想法在折磨自己

如果我坚持住 我也许可能实现他们

else 不可能

那就坚持把 坚持把

能活下来就是强人

Posted in 未分类. Tags: . 评论暂缺 »

Exploring Windows: Special Beta Edition — Correction

Exploring Windows: Special Beta Edition — Correction

Because you signed up to test the Windows 7 Beta, we recently sent you mail about the expiration dates for the Beta and Release Candidate. Unfortunately, we made a mistake.

We said the Beta would start shutting down every two hours on June 1, 2009. The correct date is July 1, 2009.
这句话骗了我下载 妈妈的 太有才了

The rest of the dates in the mail were correct. Here’s a quick summary:

Version:
Starts shutting down every two hours:
Expires:
Beta
July 1, 2009
August 1, 2009
Release Candidate
March 1, 2010
June 1, 2010

We apologize for the error and any confusion it may have caused.

Thanks again for helping us test Windows 7.

Posted in 未分类. Tags: . 评论暂缺 »

哥们你听过comsenz么

有人找我说你在discuz公司么

我说不是 我好像在comsenz

有问  那你会用discuz么 帮我搞个论坛能么

Posted in 未分类. Tags: . 1 条评论 »

include的一件怪事

php 果然是面向过程的语言

今天开发了一个测试版的东西 想在正式服务器上跑 又怕耽误正式服务器运行

就这样

include ‘../config.php’;

然后 上一级的 config.php也是这个内容

include ‘../config.php’;

结果呢……

死循环了 非常搞笑……

以后注意  所以 discuz 的DISCUZ_ROOT 和 uchome 的 S_ROOT都是 有用的东西

Posted in 未分类. Tags: . 评论暂缺 »

垃圾评论……

居然有人跑着我这放垃圾评论

我又不是什么大战

手动删除后 评论数量错了

update wp_posts set `comment_count`= (select count(*) from  `wp_comments` where comment_post_ID= `ID`)

这个sql备份下

另外

WP-SpamFree has blocked 291 spam comments!

……有点杀毒软件的特点 很有创意

Posted in 未分类. Tags: . 评论暂缺 »

php输出信息不全

最近一个php输出的网页  经常半截

开始以为是没读完

经过严格检查发现 是php中开了一个 巨大的数组 然后 页面502了

解决当然是 改进算法 避免使用过多内存了……

哎 有些人的代码就是一锅粥 根本不让看 还开那么大数组害人

Posted in 未分类. Tags: . 1 条评论 »

被时差给搞了

今天被时差给搞了

太狠毒了 unix时间都不可靠

救命啊……

以后不要再犯错误了

Posted in 未分类. Tags: . 评论暂缺 »

5d6d :)

5d6d

Posted in 未分类. Tags: . 评论暂缺 »

linux shell中实现 向上一级目录

#!/bin/bash

if [[ $1 =~ ^[0-9]*$ ]]
then
        c=1
        if [ $1 ]; then
                c=$1
        fi
        for((i=0;i<$c;i++))
                do
                        cd ..
                done
fi

然后 使用  alias

我 将 , 指向 . pach/to/shfile

这样 , 就会向上一级

, 5就会向上 5级

Posted in 未分类. Tags: . 评论暂缺 »

leng x干的很事

你知道不……

leng x 研究出一个 云计算

已经有 777170多个人被迫加入了

sb永远是sb 就算

Posted in 未分类. Tags: . 评论暂缺 »