仿写的一个策略:policy_module(minidlna, 0.1)############################################### Declarations#require { attribute reserved_port_type; attribute por...
分类:
其他好文 时间:
2014-07-15 08:30:10
阅读次数:
239
在前两篇文章中,我们对iOS与EV3混合机器人编程做了一个基本的设想,并且介绍了要完成项目所需的软硬件准备和知识准备。那么在今天这一篇文章中,我们将直接真正开始项目实践。==第一个项目: EV3 Port Viewer==项目目的:在iOS设备上通过WiFi连接EV3并且读取EV3每个端口的数据。大家可以一周之后在App Store上搜索EV3 Port Viewer,那么我已经做了一个范例App...
分类:
移动开发 时间:
2014-07-13 18:35:43
阅读次数:
390
1.首先下载微软官方推荐的版本redis-2.8.122.开始配置,首先复制两份redis.conf并且重命名为redis6379.conf redis6380.conf 里面的配置节点相应的更改为port 6379port 63803.开始安装(最笨的方法 cmd命令行)D:\redis-2.8....
配置文件<?phpdefined(‘ACC‘)||exit(‘AccessDenied‘);$cfg=array();$cfg[‘host‘]=‘localhost‘;$cfg[‘user‘]=‘root‘;$cfg[‘pwd‘]=‘111111‘;$cfg[‘db‘]=‘php0620‘;$cfg[‘port‘]=‘3306‘;$cfg[‘charset‘]=‘utf8‘;$cfg[‘updir‘]=‘upload/‘;
分类:
Web程序 时间:
2014-07-13 15:02:40
阅读次数:
245
<?phpdefined(‘ACC‘)||exit(‘AccessDenied‘);//封装mysql操作类,包括连接功能,及查询功能.classmysqlextendsabsdb{protectedstatic$ins=null;protected$host;//主机名protected$user;//用户名protected$passwd;//密码protected$db;//数据库名protected$port;//端口protected..
分类:
数据库 时间:
2014-07-13 14:31:08
阅读次数:
354
就Android平台而言,URI主要分三个部分:scheme, authority and path。其中authority又分为host和port。格式如下:scheme://host:port/path举个实际的例子:content://com.example.project:200/folde...
分类:
移动开发 时间:
2014-07-13 13:19:12
阅读次数:
368
公司linux 服务器出现问题,mysql 服务器无故关闭,一直找不到原因。
Version: '5.6.13-enterprise-commercial-advanced' socket: '/var/lib/mysql/mysql.sock' port: 3306 MySQL Enterprise Server - Advanced Edition (Commercial)
201...
分类:
系统相关 时间:
2014-07-12 20:01:35
阅读次数:
463
#nginx conf by linux kernel
net.ipv4.tcp_max_tw_buckets = 6000
net.ipv4.ip_local_port_range = 1024 65000
net.ipv4.tcp_tw_recycle=1
net_ipv4.tcp_tw_reuse=1
net_ipv4.tcp_syncookies=1
net.core.soma...
分类:
系统相关 时间:
2014-07-12 18:04:24
阅读次数:
212
1.TNS-00525: Insufficient privilege for operationStarted with pid=30869Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=ora11g)(PORT=1521)))Err...
分类:
其他好文 时间:
2014-07-12 13:27:00
阅读次数:
187