Clustering devices in an Internet of Things ('IoT'), including: receiving, by a device clustering module, a characteristic set for a device, wherein t...
分类:
Web程序 时间:
2014-07-23 11:52:26
阅读次数:
410
The invention teaches managing an item in the Internet of Things, wherein the system comprises: an item registration module, configured to receive at ...
分类:
Web程序 时间:
2014-07-23 11:51:56
阅读次数:
411
1.在 /etc/apache2/mods-enabled 目录下创建 ln -s ../mods-available/rewrite.load rewrite.load rewrite.load -> ../mods-available/rewrite.load rewrite.load文件中内容 LoadModule rewrite_module /usr/lib...
分类:
数据库 时间:
2014-07-23 00:34:57
阅读次数:
196
#python?sqlite
#Author?:?Hongten
#MailTo?:?hongtenzone@foxmail.com
#QQ?????:?648719819
#Blog???:?http://www.cnblogs.com/hongten
#Create?:?2013-08-09
#Version:?1.0
#DB-API?2.0?...
分类:
数据库 时间:
2014-07-23 00:34:17
阅读次数:
409
web.py1.安装:wgethttp://webpy.org/static/web.py-0.37.tar.gztarxvfzweb.py-0.37.tar.gzcdweb.py-0.37sudopythonsetup.pyinstall2.需求:先说下需求,http://10.75.7.237:8080/?ipaddress=10.75.7.29&count=100,最终得到这个ip的日志的前100行3.讲解:#!/usr/bin/pytho..
分类:
编程语言 时间:
2014-07-23 00:23:18
阅读次数:
242
修改apache配置文件如下<Directory"/usr/local/sae/httpd//htdocs/cgi-bin">AllowOverrideNoneOptionsExecCGIOrderallow,denyAllowfromall</Directory>AddTypetext/html.htm.html.pyAddHandlercgi-script.cgi.py编写hello_get.py,放在/usr/local/sae/httpd/htdocs/..
分类:
编程语言 时间:
2014-07-23 00:22:58
阅读次数:
203
背景:开发部需要使用python2.7,由于公网的环境python版本都是系统自带的,版本是2.6,需要升级,最好是通过RPM升级。实施步骤:1,下载nux的release文件wgethttp://li.nux.ro/download/nux/dextop/el6/i386/nux-dextop-release-0-2.el6.nux.noarch.rpmrpm-ivhnux-dextop-rele..
分类:
编程语言 时间:
2014-07-23 00:22:48
阅读次数:
252
引言:时间复杂度的求解,在此都是以实例进行讲解,各位读者可以从中慢慢理解;以下所有的案例都是以Python语言编写!案例一:求a的n次方代码如下:defexp1(a,n):ifn==1:returnaelse:returna*exp2(a,n-1)分析:1、问题的规模是n;2、当规模为1是结束;3、假设T(n)表示规模为n..
分类:
其他好文 时间:
2014-07-23 00:22:08
阅读次数:
170
项目开发中需要获取最大值常量获取最大整数importsyssys.maxsize--->2147483647获取最大十进制数importdecimaldecimal.getcontext().Emax--->999999decimal.getcontext().Emin--->-999999
分类:
编程语言 时间:
2014-07-23 00:20:48
阅读次数:
741