上一页 1 2 3 4 5 6 ··· 12 下一页
摘要: 阅读全文
posted @ 2014-09-20 04:17 Kstyjobx!! 阅读(421) 评论(0) 推荐(0) 编辑
摘要: 在做一个chrome上插件的时候,写popup.js时候发现$不能用,我以为在manfest.json上配好jquery-mini-2.0.js就可以了,其实不是,仍然需要在调用他的html即popup.html上配置jquery-mini-2.0.js的路径参考文章http://www.xuebu... 阅读全文
posted @ 2014-09-18 23:51 Kstyjobx!! 阅读(103272) 评论(3) 推荐(9) 编辑
摘要: 获取网页源代码: $line) { echo "Line {$line_num} : " . htmlspecialchars($line) . "/n";}?>获取网页的标题:(.*)", $lines_string, $head);echo $head[0];?> 阅读全文
posted @ 2014-09-14 12:56 Kstyjobx!! 阅读(787) 评论(0) 推荐(0) 编辑
摘要: package ex30;import java.awt.*;import java.awt.event.*;import java.io.*;import java.net.*;import javax.swing.*;public class ViewRemoteFile extends JAp... 阅读全文
posted @ 2014-09-14 12:55 Kstyjobx!! 阅读(1608) 评论(0) 推荐(0) 编辑
摘要: //// main.cpp// proj1//// Created by Yuxin Kang on 8/24/14.// Copyright (c) 2014 Yuxin Kang. All rights reserved.//#include #include #include #i... 阅读全文
posted @ 2014-09-09 11:23 Kstyjobx!! 阅读(375) 评论(0) 推荐(0) 编辑
摘要: 这种A-》C是不用递归的,移动的是当前柱子中最下面一个盘子同理,A->C上面的一组是递归,但是递归里面包含类似于A->C这样的,即Move disk 2 from Ato B 这种A-》C是不用递归的,移动的是当前柱子中最下面一个盘子同理,A->C上面的一组是递归,但是递归里面包含类似于A->C这... 阅读全文
posted @ 2014-09-08 00:22 Kstyjobx!! 阅读(262) 评论(0) 推荐(0) 编辑
摘要: checked onclick="selectGoods(this)">function selectGoods(checkBoxObj){ if(checkBoxObj.checked){ count++; }else{ count--; }function getcheck(){... 阅读全文
posted @ 2014-04-26 11:09 Kstyjobx!! 阅读(312) 评论(0) 推荐(0) 编辑
摘要: 今天遇到hibernate.find就会进行权限配置,如果某处想要跳过权限配置,则可以如下ThreadLocalClient.get().envParamMap.put(DataAuthority.IS_APPLY_AUTHORITY, false);所有ThreadLocalClient都在下面配... 阅读全文
posted @ 2014-04-25 20:48 Kstyjobx!! 阅读(313) 评论(0) 推荐(0) 编辑
摘要: 动态post,避免直接给页面传输大量数据/** * ajax通过商品刷新供应商 * by_kangyx * @throws IOException */ @RequestMapping(params = "actionMethod=refreshGoodRefSuppliers",method = RequestMethod.POST) public void refreshGoodRefSuppliers(final Model model, final HttpServletRequest request, final HttpServletResponse respo 阅读全文
posted @ 2014-04-07 16:52 Kstyjobx!! 阅读(4100) 评论(0) 推荐(0) 编辑
摘要: 通常exists后的子查询是需要和外面的表建立关联关系的,如select count(*) from a where exists (select 'x' from b where a.id = b.id)因为exists只是看子查询是否有结果返回,而并不关心返回的是什么内容,因此通常建议写一个常量,至少性能不可能比select 一个具体的字段出来差,而某些情况下,select具体的字段出来性能可能比select 一个常量出来要差得多。如果不和外面的表建立关联关系,如select * from a where exists (select 'x' from b) 阅读全文
posted @ 2014-04-04 15:48 Kstyjobx!! 阅读(302) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 ··· 12 下一页