• 博客园logo
  • 会员
  • 众包
  • 新闻
  • 博问
  • 闪存
  • 赞助商
  • HarmonyOS
  • Chat2DB
    • 搜索
      所有博客
    • 搜索
      当前博客
  • 写随笔 我的博客 短消息 简洁模式
    用户头像
    我的博客 我的园子 账号设置 会员中心 简洁模式 ... 退出登录
    注册 登录
开水房
ASP.NET
博客园    首页    新随笔    联系   管理    订阅  订阅
上一页 1 ··· 9 10 11 12 13 14 15 16 17 ··· 26 下一页
2011年8月5日
求sql:得到的是每天a字段最大值和最大值的id、最小值值和最小值的id
摘要: select m.id, m.a, n.id, n.a from (select t0.* from t t0where not exists (select 1 from t t1 where t1.sj = t0.sj and t1.a > t0.a)) mselect t0.* from t t0 where not exists (select 1 from t t1 where t1.sj = t0.sj and t1.a < t0.a)) nwhere m.sj = n.sj; 阅读全文
posted @ 2011-08-05 16:03 白开水皮皮 阅读(334) 评论(0) 推荐(0)
Postgresql 字符串操作函数
摘要: 来自 http://www.cnblogs.com/sekihin/archive/2009/08/14/1545867.html【Postgresql】字符串操作函数函数:string || string 说明:String concatenation 字符串连接操作例子:'Post' || 'greSQL' = PostgreSQL函数:string || non-string or non-string || string说明:String concatenation with one non-string input 字符串与非字符串类型进行连接操作例子 阅读全文
posted @ 2011-08-05 14:36 白开水皮皮 阅读(271) 评论(0) 推荐(0)
2011年7月19日
事故处理新闻模板
摘要: 事故发生后,______高度重视,______当即作出批示,要求不惜一切代价千方百计搜救,救治伤员,查明事故原因,积极做好善后工作,并注意搜救人员安全。____________当晚赶到事故现场指挥搜救,看望伤员,召开紧急会议安排部署施救和善后工作并要求举一反三,全______立即开展安全生产大检查。______成立了以______为首的事故应急处置小组,分设现场抢救、医疗救治、善后处理等三个工作小组,并组织公安、消防、交警、应急救援队及当地群众等近______人,全力以赴开展搜救,目前,现场搜救工作仍在紧张进行中,广大_____情绪稳定.........。经过近______的努力______工 阅读全文
posted @ 2011-07-19 08:37 白开水皮皮 阅读(315) 评论(0) 推荐(0)
2011年6月13日
文件生成(做测试时使用)
摘要: public class test { /** * @param args * @throws Exception */ public static void main(String[] args) throws Exception { // TODO Auto-generated method stub File f = new File("c:\\aa.pdf"); for(int i=0;i<1100;i++) { File n = new File("c:\\pdf\\REPORT_1306460911500"+i+".pdf&q 阅读全文
posted @ 2011-06-13 10:05 白开水皮皮 阅读(252) 评论(0) 推荐(0)
2011年6月11日
优酷 youku 土豆 等视频网 视频下载
摘要: 1. 在地址栏复制你要下载的视频的网址,如http://v.youku.com/v_show/id_XMTU3NTMyMzQ0.html2. 打开一个空白网页,在地址栏输入网址: www.kisstudou.com (轻吻土豆,很好记)3. 该网站的输入框内输入第一步复制的视屏网址,随后该网站会给出视频下载的链接,这样就可以下载了(下载后的格式:flv) 阅读全文
posted @ 2011-06-11 15:08 白开水皮皮 阅读(446) 评论(0) 推荐(0)
2011年6月9日
java 文件 拷贝 file copy 管道对管道 速度最快
摘要: 管道对管道的文件拷贝publicstaticlongforChannel(Filef1,Filef2)throwsException{longtime=newDate().getTime();intlength=2097152;FileInputStreamin=newFileInputStream(f1);FileOutputStreamout=newFileOutputStream(f2);FileChannelinC=in.getChannel();FileChanneloutC=out.getChannel();ByteBufferb=null;while(true){if(inC.p 阅读全文
posted @ 2011-06-09 13:50 白开水皮皮 阅读(1739) 评论(1) 推荐(0)
2011年5月20日
用myeclipse搭建S2SH struts2 spring hibernate
摘要: step1: 在myeclipse上新建一个web项目step2: 加入struts2所需的包freemarker-2.3.16ognl-3.0struts2-core-2.2.1struts2-dojo-plugin-2.2.1struts2-json-plugin-2.2.1struts2-spring-2.2.1xwork-core-2.2.1step3:加入spring2.5右键点击工程名称,MyEclipse->Add Spring Capabilities。选择Spring version为Spring 2.5,选中Spring 2.5 AOP Libraries、Sprin 阅读全文
posted @ 2011-05-20 12:45 白开水皮皮 阅读(1093) 评论(0) 推荐(0)
2011年5月16日
字符编码
摘要: Term 1: 编码页(code page):计算机只懂得数值。编码页就是字符和数值的对照表。如ASCII编码页就是一个很著名的例子,它把英文字母表和一些控制字符映射到一些特定的数值上去。ASCII编码映射了127个字符,因此7位(bit)二进制数足够用来表示127个字符。 不同的开发商使用不同的编码页,给这带来了混乱。也就是说,同一个日语字符,在一个机器上可能用0x95和0x5c两个字节表示,而在另外的机器的上则可能是0xc9和0xbd。这样一事每次交换数据都要进行一次转换(称为码表转换(charmap conversion)或码集转换(codeset conversion))。为了解决使用 阅读全文
posted @ 2011-05-16 09:47 白开水皮皮 阅读(326) 评论(0) 推荐(0)
2011年1月19日
eclipse 国际化 i18n 资源编辑器 JInto 0.12.0 und 0.13.5
摘要: JInto 0.12.0 und 0.13.5http://www.guh-software.de/jinto.html 阅读全文
posted @ 2011-01-19 13:44 白开水皮皮 阅读(300) 评论(0) 推荐(0)
2010年12月31日
java 域服务器 验证
摘要: 到与服务器端用域用户进行身份验证:代码Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/--try{UniAddressdc=UniAddress.getByName("192.168.10.229");jcifs.smb.NtlmPasswordAuthenticationauth=newjcifs.smb.NtlmPasswordAuthentication("192.168.10.229","user","password");//jcifs.sm 阅读全文
posted @ 2010-12-31 16:42 白开水皮皮 阅读(2913) 评论(0) 推荐(0)
上一页 1 ··· 9 10 11 12 13 14 15 16 17 ··· 26 下一页
博客园  ©  2004-2025
浙公网安备 33010602011771号 浙ICP备2021040463号-3