灯上拉 GPIO_InitTypeDef GPIO_InitStruct; RCC_AHBPeriphClockCmd(RCC_AHBPeriph_GPIOB, ENABLE); GPIO_InitStruct.GPIO_Pin = GPIO_Pin_0; GPIO_InitStruct.GPIO_ ...
分类:
其他好文 时间:
2016-04-18 10:12:56
阅读次数:
177
broker的配置文件位于kafka的config/server.properties文件。Broker基本配置broker.id:代理Id,必须是唯一的整数。可以是0,1,2,3这样的自定义编号,也可以是IP地址的最后一位,如23,24,25,建议使用后面的编码方式。auto.leader.rebalance.enable:是否允许leader节点自..
分类:
其他好文 时间:
2016-04-17 18:03:56
阅读次数:
649
一,安装包chianunix.netsquid-2.6.STABLE4.tar.gz安装参数./configure--prefix=/www/sqd/sqd/sqd--enable-basic-auth-helpers="NCSA"二,安装配置visible_hostnamesqd289auth_parambasicprogram/www/sqd/sqd/sqd/libexec/ncsa_auth/www/sqd/sqd/sqd/libexec/passwdhttp_port31..
分类:
其他好文 时间:
2016-04-17 00:56:33
阅读次数:
120
今天在Xcode上编译原来开发的代码,出现了以下错误 xxxx.o does not contain bitcode. You must rebuild it with bitcode enabled (Xcode setting ENABLE_BITCODE) 百度后知道Xcode7.0以后会默认 ...
分类:
移动开发 时间:
2016-04-16 21:13:37
阅读次数:
574
cd/usr/local/src/wgethttp://mirror.bit.edu.cn/apache/httpd/httpd-2.2.31.tar.gztarzvfhttpd.tar.gzcdhttpdyuminstall-ygcczlib-devel./configure\--prefix=/usr/local/apache2\--with-included-apr\--enable-so\--enable-deflate=shared\--enable-expires=shared\--enable-..
分类:
Web程序 时间:
2016-04-16 19:46:34
阅读次数:
337
首先配置好xdebug 在php.ini里面加入以下配置(修改完注意重启apache或nginx): [xdebug] zend_extension="/usr/local/opt/php55-xdebug/xdebug.so" xdebug.remote_enable=On xdebug.remo ...
分类:
Web程序 时间:
2016-04-16 13:51:49
阅读次数:
269
调试模式开启,$this->output->enable_profiler(TRUE); 保留字,不能和控制器重名,有3个,CI_Controller ,Default, index。这三个名字不能在控制器的名字中。在controllers的目录中 index.php 和Default.php ,C ...
分类:
其他好文 时间:
2016-04-16 12:26:11
阅读次数:
124
【本文由翟男描述整理,转载请注明出处,欢迎业界同行探讨、补充】还原出厂设置: erasestartup-config 清除配置 reload 重启vlan划分:在本人上一篇文章中有描述详情:VLAN问题设置enable密码:enable
super-user-password******设置Telnet密码:enable
telnetpassword****..
分类:
其他好文 时间:
2016-04-14 12:23:24
阅读次数:
148
REF: http://los-vmm.sc.intel.com/wiki/How-to-setup-kvmgthttp://xenvgt.sh.intel.com/image/bdw-h/ Host display backgroud $ grep i915.enable_vgtbuffer=1 ...
分类:
其他好文 时间:
2016-04-13 13:15:07
阅读次数:
377
把vsftpd.conf里面的local_enable打开之后,本地用户还是无法登录(匿名用户是没有问题的!!) 老是提示530错误!!! 经反复折腾. 找到二种可能原因: 一、 vsftpd.conf里面的pam_service_name=vsftpd 要写全绝对路径 类似这样的形式 pam_se ...
分类:
其他好文 时间:
2016-04-12 22:20:48
阅读次数:
290