用组策略+文件权限干掉QQ的安全组件

恩,传说中会扫硬盘的QQ,还是要防着点的好,考虑到中文版的Q太过于庞大,对于我这种只需要基本交流功能的人来说,英文版的Q的功能已经足够了,自己折腾了一下,用组策略搞定了弹窗,彻底干掉了安全模块。废话不多说,开工

首先,开始~运行,gpedit.msc

展开计算机配置>Windows设置>安全设置>软件限制策略>附加规则>右键新建哈希规则

添加qq安装目录下\bin下的这几个文件

auclt.exe
bugreport.exe
QQSafeUD.exe
TXOPShow.exe
TXPlatform.exe

另外还有临时文件夹下也有点货,在添加文件时候,直接输入下面这两个地址点确定

%temp%\qqsafeud.exe

%temp%\selfupdate.exe

最后,打开资源管理器,输入地址%userprofile%\AppData\Roaming\Tencent\QQ,回车后设置safebase的权限为拒绝everyone,done

解决Apache的Mod_Security和svn模块冲突

今天svn突然不能提交了,给777都没用,一直报错

Command: Commit
Error: Commit failed (details follow):
Error: access to ‘/!svn/vcc/default’ forbidden
Finished!:

Google了好一阵子,解决方案如下:

在svn对应的虚拟主机的</VirtualHost>之前插入这样一段

<IfModule mod_security2.c>
SecRuleRemoveByID 960032
SecRuleRemoveByID 960015
SecRuleRemoveByID 960904
SecRuleRemoveByID 960010
SecRuleRemoveByID 960035
SecRule REQUEST_METHOD “^(PROPFIND|PROPPATCH)$” allow
SecRule REQUEST_METHOD “^(REPORT|OPTIONS)$” allow
SecRule REQUEST_METHOD “^(MKACTIVITY|CHECKOUT)$” allow
SecRule REQUEST_METHOD “^(PUT|DELETE|MERGE)$” allow
SecRule REQUEST_METHOD “^(MKCOL)$” allow
</IfModule>

完成后重启apache就可以了。

原因:mod_security过于严格=。-

Google Apps即将对放弃.cn域名的支持

尊敬的Google企业应用套件管理员:

您好!我们联系您是因为您正在使用下面所列的.cn域名作为您Google企业应用套件服务 主域名的别名(alias)。Google目前并不在.cn域名下提供Google企业应用套件服务,包括.cn域名作为域名别名(alias)的服务。 遗憾的是由于我们注册流程上的疏漏,您的.cn域名被允许作为了Google企业应用套件服务的域名别名。

我们将会在格林威治时间(GMT)2011年1月10日18时删除您控制面板域名别名列表中的所有.cn域名。这个操作不会影响到您的用户的任何数据。

如果您希望继续收到发送到.cn域名的邮件,我们推荐您为.cn域名选择一个不同的邮件解决方案。您的其它非.cn域名的邮件服务将不受影响。

我们对工作疏漏导致的不便表示歉意。我们理解这次数据转移可能会给您带来不便,同时我们也致力于帮助您尽可能圆满的完成数据迁移。 如果您需要任何帮助,请直接回复本邮件,我们的团队会帮助您。如果您需要进一步的技术协助,请提供您的电话号码和两个方便的交流时间,我们会随后和您联 系。

祝顺利,

Google企业应用套件团队
1600 Amphitheatre Pkwy
Mountain View, CA, 94040
电子邮件接收设置:我们向您发送这封必读的电子邮件服务通告,目的是让您了解 Google Enterprise 产品或帐户的重大变化。

下面的.cn域名别名将会在格林威治时间(GMT)2011年1月10日18时被删除:
xxx.com: xxx.cn

Google Apps service change notification/关于Google企业应用套件服务的变更通知

Dear Google Apps admin,

We’re contacting you regarding your use of Google Apps with the domains listed below as a domain alias or aliases.  Google does not offer this product on .cn domains, including the use of .cn domains as domain aliases. Unfortunately, due to an error in our domain alias feature, your .cn domain was allowed as a domain alias.

On 10 January 2011 at 18:00 GMT, all .cn domains listed in the domain alias section of your control panel will be removed by our team. This action will not affect any existing data for any of your users.

If you would like to continue to receive email sent to accounts that belong to your .cn domain, we recommend securing a different email solution for your .cn domain. Email service for your non-.CN domain names will be unaffected.

We apologize for our mistake and the inconvenience caused by this change. We appreciate this transition may be disruptive, and are committed to helping you make it as smooth as possible.  If you require any assistance, please reply to this message so our team can help. Additionally, if you would like technical assistance via the phone, please provide your phone number and two convenient times when we can reach you.

Sincerely,

The Google Apps Team
1600 Amphitheatre Pkwy
Mountain View, CA, 94040

You have received this mandatory email service announcement to update you about important changes to your Google Enterprise product or account.

The following .cn domain aliases will be removed on 10 January 2011 at 18:00 GMT:
xxx.com: xxx.cn

小小的mod一下wordpress-让不是已发布的文章编辑页显示查看文章链接

嗯,标题很长,其实已经说清楚了这篇文章的内容了- –

注意,这种做法是不推荐的,更新wordpress后会丢失更改,有空我会做成插件。
why:在wordpress后台编辑的时候,如果一篇文章不是已发布状态,就不会显示查看文章的链接,比较烦,所以需要小小的改动一个文件
how:编辑~/wp-admin/edit-form-advanced.php,在第243行后新建一行,插入如下代码:

<a href=”<?php echo get_permalink( $_GET[‘post’] ); ?>”><?php _e(‘View Post’); ?></a>

result: