`
zhlfz
  • 浏览: 27933 次
  • 性别: Icon_minigender_1
  • 来自: 河南
社区版块
存档分类
最新评论
文章列表
_SQL乘法口诀   declare @x int ,@y int ,@z varchar(1000)set @x=1set @y=1set @z=''while @x<=9 begin  set @y=1   while @y<@x    begin    set @z=@z+Cast(@y As varchar(10))+'*'+Cast(@x As varchar(10))+'='+Cast(@y*@x as varchar(10))    if @x*@y>=10    set @z=@z+'   '    else     set @z=@z+'    '     ...

gradle切换源

cordova build 卡在:Resolving dependencies ':classpath' Download https://repo1.maven.org   恭喜,被墙了, 修改:build.gradle repositories { maven{ url 'http://maven.oschina.net/content/groups/public/'} }  即可
Cordova报错:   E:\study\cordova\eppdemo>cordova platform add ios WARNING: Applications for platform ios can not be built on this OS - win32. npm http GET https://registry.npmjs.org/cordova-ios npm http GET https://registry.npmjs.org/cordova-ios npm http GET https://registry.npmjs.org/cordova ...

utf-8非法字符65279

    博客分类:
  • java
最近在做敏感词过滤的时候,用记事本保存敏感词,但是在读取记事本的时候,发现第一行的词总是识别不了 经过debug发现在记事本保存utf8的时候自动加个了"空白"字符,经排查字符的ascii = 65279   google后发现原来记事本在保存utf8时自动在开头加上BOM,使用notepad ++的“以UTF-8无BOM格式编码”保存即可          
[root@iZ286daemg4Z mysql]# rpm -ivh MySQL-server-5.6.23-1.el6.x86_64.rpm Preparing... ################################# [100%] file /usr/share/mysql/charsets/README from install of MySQL-server-5.6.23-1.el6.x86_64 conflicts with file from package mariadb-libs-1:5.5.40-1 ...
CXF集成Spring报下面错误: Error creating bean with name 'cxf': Singleton bean creation not allowed while the singletons of this factory are in destruction (Do not request a bean from a BeanFactory in a destroy method implementation!)    原因是CXF 不支持Timestamp   解决方案参照 http://www.blogjava.net/absolutedo/a ...
最近在使用datatable,Struts2返回的JSON Datatable总是不能解析,通过Firebug看到返回Json的都带有反斜杠如下:   {\"Result\":\"OK\",\"Records\":[{\"PersonId\":1,\"Name\":\"Benjamin Button\",\"Age\":17,\"RecordDate\":\"\/Date(1320259705710)\/\"} ...
Java 使用POI 读取 excel文件,错误: Unable to read entire header; 0 bytes read; expected 512 bytes 原因可能: FileInputStream 使用了两次,第二次就会报这个错  
Global site tag (gtag.js) - Google Analytics