码迷,mamicode.com
首页 >  
搜索关键字:enabled    ( 2363个结果)
Asp.net MVC 路由基础
路由检测插件RouteDebugger.dll web.config里<appSettings>节点内添加<add key="RouteDebugger:Enabled" value="true"/> 实现:RouteDebuggerHttpModule:IHttpModule 路由约束 ...
分类:Web程序   时间:2016-05-19 10:34:19    阅读次数:203
protocol error ,got n as reply type byte
一个神奇的bug,后来查看redis的log,提示是内存的问题 echo never > /sys/kernel/mm/transparent_hugepage/enabled 并把这句话加到/etc/rc.loacl里,hugepage大分页是为大内存设计的,具体可以参见这篇文章。 于是只好卸载了 ...
分类:其他好文   时间:2016-05-19 10:26:38    阅读次数:286
laravel in centos
如果遇到: phpunit.... To enable extensions, verify that they are enabled in those .ini files: - /etc/php5/cli/php.ini - /etc/php5/cli/conf.d/05-opcache.in ...
分类:其他好文   时间:2016-05-16 21:28:10    阅读次数:138
yum安装
yum 仓库 /etc/yum.reposd/ [linuxcast]name="this is soft ware"baseurl="http://ww.baidu.com"enabled=1gbgcheck=1 仓库可以使用file http ftp nfsyum 配置文件必须以.repo 结尾 ...
分类:其他好文   时间:2016-05-16 09:22:43    阅读次数:252
关于typedef函数的报错,网上唧唧歪歪瞎j8说的人真tm多,事实如图所示
错误提示如:warning: ‘struct xxx’ declared inside parameter list [enabled by default] 网上一大堆瞎j8说和瞎j8转的,事实是…… ...
分类:其他好文   时间:2016-05-14 01:00:23    阅读次数:235
opengl 法向量变换矩阵推导
When lighting is enabled in OpenGL, the normal vectors are used to determine how much light is received at the specified vertex or surface. This lighting processing is performed at eye coordinate spac...
分类:其他好文   时间:2016-05-13 00:51:07    阅读次数:296
android中的Selector的用法---主要是改变ListView和Button控件的默认背景
Selector属性介绍: android:state_selected选中 android:state_focused获得焦点 android:state_pressed点击 android:state_enabled设置是否响应事件,指所有事件 用例介绍: 1.创建listview_selector.xml样式文件 首先在res目录下新建drawa...
分类:移动开发   时间:2016-05-12 19:45:11    阅读次数:153
flask笔记:4:web表单
处理web表单表单需要Flask-WTF 在根目录创建一个配置文件 myblog/config.py CSRF_ENABLED=True SECRET_KEY='you-will-never-guess' CSRF_ENABLED配置是为了激活跨站点请求伪造保护 SECRET_KEY是当CSRF激活后,建立一个加密令牌,用于验证表单 修改app/__init__.py...
分类:Web程序   时间:2016-05-12 15:11:03    阅读次数:220
flask笔记:5:数据库
linux和mac下需要将项目文件夹赋予权限,不然不能执行 flask中使用Flask-SQLAlchemy扩展来管理程序数据。 修改配置文件 myblog/config.py CSRF_ENABLED=True SECRET_KEY='you-will-never-guess' import os basedir = os.path.abspath(os.path.dirn...
分类:数据库   时间:2016-05-12 14:02:42    阅读次数:174
按钮倒计时的GCD 方法
- (void)startCountDownAction{ //开始倒计时 codebtn 是发送验证码的btn ,也是倒计时的UI self.codeBttn.enabled = NO; __block int timeout = 60; [self.codeBttn setTitle:@"60秒 ...
分类:其他好文   时间:2016-05-12 10:28:39    阅读次数:180
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!