Description
The game “The Pilots Brothers: following the stripy elephant” has a quest where a player needs to open a refrigerator.
There are 16 handles on the refrigerator door. Every handle c...
分类:
其他好文 时间:
2014-07-27 11:36:04
阅读次数:
234
故障:
之前phpMyAdmim和Yii连接Mysql都好着的,某天,同时出现如下报错:
1、linux下phpMyAdmin 出现 “缺少 mysqli 扩展,请检查
PHP 配置。”
2、Yii 出现CDbConnection failed to open the DB connection: could not find driver
排查:
1、先排查Mysql服务是否正...
分类:
数据库 时间:
2014-07-27 11:16:42
阅读次数:
232
用XMLHttpRequest对象,发请求的基本代码如下:var xmlhttp=new XMLHttpRequest(); var url="http://localhost:3004/test"; xmlhttp.open("get",...
分类:
Web程序 时间:
2014-07-27 10:33:42
阅读次数:
950
Design partion Design partion常用于“增益变量(QIC)”,通过Design Partition对子模块进行“逻辑分区”,在Design Partition Window中最关键的一个设定是Netlist Type,它有四个可选值——Source File,Post-.....
分类:
其他好文 时间:
2014-07-27 10:26:12
阅读次数:
279
这几天学head firs python , 讲的比较浅显易懂,这本书可以当小说读了尝试使用a+方式打开文件,结果发现写入后读取不到,研究了一会才发现是因为使用a的方法打开文件,光标默认在文件末尾,此时用readline是读取不到的,要手动seek(0)代码如下:try: data = ope...
分类:
编程语言 时间:
2014-07-27 10:23:22
阅读次数:
224
C:\users\XXXX>easy_install scrapy 出现错误 fatal error C1083: Cannot open include file: 'openssl/aes.h' : No such file or directory。才想起scrapy主页Installatio...
分类:
Windows程序 时间:
2014-07-27 09:44:12
阅读次数:
1567
在JavaWeb项目中,当然有很多jsp页面,但是我发现,双击打开jsp页面总是卡机,相对于打开其他java文件而言非常慢,感觉很不舒服,MyEclipse中默认打开jsp页面是以可视化的形式展现的,但是大多数情况我们都喜欢以代码方式打开jsp页面。
有两种方式来解决打开jsp页面较慢的问题。
单击选中jsp页面,点击右键---open with --- MyEclipse JSP Edit...
分类:
Web程序 时间:
2014-07-26 15:25:31
阅读次数:
271
Problem Description
Now an emergent task for you is to open a password lock. The password is consisted of four digits. Each digit is numbered from 1 to 9. Each time, you can add or minus 1 to any d...
分类:
其他好文 时间:
2014-07-26 15:24:12
阅读次数:
280
source insight是一款非常优秀的源代码编辑/浏览软件...
分类:
其他好文 时间:
2014-07-26 15:15:50
阅读次数:
196
首先我们应该在电脑上装上GNU Source-highlight 3.1.7,给个链接参考:
http://www.gnu.org/software/src-highlite/#mozTocId120994
下面代码实现了 将java类型的代码转换为html文件类型的代码,如果java代码的文件名为 helloword.java,则转换为html格式的文件名为helloword.j...
分类:
编程语言 时间:
2014-07-26 15:15:00
阅读次数:
297