\plus\download.php174行插入以下代码 if($cfg_ml->M_Rank>$needRank)
{
$inquery="INSERTINTO`#@__member_operation`(mid,oldinfo,money,mtime,buyid,product,pname,sta)
VALUES(‘".$cfg_ml->M_ID."‘,‘$arctitle‘,‘$needMoney‘,‘".time()."‘,‘ARCHIVE".$id."‘,..
分类:
其他好文 时间:
2015-01-13 01:34:11
阅读次数:
176
Docker Container Executor (DCE) 是 Hadoop 2.6.0 包含的一个重要特性:至此,大数据的巨人 Hadoop 也终于可以利用当前虚拟化/云计算领域的宠儿 Docker 的强大能力了。...
分类:
其他好文 时间:
2015-01-12 22:38:33
阅读次数:
394
学习函数指针的应用 ,简单demo#include "stdafx.h"#include "SubClass.h";//函数指针typedef int (*Operation)(int a,int b);//定义int 类型函数指针typedef struct _str{ int result; O...
分类:
其他好文 时间:
2015-01-12 19:02:18
阅读次数:
157
使用Dockerfile方法前期准备工作#mkdirsshd_ubuntu创建工作目录#cdsshd_ubuntu#touchDockerfilerun.sh创建一会需要拷贝到container的文件#virun.shrun.sh的内容#!/bin/bash/usr/sbin/sshd–D#cat~/.ssh/id_rsa.pub>authorized_keys拷贝需要登录到container的机器的公钥编写..
分类:
其他好文 时间:
2015-01-12 11:10:06
阅读次数:
183
关于container是否提供ssh服务,大家一直在争论。目前docker对远程主机登入container并没有更好的办法,除了登录宿主机用attach或exec登录外,只能在container安装sshd服务了,通过这个基础镜像我们在安装其他服务的时候,就可以直接使用有ssh服务的镜像了。使用Dockerfile方法..
分类:
其他好文 时间:
2015-01-12 11:09:58
阅读次数:
213
docker建立私有仓库实验环境:怎样将vmware与viutualBOX的网络互通这里就不详细说明了。在xin7上安装docker首先在docker的官方站点下载docker的windos安装包,因为墙的因素,这个安装包很难下下来,这边提供了我的网盘链接http://pan.baidu.com/s/1dDGQHZb。因为docker是基于li..
分类:
其他好文 时间:
2015-01-12 07:01:31
阅读次数:
416
这个错误网上搜索发现3.0.0.15版本内核 file_operation结构体已经删除了ioctl函数,取代的是:long (*unlocked_ioctl) (struct file *, unsigned int, unsigned long);long (*compat_ioctl) (st...
分类:
其他好文 时间:
2015-01-11 14:45:10
阅读次数:
139
Given two words word1 and word2, find the minimum number of steps required to convert word1 to word2. (each operation is counted as 1 step.)
You have the following 3 operations permitted on a word:
a) Insert a character
b) Delete a character
c) Replace a...
分类:
其他好文 时间:
2015-01-10 18:15:43
阅读次数:
181
闪回技术(flashback)示例一、删除emp和deptDROP TABLE emp;DROP TABLE dept;查看回收站:SELECT * FROM RECYCLEBIN--内容过多SELECT object_name,original_name 原来的名称,operation 操作,TY...
分类:
其他好文 时间:
2015-01-10 18:02:05
阅读次数:
252