会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
applekingghfhfhbr
博客园
首页
新随笔
联系
管理
订阅
上一页
1
2
3
4
5
6
···
10
下一页
2018年12月12日
linq to xml C#
摘要: private string GetResponseErrorMsg(string transactionid, Dictionary<string, string> errorMsg) { //key除了head 都是 CTO 加msg string xmlpath = HttpContext.C
阅读全文
posted @ 2018-12-12 12:33 applekingghfhfhbr
阅读(104)
评论(0)
推荐(0)
2018年10月31日
根据经纬度 算2点距离
摘要: //计算两点位置距离window.alert(getDistance(116.331398,39.897445,116.313098,39.8860000)); function getDistance(lat1, lng1, lat2, lng2) { lat1 = lat1 || 0; lng1
阅读全文
posted @ 2018-10-31 12:31 applekingghfhfhbr
阅读(172)
评论(0)
推荐(0)
2018年7月28日
hadoop HA
摘要: hadoop2.0已经发布了稳定版本了,增加了很多特性,比如HDFS HA、YARN等。最新的hadoop-2.4.1又增加了YARN HA 注意:apache提供的hadoop-2.4.1的安装包是在32位操作系统编译的,因为hadoop依赖一些C++的本地库,所以如果在64位的操作上安装hado
阅读全文
posted @ 2018-07-28 15:14 applekingghfhfhbr
阅读(163)
评论(0)
推荐(0)
2018年7月20日
Interceptor Demon
摘要: package cn.itcast.chain.action; public class TestAction { public String execute(){ System.out.println("test action"); return "aaa"; }} package cn.itca
阅读全文
posted @ 2018-07-20 16:07 applekingghfhfhbr
阅读(79)
评论(0)
推荐(0)
2018年7月5日
计算索引Level数
摘要: 1.0 表的行数 row num 1000000; 2.0 叶级行的平均总大小 leaf row size 200 byte 3.0 叶级页的平均密度 page_desity=100% 4.0 叶级页所能容纳的行数 rows_per_leaf_page floor(page_size - page_
阅读全文
posted @ 2018-07-05 09:07 applekingghfhfhbr
阅读(186)
评论(0)
推荐(0)
2018年5月16日
删除 重复行
摘要: delete from C_CHAR_SEQUENCE WHERE id in (select id from (select id ,ROW_NUMBER() over(partition by PRIORITY,SEQUENCE,land, SOURCE,MATERIAL,char order
阅读全文
posted @ 2018-05-16 17:43 applekingghfhfhbr
阅读(145)
评论(0)
推荐(0)
2018年4月26日
Fix window Screen Js
摘要: if ($(".divContentImage").length > 0) { var offset = $(".divContentImage").offset(); $(window).scroll(function () { var scrollTop = $(window).scrollTo
阅读全文
posted @ 2018-04-26 15:56 applekingghfhfhbr
阅读(128)
评论(0)
推荐(0)
C# helper Class
摘要: /// <summary> /// 二进制序列化,带压缩 /// </summary> /// <param name="obj"></param> /// <returns></returns> public static string BinarySerialize(object obj) {
阅读全文
posted @ 2018-04-26 15:55 applekingghfhfhbr
阅读(143)
评论(0)
推荐(0)
2018年2月6日
get current wee
摘要: package com.sangame.uc.front.web.controller.front; import java.text.DateFormat;import java.text.SimpleDateFormat;import java.util.Calendar;import java
阅读全文
posted @ 2018-02-06 14:37 applekingghfhfhbr
阅读(117)
评论(0)
推荐(0)
2017年11月2日
ORM EF 动态创建类
摘要: public class CCBWebSeviceHelper { public static int rowCount = 0; /// < summary> /// 动态调用web服务,当有实体类的时候 (只用于一个) /// < /summary> /// < param name="url"
阅读全文
posted @ 2017-11-02 16:10 applekingghfhfhbr
阅读(269)
评论(0)
推荐(0)
上一页
1
2
3
4
5
6
···
10
下一页
公告