引言: 前段时间项目中用到了RESTful模式来开发程序,但是当用POST、PUT模式提交数据时,发现服务器端接受不到提交的数据(服务器端参数绑定没有加任何注解),查看了提交方式为application/json, 而且服务器端通过request.getReader() 打出的数据里确实存在浏览器提 ...
分类:
移动开发 时间:
2016-11-08 13:38:52
阅读次数:
258
Given a 2D matrix matrix, find the sum of the elements inside the rectangle defined by its upper left corner (row1, col1) and lower right corner (row2 ...
分类:
其他好文 时间:
2016-11-08 08:05:08
阅读次数:
140
Given an integer array nums, find the sum of the elements between indices i and j (i ≤ j), inclusive. Example: Note: Solution: Because "There are many ...
分类:
其他好文 时间:
2016-11-08 08:00:54
阅读次数:
179
1.android/app/build.gradle文件中,指定了版本: compileSdkVersion 23buildToolsVersion "23.0.1" 需要在设置中选择,如下图所示: 2.报“Could not find tools.jar”错误,是因为没配置java的环境变量JAV ...
查找/xusx下所有7天以前的log结尾并且大于10k的文件移动到/tmp 第一步 [root@localhost xusx]# find ./ -type f -name "*.log" -mtime +7 -size +1k ./d.log./passwd.log 查看时间: [root@loc ...
分类:
移动开发 时间:
2016-11-08 02:03:32
阅读次数:
299
brew list //查看brew安装东东 ls //当前目录下内容 brew --cache //查看brew下载目录 /usr/local/Cellar/ //隐藏文件可以终端cd进去,也可以打开Finder后前往 /users/yangk/desktop //进入桌面 ...
分类:
系统相关 时间:
2016-11-08 01:39:40
阅读次数:
192
##################################################################################################### #find ... -exec rm {} \; 可以把find命令查找到的结果删除,其区别简单 ...
分类:
其他好文 时间:
2016-11-08 01:23:26
阅读次数:
219
Detachment Problem Description In a highly developed alien society, the habitats are almost infinite dimensional space.In the history of this planet,t ...
分类:
其他好文 时间:
2016-11-08 00:58:04
阅读次数:
291
1.批量将命令aliasalias_ps_java_mappice:cmd.run:-name:echo-e‘\naliashpsm="ps-ef|grepMappIce|egrep-vgrep"\naliashpsj="ps-ef|grepjava|egrep-vgrep"‘>>/etc/profile2.file.append,增加删除日志的命令/home/shell/cron_clear_file.sh:file.append:-text:-find/home-..
分类:
其他好文 时间:
2016-11-07 20:21:29
阅读次数:
234
Wireless Network Time Limit: 10000MS Memory Limit: 65536K Total Submissions: 24497 Accepted: 10213 Description An earthquake takes place in Southeast ...
分类:
Web程序 时间:
2016-11-07 19:37:48
阅读次数:
275