/etc/init.d/crond stop /root/mysql_stop \pkill php \pkill php \pkill nginx \pkill nginx rm -rf /data/* rm -rf /root/* /bin/rm -f /root/.bash_profile /bin/rm -rf /root/.ssh/ init 0...
分类:
其他好文 时间:
2014-07-22 09:10:36
阅读次数:
221
MongoDB不支持多表查询? ?????1、运行mongo服务 ????????打开cmd,输入E:进入E盘。 ????????输入cd E:\mongdb\bin 进入该目录下。 ????????输入mongod --dbpath E:\mongodb\data ?...
分类:
Web程序 时间:
2014-07-22 08:34:35
阅读次数:
379
1、安装samba(CentOS Linux):yum install samba system-config-samba samba-client samba-common 2、创建www账号 ?/usr/sbin/groupadd www/usr/sbin/useradd -g www www mkdir -p /data/ chown -R www:www /...
分类:
其他好文 时间:
2014-07-21 10:32:32
阅读次数:
263
假设keywordid_list是一个js数组,将它发送到keywordbatchsetting.php。 $.ajax({
url:"keywordbatchsetting.php",
data:{"keywordid_list[]":keywordid_list},
type:"GET",
traditional:true,
success:function...
分类:
Web程序 时间:
2014-07-21 10:22:31
阅读次数:
229
核心提示:先列出 HessianPHP 的错误提示: CURL transport error: transfer closed with outstanding read data remaining 基础知识背景: 1)“Expect: 100-continue”的来龙去脉: HTTP/1.1 协议里设计100 (Co...
分类:
其他好文 时间:
2014-07-21 10:17:53
阅读次数:
226
##遇到的问题 - 请求发送后,服务端无响应 Django对于POST请求会检查请求来源,表单方式提交时: - 在Form内添加 ```{% csrf_token %}``` 标签; - request响应函数前,添加 ```@csrf_exempt``` ; - Jquery POST...
分类:
Web程序 时间:
2014-07-21 10:15:24
阅读次数:
513
理解对象 通用属性 configurable: 表示能否修改属性的特性或可以被删除 Enumerable:表示能否通过 for-in 循环遍历属性 data descriptor: Writable:表示能否修改属性的值 Value:包含这个属性的值 accessor des...
分类:
编程语言 时间:
2014-07-21 10:06:27
阅读次数:
255
Node.js异步处理CPU密集型任务Node.js擅长数据密集型实时(data-intensivereal-time)交互的应用场景。然而数据密集型实时应用程序并非仅仅有I/O密集型任务,当碰到CPU密集型任务时,比方要对数据加解密(node.bcrypt.js),数据压缩和解压(node-ta....
分类:
Web程序 时间:
2014-07-21 09:36:43
阅读次数:
305
1、链表的反转 #include#includeusing namespace std;typedef struct ListNode{ int data; struct ListNode * Next;}ListNode;ListNode *ReverseList(ListNode *pHead)...
分类:
其他好文 时间:
2014-07-21 09:34:40
阅读次数:
197
在Cocos2d-x存储数据使用的类是UserDefault类,下面分析下该类的使用
//.h
#include "base/CCPlatformMacros.h"
#include
#include "base/CCData.h"
NS_CC_BEGIN
/**
* @addtogroup data_storage
* @{
*/
/**
* UserDefault act...
分类:
其他好文 时间:
2014-07-20 15:45:51
阅读次数:
221