big bug ban

兴趣 创新 践行

wordpress 统计阅读次数

 

wordpress 统计阅读次数[......]

继续阅读

Written by princehaku

十二月 19th, 2009 at 2:41 下午

939 views

Posted in php

Tagged with

without comments

stl vector 简单例子

 

#include
#include
#include
using namespace std;

int main()
{
//一个vector
vector vec;

vec.push_back(4);
vec.push_back(1);
vec.push_back(3);
vec.push_back(9);

// STL中的排序算法
sort(vec.begin(), vec.end());

//输出结果
for (int i = 0; i < vec.size(); i ...[......]

继续阅读

Written by princehaku

十二月 18th, 2009 at 9:27 上午

607 views

Posted in c/c++

without comments

c++ 最稳定婚姻问题

 

c++ 最稳定婚姻问题[......]

继续阅读

Written by princehaku

十二月 16th, 2009 at 4:58 下午

468 views

Posted in c/c++

without comments

windows7和xp 共享方法

 

之前看了哈网上的..感觉不是很好用

把自己的经验写一下

首先

是防火墙

最好关了..

或者添加一个例外

如图第一个 允许程序通过 加上135端口或者把windows share给弄进去

然后第二步

右下角打开网络共享中心

然后点选择共享选项

第三个 choose homegroup and sharin...[......]

继续阅读

Written by princehaku

十二月 16th, 2009 at 4:38 下午

751 views

Posted in technology

without comments

无法定位 WordPress 主题目录

 

方案: 打开htdocs目录下的wp-config.php文件,将下面的代码放在wp-config.php最后一行的”?>”前面即可。注意,不要忘记上传到服务器上啊。

Php代码

if(is_admin()) {add_filter(’filesystem_method’, create_function(’$a’, ’return ”direct”;’ ));define( ’FS_CHMOD_DIR’, 0751 );}

来自...[......]

继续阅读

Written by princehaku

十二月 11th, 2009 at 11:59 下午

590 views

Posted in php

without comments

要考试了...哇哇!

 

加油..[......]

继续阅读

Written by princehaku

十二月 11th, 2009 at 8:47 下午

456 views

Posted in things goes by

without comments

bt没了,,我们将何去何从??

 

BT网站陆续关停 高清播放或将从此远离我们

[迅雷VeryCD前景堪忧] [VeryCD或将部分关闭[......]

继续阅读

Written by princehaku

十二月 9th, 2009 at 10:42 上午

427 views

Posted in think in IT

Tagged with

without comments

和谐掉了linux版的

 

怎么说呢?...

一是因为网速...

二是因为安全性...

三是得不到编译时内存占用情况..

暂时和谐之.[......]

继续阅读

Written by princehaku

十二月 5th, 2009 at 9:17 上午

373 views

Posted in c/c++

without comments

webcpp–linux版

 

终于把东西运行在了linux上

当然生成的文件也是linux的out文件

不过还是有点问题..

得不到编译时的状态和内存占用

暂时先这样..

慢慢来[......]

继续阅读

Written by princehaku

十二月 1st, 2009 at 2:10 下午

446 views

Posted in c/c++

without comments

ubuntu 9.10 mono配置

 

昨天和今天半天。。。

在 服务器上弄了半天都么成功

然后在自己电脑上了了。。

结果直接就可以用了。。

mark一下

503错误:

可能是服务器的配置写错了

比如我的就是 /etc/mono-server2/mono-server2-hosts.conf错了。。多了一行

标准的应该是

# Default configuration, don't edit it!
<IfModule mod_mono.c>
MonoUnixSocket default /tmp/.mod_mono_server2
MonoServerPath default /usr/bin/mod-mono-server2
AddType application/x-asp-net .asp[......]

继续阅读

Written by princehaku

十一月 30th, 2009 at 11:08 上午

563 views

Posted in linux

without comments

Pages: Prev 1 2 3 ...18 19 20 21 22 23 24 25 26 27 28 Next