今天用JQuery操作Ajax时,使用load方法加载html块 结果提示: XMLHttpRequest cannot load file~~~~~~~Origin 'null' is therefore not allowed access原因如下: Chrome不支持本地Ajax...
分类:
其他好文 时间:
2014-09-01 12:19:03
阅读次数:
201
Mysql主从复制的配置一、 my.ini配置文件的修改:1、 在主服务器上修改:[mysqld]#datadir=F:/Application/Mysql5.6/dataport=5616event_scheduler=ONmax_allowed_packet = 16Mskip-name-res...
分类:
数据库 时间:
2014-09-01 12:05:23
阅读次数:
316
org.springframework.dao.InvalidDataAccessApiUsageException: Write operations are not allowed in read-only mode (FlushMode.NEVER/MANUAL): Turn your Ses...
分类:
其他好文 时间:
2014-08-30 13:46:49
阅读次数:
368
今天安装MYSQL遇到MYSQL ERROR 1130: Host is not allowed to connect to this MySQL server,试了很多办法都不行skip-grant-tables 放在my.ini [mysqld]1、更改任意主机登陆mysql>usemysql;...
分类:
数据库 时间:
2014-08-28 11:02:49
阅读次数:
207
first sense for erlang. in Erlang, the things I like? 1. ?= is Pattern Match X?=?X?+?1.?//always?wrong. the things I dislike? 1. some thoughts. ?erlang and prolog....
分类:
其他好文 时间:
2014-08-27 06:04:17
阅读次数:
244
Follow up for "Search in Rotated Sorted Array":
What if duplicates are allowed?
Would this affect the run-time complexity? How and why?
Write a function to determine if a given target is in the...
分类:
其他好文 时间:
2014-08-26 17:19:16
阅读次数:
191
iTextSharp导出Pdf报错 Element not allowed 。iTextSharp不支持TH标签...
分类:
其他好文 时间:
2014-08-25 17:02:12
阅读次数:
184
问题:在服务器里面新安装一个MYSQL数据库,结果在远程电脑连接不上,并提示“服务器连接错误Host 'XXX' is not allowed to connect to this MySQL server”。 (数据库默认端口已在防火墙开放的情况下)解决:MYSQL是新装的,没开放远程连接所导致的...
分类:
数据库 时间:
2014-08-25 16:31:14
阅读次数:
216
Follow up for "Remove Duplicates":What if duplicates are allowed at most twice?For example,Given sorted array A = [1,1,1,2,2,3],Your function should r...
分类:
其他好文 时间:
2014-08-23 11:18:00
阅读次数:
167
Follow up for "Search in Rotated Sorted Array":What if duplicates are allowed?Would this affect the run-time complexity? How and why?Write a function ...
分类:
其他好文 时间:
2014-08-23 02:15:59
阅读次数:
157