2019年10月14日

将字符串中下划线去掉并把下划线后面的首字母改为大写 如:ba_cd_sa 改为baCdSa

摘要: splitDownLineandAfterToUpperCase(str) { var s = str.split('_'); var newA=""; for(var i=1;i<s.length;i++){ newA += s[i].substring(0, 1).toUpperCase() + 阅读全文

posted @ 2019-10-14 12:12 博客海沐沐 阅读(1890) 评论(0) 推荐(0)

2019年10月9日

一些常用命令

摘要: 运动命令: forward(d) 向前移动d长度 backward(d) 向后移动d长度 right(d) 向右移动多少度 left(d) 向左移动多少度 goto(x,y) 移动到坐标为(x,y)的位置 speed(speed) 笔画绘制的速度[0,10] 笔画控制命令 up() 笔抬起来 不会绘 阅读全文

posted @ 2019-10-09 10:54 博客海沐沐 阅读(161) 评论(0) 推荐(0)

2019年8月13日

获取配置文件类(记录代码.properties)

摘要: 1, .properties中key-value形式 propertiesUtil public class PropertiesUtil { public static String getValue(String key){ Properties prop=new Properties(); I 阅读全文

posted @ 2019-08-13 15:33 博客海沐沐 阅读(220) 评论(0) 推荐(0)

2019年8月12日

webservice jaxws 客户端(服务端和客户端都在本地)

摘要: 在本地调用测试接口 阅读全文

posted @ 2019-08-12 11:34 博客海沐沐 阅读(327) 评论(0) 推荐(0)

cxf webservice 客户端(服务端和客户端都在本地的一种测试接口)

摘要: public class Clent { public static void main(String[] args) { ClassPathXmlApplicationContext context = new ClassPathXmlApplicationContext(new String[] 阅读全文

posted @ 2019-08-12 11:30 博客海沐沐 阅读(286) 评论(0) 推荐(0)

2019年7月30日

在centos7中安装elasticsearch6.3

摘要: 第一:必须要有jre elasticsearch是用Java实现的,跑elasticsearch必须要有jre支持,所以必须先安装jre 自己百度安装(1.8) 第二:下载elasticsearch 进入官方下载 https://www.elastic.co/downloads/elasticsea 阅读全文

posted @ 2019-07-30 10:14 博客海沐沐 阅读(140) 评论(0) 推荐(0)

2019年7月12日

cxf webservice客户端调用服务端(根据wsdl直接编写测试接口代码)

摘要: 在服务器上面部署了webservice服务端,如果想在本地编写客户端调用,可以这样编写 阅读全文

posted @ 2019-07-12 17:58 博客海沐沐 阅读(1300) 评论(0) 推荐(0)

2019年6月4日

安装redis出现致命错误

摘要: 解决方法: make MALLOC=libc OK!!!! 阅读全文

posted @ 2019-06-04 15:28 博客海沐沐 阅读(306) 评论(0) 推荐(0)

2019年5月29日

idea web打包

摘要: https://blog.csdn.net/lhp3000/article/details/78994010 阅读全文

posted @ 2019-05-29 10:50 博客海沐沐 阅读(89) 评论(0) 推荐(0)

2019年5月20日

用nohup启动命令

摘要: nohup java -jar executionA4.jar >nohup.out & 阅读全文

posted @ 2019-05-20 17:19 博客海沐沐 阅读(306) 评论(0) 推荐(0)

导航