$area = array(array('id'=>1,'name'=>'安徽','parent'=>0),array('id'=>2,'name'=>'海淀','parent'=>7),array('id'=>3,'name'=>'濉溪县','parent'=>5),array('id'=>4,'...
分类:
其他 时间:
2014-06-25 11:04:51
收藏:
0 评论:
0 赞:
0 阅读:
333
程序员生存定律这系列的目录在这里:程序员生存定律--目录喜欢从头瞄的,可以移步。------------------------------------------------------------------------------1掌握读代码的方法和技巧不管最终想成为什么,刚入行之后,一定离不...
分类:
其他 时间:
2014-06-25 11:05:29
收藏:
0 评论:
0 赞:
0 阅读:
391
最近网站出现 User 数据库名称 has already more than 'max_user_connections' active connections 的报错,网站瘫痪。有必要研究下这个问题。max_user_connections 是 MySQL 用户连接数的最大值设置,整段语句的意思...
分类:
数据库技术 时间:
2014-06-25 11:06:03
收藏:
0 评论:
0 赞:
0 阅读:
588
如果是root帐号,你能看到所有用户的当前连接。如果是其它普通帐号,只能看到自己占用的连接怎么进入mysql命令行呢? mysql的安装目录下面有个bin目录,先用命令行进入该目录,然后用 mysql -uroot -p123456 来登录(注意:用户名和密码不用包含“”)命令: show proc...
分类:
数据库技术 时间:
2014-06-25 11:06:44
收藏:
0 评论:
0 赞:
0 阅读:
339
Given a string containing just the characters '(' and ')', find the length of the longest valid (well-formed) parentheses substring.For "(()", the lon...
分类:
其他 时间:
2014-06-25 11:07:20
收藏:
0 评论:
0 赞:
0 阅读:
421
更新到Android 4.4,写了个小程序。发现运行不起来了。抛空指针异常。debug模式下,发现在onCreate方法中获取Button是null。Android 4.4把layout进行了重组,全部放到了Fragment下,在onCreate方法执行时,Fragment还没有被调用,所以在这个方...
分类:
移动平台 时间:
2014-06-25 11:08:04
收藏:
0 评论:
0 赞:
0 阅读:
397
https://www.drupal.org/project/purgehttps://www.drupal.org/project/expirehttps://www.drupal.org/project/cfpurgehttps://www.drupal.org/project/varnishh...
分类:
其他 时间:
2014-06-25 11:08:44
收藏:
0 评论:
0 赞:
0 阅读:
380
在Intel Haswell架构里引入了Gather特性。它使得CPU可以使用向量索引存储器编址从存储器取非连续的数据元素。这些gather指令引入了一种新的存储器寻址形式,该形式由通过一个向量寄存器(XMM或YMM)所指定的一个基地址寄存器和多个索引。数据元素大小支持32位与64位,并且数据类型支...
分类:
其他 时间:
2014-06-25 11:09:20
收藏:
0 评论:
0 赞:
0 阅读:
421
Given a linked list, reverse the nodes of a linked listkat a time and return its modified list.If the number of nodes is not a multiple ofkthen left-o...
分类:
其他 时间:
2014-06-25 11:09:59
收藏:
0 评论:
0 赞:
0 阅读:
294
不知道为什么计组老师的大量课件字体是伤害视力的亮蓝色……看久了眼睛疼,想把颜色替换成保护视力一点的灰色,但是找了N久也没找到在图形界面上直接操作的方法,于是在MSDN上晃了晃,Google了一下,写了个VBA小脚本,只替换选定颜色,这样可以保留红色或者其他颜色的高亮,顺便把让人分心的花花背景也干掉。...
分类:
其他 时间:
2014-06-25 11:10:36
收藏:
0 评论:
0 赞:
0 阅读:
503
1 overload a operator of a class, you can only use one para., this pointer is automatically used. class Rational { public: //not correct sinc...
分类:
其他 时间:
2014-06-25 11:11:20
收藏:
0 评论:
0 赞:
0 阅读:
399
1 const 传达的意思应该是这个变量是常量不能更改2 const 在 * 左边表示数据是const,在右边表示指针是const // char greeting[] = "hello"; char* p = greeting; //const *: const data //...
分类:
编程语言 时间:
2014-06-25 11:11:57
收藏:
0 评论:
0 赞:
0 阅读:
498
微软近期Open的职位:Job Summary:Be part of Microsoft’s strategy to deliver a great input experience across the Microsoft platforms! We are looking for an expe...
分类:
其他 时间:
2014-06-25 11:12:38
收藏:
0 评论:
0 赞:
0 阅读:
383
Given two wordsword1andword2, find the minimum number of steps required to convertword1toword2. (each operation is counted as 1 step.)You have the fol...
分类:
其他 时间:
2014-06-25 11:13:59
收藏:
0 评论:
0 赞:
0 阅读:
344
iOS开发多线程篇—GCD的基本使用一、主队列介绍主队列:是和主线程相关联的队列,主队列是GCD自带的一种特殊的串行队列,放在主队列中得任务,都会放到主线程中执行。提示:如果把任务放到主队列中进行处理,那么不论处理函数是异步的还是同步的都不会开启新的线程。获取主队列的方式:dispatch_queu...
分类:
移动平台 时间:
2014-06-25 11:15:12
收藏:
0 评论:
0 赞:
0 阅读:
451
-----------android培训、java培训、ios学习型技术博客、期待与您交流! ------------ OC--集合类1.OC集合类包括NSArray,NSSet,NSDictionary都是以面向对象的方式操作数组,而且OC数组不像C语...
分类:
其他 时间:
2014-06-25 11:15:53
收藏:
0 评论:
0 赞:
0 阅读:
382
一.配置 win8 64位环境java 开发环境 1. 下载JDK,地址http://www.oracle.com/technetwork/java/javase/downloads/index.html 选择下载按照提示安装。安装过程过程中会有两个安装路径的设置,可默认也可自定义。这连个路径...
分类:
编程语言 时间:
2014-06-25 11:16:29
收藏:
0 评论:
0 赞:
0 阅读:
360
目前我用的交叉编译器是TQ2440配套光盘中制作好了的,解压后需要如下配置:1.对于Fedora系统:修改/etc/profile文件,在其中添加交叉编译器的环境变量的设置。 对于Ubuntu系统,修改/etc/enviroment文件2.我用的是Fedora系统,修改PATH值,在其后添加上交叉编...
分类:
系统服务 时间:
2014-06-25 11:17:52
收藏:
0 评论:
0 赞:
0 阅读:
544
上次讲的是键盘事件,这次我们介绍鼠标事件。下面先介绍下鼠标事件的结构体以及相关信息。typedefstruct_MOUSE_EVENT_RECORD//鼠标事件结构体{COORDdwMousePosition;//当前鼠标在控制台窗口缓冲区的位置DWORDdwButtonState;//鼠标按键的状...
分类:
编程语言 时间:
2014-06-25 11:17:12
收藏:
0 评论:
0 赞:
0 阅读:
488
-----------android培训、java培训、ios学习型技术博客、期待与您交流! ------------ OC--description方法1.Description方法包括类方法和对象方法。(NSObject类所包含)-description(对象方...
分类:
其他 时间:
2014-06-25 11:18:29
收藏:
0 评论:
0 赞:
0 阅读:
342