码迷,mamicode.com
首页 >  
搜索关键字:get    ( 75501个结果
@MatrixVariable 矩阵变量
RFC3986定义了在URI中包含name-value的规范!这也是spring4.0众多吸引人的新特性之一。先来举个小例子: 比如URI是这样的: //GET /pets/42;q=11;r=22 对应的方法定义则是: @RequestMapping(value = "pets/{pet...
分类:其他好文   时间:2015-05-07 17:12:45    阅读次数:1003
25. PowerShell -- 命令发现和脚本块
PowerShell之发现命令从用户的角度来看,在Powershell控制台上输入一条命令,然后直接回车执行,是一件简单的事情,事实上Powershell在后台做了很多事情,其中第一步,就是查看用户输入的命令是否可用,这个步骤也被称作自动化发现命令。使用Get-Command命令可以查看当前作用域..
分类:系统相关   时间:2015-05-07 17:06:16    阅读次数:328
27. PowerShell-- 文件系统(2)
PowerShell之文件系统:使用目录和文件工作Get-ChildItem和Get-Item命令可以获取已经存在的文件和目录。你也可以创建自己的文件和目录,重命名它们,给它们填充内容,复制它们,移动它们,当然也可以删除它们。创建新目录创建一个新目录最方便的方式是使用MD函数,它内部调用的..
分类:系统相关   时间:2015-05-07 17:05:51    阅读次数:167
LeetCode (35) Isomorphic Strings
题目描述Given two strings s and t, determine if they are isomorphic.Two strings are isomorphic if the characters in s can be replaced to get t.All occurrences of a character must be replaced with another c...
分类:其他好文   时间:2015-05-07 16:49:09    阅读次数:100
Yii MySQL server has gone away
场景: 长时间数据库操作致使DB会话超时,多发在后台脚本,可以预估脚本执行时间,在每次执行前重新获取DB预防程序中断  /**      * Get new mysql conn      * @param $timeout int default 1440s optional      * @return object       **/     public static...
分类:数据库   时间:2015-05-07 16:44:19    阅读次数:162
Get和Post区别
在B/S模式中,客户端与服务端交互的方法有:get和post。所有网站框架都是在此基础上发挥,因为它们是Http协议定义的与服务器交互的方法,只要用到http协议,都会使用这两种方法。Http还定义了put和delete方法。现总结区别如下: get是从服务器上获取数据,post是向服务器传送数据。在做数据查询时,建议用Get方式;而在做数据添加、修改或删除时,建议用Post方式。 生成方式 ge...
分类:其他好文   时间:2015-05-07 16:41:07    阅读次数:127
fastxml Jackson JsonNode (ObjectNode) 转 List
做环聊开发, Java 后台示例 用的fastxml Jackson 解析json(擦, 狗屎, 不能支持下国产吗?)有的json字段是数组, 发现不会解析了, 谷歌了下, 用以下方法可行,(不知道有没有其他简单的方法) JsonNode arrNode = getFriendsNode.get(....
分类:Web程序   时间:2015-05-07 16:33:24    阅读次数:1184
js 拼接参数
htmlString += "删除" + "" + "修改" + "" + "推送" htmlString += "";onclick=\"sendMsg('"+productionObj.id+"','"+productionObj.get('title')...
分类:Web程序   时间:2015-05-07 16:31:46    阅读次数:169
jenkins unable to delete file
在Ubuntu下,当执行apt-get install方式安装Jenkins的时候,会自动创建jenkins用户,这是一个没有用户目录的账号。1.从/etc/group文件中在nogroup中删除jenkins账号2.将jenkins账号加入到root组 gpasswd -a root ...
分类:其他好文   时间:2015-05-07 16:30:40    阅读次数:127
URAL——DFS找规律——Nudnik Photographer
DescriptionIf two people were born one after another with one second difference and one of them is a child, then the other one is a child too. We get ...
分类:其他好文   时间:2015-05-07 16:29:12    阅读次数:134
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!