Jan.07】的更多相关文章

Jan.07 英文朗读 be good for对...好 be bad for/be harmful to对..不利. Smoking is not good for your health. 吸烟对你的健康不好. Drinking a lot of water is good for your body. 喝大量的水对你的身体好. A:What's your favorite food? 你最喜欢的食物是什么? B:My favorite food is hamburger.I hope I…
ubuntu使用ntpdate更新时间的时候提示错误如下 root@lnmp:/etc/squid3# sudo ntpdate cn.pool.ntp.org 5 Jan 07:22:59 ntpdate[4129]: the NTP socket is in use, exiting 解决方法 $ ps aux | grep ntpd #将进程号记录下来 $ sudo kill 2378 # 杀死刚才记录的进程号 $ sudo ntpdate cn.pool.ntp.org  # 再次更新…
今天主要说下我为了给mongodb数据库添加authorization,大家应该知道,mongo默认是无auth运行的.这可能是方便小伙伴学习命令吧. 由于之前发布的一个项目,在亚马逊的云上,处于内部应用,也没有给数据库添加auth,没有想到,被AWS的监控发现了,提示需要安全措施,不能无auth运行,因为这样子会被外部网络查询攻击.所以今天要将那个应用重新修改一下mongo客户端程序的应用方式.程序是python写的,改起来还是比较方便,不像java还要再编译打包发布,python程序,现场修…
Sign In Join Search IIS Home Downloads Learn Reference Solutions Blogs Forums HomeIIS.NET Forums64-bit Editions of IISIIS in SySWoW ModeThe Module DLL C:\Windows\system32\RpcProxy\RpcProxy.dll failed to lo... The Module DLL C:\Windows\system32\RpcPro…
老李分享:<Linux Shell脚本攻略> 要点(四)   1.IP地址的正则表达式: [0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3} 2.grep用法 //在多级目录中对文本进行递归检索 [root@localhost program_test]# grep "yang" ./ -Rn ./test.txt:6:laoyang./right.txt:1:1 yang man //忽略大小写匹配 [root@localhost…
1.读取 Properties prop = new Properties(); try { //这个getResourceAsStream方法就是把文件转为inputStream的方式 prop.load(HtpUtil.class.getResourceAsStream("htp.properties")); } catch (IOException e) { e.printStackTrace(); } //获取某个属性 String host = prop.getPropert…
https://www.jianshu.com/p/87b2c309b776 本文将介绍如何在spring boot中集成ehcache作为hibernate的二级缓存.各个框架版本如下 spring boot:1.4.3.RELEASE spring framework: 4.3.5.RELEASE hibernate:5.0.1.Final(spring-boot-starter-data-jpa默认依赖) ehcache:2.10.3 项目依赖 <dependency> <grou…
上篇文章中,我们完成了在OSGI应用中整合Spring和Mybatis框架的准备工作,本节我们继续Spring和Mybatis框架的整合. 一.解决OSGI整合Spring中的Placeholder问题 使用Spring框架的朋友应该都知道,我们可以在Bean的配置文件中,使用${key}的形式访问properties文件中对应的value值,需要用到Spring中的PropertyPlaceholderConfigurer类,使用方式如下,首先需要配置placeholder,例如: <bean…
原来是因为 AssetsMapper.xml 不知道为什么不见了,导致这个异常,在启动项目时的启动任务里调用到了它,然后因为没有这个xml,所以抛出异常 启动信息: C:\extend\Development\apache-tomcat-7.0.84\bin\catalina.bat run [2019-01-07 12:28:30,119] Artifact RM_Tomcat7_Exploded: Waiting for server connection to start artifact…
CODE: #!/usr/bin/python # -*- coding: utf-8 -*- ''' Created on 2014-7-14 @author: guaguastd @name: convenient_function_call.py ''' if __name__ == '__main__': # import json import json # import search from search import twitter_search # import twitter…