对一颗树型结构存储的表进行递归查询,使用navicat for mysql 创建存储过程 pro_show_knowledge, 参数 -- ?IN `rootId` int ? ,通过知识点查询所有子节点数据并插入到临时表 tmp_knowledge_data中。 ...
                            
                            
                                分类:
数据库   时间:
2015-04-28 12:16:58   
                                阅读次数:
195
                             
                         
                    
                        
                            
                            
                                Grand Central Dispatch (GCD)是Apple开发的一个多核编程的解决方法。 dispatch queue分成以下三种: 1)运行在主线程的Main queue,通过dispatch_get_main_queue获取。 2)并行队列global dispatch queue,通过d...
                            
                            
                                分类:
移动开发   时间:
2015-04-28 12:15:58   
                                阅读次数:
118
                             
                         
                    
                        
                            
                            
                                is_numeric 检测变量是否为数字或数字字符串 同样作用的函数还包括如下: is_bool()、is_float()、is_int()、is_string()、is_object()、is_array()?和is_integer()。..... 其作用根据字面意思就能很好的理解...
                            
                            
                                分类:
其他好文   时间:
2015-04-28 12:18:16   
                                阅读次数:
102
                             
                         
                    
                        
                            
                            
                                reaver跑路由器pin码过程:(root权限下) 1 输入:airmon-ng start wlan0 开启监听模式 2 输入:wash -i mon0 -C 查看所有开启WPS的无线路由 长时间无反应按Ctrl+C,结束进程,这时记下你要PJ的目标路由MAC. 3 输入...
                            
                            
                                分类:
其他好文   时间:
2015-04-28 12:17:16   
                                阅读次数:
176
                             
                         
                    
                        
                            
                            
                                FFmpeg 是什么? FFmpeg是一个开源免费跨平台的视频和音频流方案,属于自由软件,采用LGPL或GPL许可证(依据你选择的组件)。它提供了录制、转换以及流化音视频的完整解决方案。它包含了非常先进的音频/视频编解码...
                            
                            
                                分类:
系统相关   时间:
2015-04-28 12:15:37   
                                阅读次数:
257
                             
                         
                    
                        
                            
                            
                                1.简单的将日志打印到屏幕 import?logging logging.debug(‘This is debug message‘) logging.info(‘This is info message‘) logging.warning(‘This is warning message‘) ? 屏幕上打印: WARNING:root:This is ...
                            
                            
                                分类:
编程语言   时间:
2015-04-28 12:17:33   
                                阅读次数:
122
                             
                         
                    
                        
                            
                            
                                # 要解决的问题 一个域名,如果只挂一个站点有点浪费,希望可以 aa.hostname.com -> localhost:8000 bb.hostname.com -> localhost:8001 # 思路 - 在 /etc/hosts 底下加入对hostname.com, aa.hostname.com, bb.h...
                            
                            
                                分类:
其他好文   时间:
2015-04-28 12:17:12   
                                阅读次数:
109
                             
                         
                    
                        
                            
                            
                                HTTP server plugin HTTP 服务器插件 The rabbitmq-mochiweb plugin provides hosting for other plugins that have HTTP interfaces. It allows these interfaces to co-exist on one or more HTTP listeners. r...
                            
                            
                                分类:
Web程序   时间:
2015-04-28 12:14:54   
                                阅读次数:
201
                             
                         
                    
                        
                            
                            
                                为了安全性;ssh默认的连接超时时间很短;经常就是发个呆就断开了;事实上是可以修改超时时间的。 示例环境: ????服务器:centos6.5 1:[root@iZ28qa8jt4uZ /]cp /etc/ssh/sshd_config /etc/ssh/sshd_config...
                            
                            
                                分类:
其他好文   时间:
2015-04-28 12:14:50   
                                阅读次数:
79
                             
                         
                    
                        
                            
                            
                                一、安装Erlang 详细的安装介绍在这里(https://www.erlang-solutions.com/downloads/download-erlang-otp) ????wget http://packages.erlang-solutions.com/erlang-solutions-1.0-1.noarch.rpm...
                            
                            
                                分类:
其他好文   时间:
2015-04-28 12:16:12   
                                阅读次数:
118
                             
                         
                    
                        
                            
                            
                                分为3个步骤 1.修改tomcat中用户 2..配置maven的setting.xml 添加server 3.修改项目的pom 配置tomcat自动部署插件 具体: 1修改tomcat用户 首先,在tomcat7中操作一下 配置 manager 修改tomcat\conf\tomcat-user...
                            
                            
                                分类:
其他好文   时间:
2015-04-28 12:15:01   
                                阅读次数:
143
                             
                         
                    
                        
                            
                            
                                Apache Wink就是一个纯Java的REST框架。它完整的实现了JSR 311并扩展了部分功能,此外还提供了良好的扩展性,难能可贵的是还可以与流行的Java框架Spring无缝集成。 1. 通过maven加载apache wink和spring整合所使用...
                            
                            
                                分类:
编程语言   时间:
2015-04-28 12:15:29   
                                阅读次数:
218
                             
                         
                    
                        
                            
                            
                                IOS中代码运行的磨刀石--预编译指令 所谓预编译,就是程序代码在编译之前,开发工具为我们预先做的一些工作。不要小瞧这些指令,没有它们,我们的代码可能寸步难行。 一、文件包含相关预处理命令 #include <head...
                            
                            
                                分类:
移动开发   时间:
2015-04-28 12:13:50   
                                阅读次数:
125
                             
                         
                    
                        
                            
                            
                                一、编译环境 vmware 11.1 + centos 7 + kbengine 0.5.0 + MariaDB 10.0 centos7?Minimal 安装并 yum update 二、编译过程 MariaDB的安装参见?http://downloads.mariadb.org/mariadb/repositories/ yum instal...
                            
                            
                                分类:
其他好文   时间:
2015-04-28 12:14:57   
                                阅读次数:
149
                             
                         
                    
                        
                            
                            
                                攻击代码: #include?"stdio.h"
#include?"string.h"
char?code[]=
"\x41\x41\x41\x41\x41"
"\x41\x41\x41\x41\x41"
"\x41\x41\x41\x41\x41"
"\x41\x41\x41"
"\x41\x41\x41\x41"
"\x41\x41"??//?two?more?...
                            
                            
                                分类:
其他好文   时间:
2015-04-28 12:14:29   
                                阅读次数:
119
                             
                         
                    
                        
                            
                            
                                一张图轻松搞懂javascript event对象的clientX,offsetX,screenX,pageX区别 2014-09-14 ?????0?个评论??? 来源:ruoyiqing的专栏?? 收藏????我要投稿 总是会被javascript的event对象的clientX,off...
                            
                            
                                分类:
其他好文   时间:
2015-04-28 12:12:57   
                                阅读次数:
231
                             
                         
                    
                        
                            
                            
                                页面报错对于发现编程过程中的问题很重要,所以在开发之前要先搞定它,免得出了问题不知道在哪下手,瞎耽误功夫(本人深有感触)。 不说废话了,进入正题 ectouch 开始调试模式方法: 修改 mobile\include\Conve...
                            
                            
                                分类:
其他好文   时间:
2015-04-28 12:15:09   
                                阅读次数:
163