I am a Solivagant
Lofter    Posts     新文章     文章管理     新日记     日记管理

摘要: Deep within the OS is a backup copy of the OneDriver installer. To find it, go to File Explorer> This PC and open the system drive where Windows 10 is 阅读全文
posted @ 2018-07-23 15:21 宛如ZZ 阅读(1669) 评论(0) 推荐(0) 编辑
摘要: 一. service iptables stop 临时关闭, chkconfig iptables off完全关闭 service iptables status状态, service iptables start/restart 开启/重启防火墙 二. 输入命令 iptables -I INPUT 阅读全文
posted @ 2018-07-21 14:05 宛如ZZ 阅读(7946) 评论(0) 推荐(0) 编辑
摘要: java.util.Properties The Properties class represents a persistent set of properties. The Properties can be saved to a stream or loaded from a stream. 阅读全文
posted @ 2018-07-20 21:59 宛如ZZ 阅读(243) 评论(0) 推荐(0) 编辑
摘要: Q: How can I search only for word, excluding searches for word1 and word2? A: like this: /\<word\> \< means beginning of a word, and \> means the end 阅读全文
posted @ 2018-07-19 15:31 宛如ZZ 阅读(403) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2018-07-19 10:47 宛如ZZ 阅读(119) 评论(0) 推荐(0) 编辑
摘要: 数据库安装最好是安装在 usr/local/ 里面,因为默认的很多东西都是指向这个文件夹中的。 阅读全文
posted @ 2018-07-17 18:51 宛如ZZ 阅读(269) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2018-07-16 20:11 宛如ZZ 阅读(159) 评论(0) 推荐(0) 编辑
摘要: etymological origins 词源 阅读全文
posted @ 2018-07-16 20:10 宛如ZZ 阅读(226) 评论(0) 推荐(0) 编辑
摘要: Example 2: event handler Javascript (Yep, early 21st century Javascript was pretty lame, too). One unifying characteristic that these early Javascript 阅读全文
posted @ 2018-07-16 20:01 宛如ZZ 阅读(1598) 评论(0) 推荐(0) 编辑
摘要: Lyre 里拉琴,古希腊语,在北欧流行至中世纪. Lyrics in sheet music. This is a homorhythmic (i.e., hymn-style) arrangement of a traditional piece entitled "Adeste Fideles" 阅读全文
posted @ 2018-07-16 19:18 宛如ZZ 阅读(348) 评论(0) 推荐(0) 编辑
摘要: In pom.xml, defined this maven.compiler.source properties to tell Maven to use Java 8 to compile the project. 1. Maven Properties Java 8 pom.xml <prop 阅读全文
posted @ 2018-07-16 16:16 宛如ZZ 阅读(27069) 评论(0) 推荐(1) 编辑
摘要: JSESSIONID is a cookie in J2EE web application which is used in session tracking. Since HTTP is a stateless protocol, we need to use any session to re 阅读全文
posted @ 2018-07-13 22:42 宛如ZZ 阅读(309) 评论(0) 推荐(0) 编辑
摘要: SecurityManager是Shiro的绝对核心,不同于java.lang.SecurityManager,每个应用程序都要有一个SecurityManager. 所以我们第一件事就是配置一个SecurityManager实例. 配置: 我们可以直接实例化SecurityManager类,Shi 阅读全文
posted @ 2018-07-12 22:24 宛如ZZ 阅读(252) 评论(0) 推荐(0) 编辑
摘要: 直观的 阅读全文
posted @ 2018-07-12 22:21 宛如ZZ 阅读(731) 评论(0) 推荐(0) 编辑
摘要: 1.材质,效果透明. 2.思想透明,容易获取(思维简单,单纯) 3.后台静默(of a process or interface) functioning without the user being aware of its presence. 阅读全文
posted @ 2018-07-12 22:04 宛如ZZ 阅读(1608) 评论(0) 推荐(0) 编辑
摘要: 两种主要的java web services api: JAX-WS 和JAX-RS. Java web service application 之间通过WSDL来交互. 有两种方法来书写java web service application code: SOAP/RESTful Java Web 阅读全文
posted @ 2018-07-11 22:44 宛如ZZ 阅读(160) 评论(0) 推荐(0) 编辑
摘要: WSDL是网络服务描述语言,是一个包含关于web service信息(如方法名,方法参数)以及如何访问它. WSDL是UDDI的一部分. 作为web service 应用程序之间的接口,发音为wiz-dull. UDDI是通用描述发现整合的缩写. 是一个描述/发现/整合web service的基于X 阅读全文
posted @ 2018-07-11 21:01 宛如ZZ 阅读(133) 评论(0) 推荐(0) 编辑
摘要: 命令行: netstat -aon|findstr "80" 会得到类似下列的数据 TCP 0.0.0.0:80 0.0.0.0:0 LISTENING 2736 2736代表占用进程的PID 方法1 tasklist|findstr "2736" 方法2 在任务管理器中显示PID, 找到上述PID 阅读全文
posted @ 2018-07-10 20:20 宛如ZZ 阅读(292) 评论(0) 推荐(0) 编辑
摘要: 是因为Eclipse的Web项目不自动引入相关jar包. Right Click on the Project ❯ Properties ❯ Project Facets. You would be presented with the screen that would look similar 阅读全文
posted @ 2018-07-10 19:20 宛如ZZ 阅读(238) 评论(0) 推荐(0) 编辑
摘要: 拉丁语 familia 目--> 总科-->科-->亚科(亚科的拉丁文分类滋味通常是-inae) [族] 属 阅读全文
posted @ 2018-07-07 10:50 宛如ZZ 阅读(288) 评论(0) 推荐(0) 编辑
摘要: var findEmail=false; function findEmail(){ alert("findEmail");} 这样函数不会运行. 为了保证函数可以运行,修改为: var ifFindEmail=false; function findEmail(){ alert("findEmai 阅读全文
posted @ 2018-07-07 10:40 宛如ZZ 阅读(223) 评论(0) 推荐(0) 编辑
摘要: body: <input type="text" style="width: 240px;" name="orgname" id="orgname2" > script: <script type="text/javascript"> $(function(){ var orgname1 ='<%= 阅读全文
posted @ 2018-07-05 22:59 宛如ZZ 阅读(3327) 评论(0) 推荐(0) 编辑
摘要: ${key }页面可取, <input value="${key}"> 或者<%=request.getParameter("key")%> 阅读全文
posted @ 2018-07-05 22:43 宛如ZZ 阅读(433) 评论(0) 推荐(0) 编辑
摘要: 三种格式的InitBinder @InitBinder//https://stackoverflow.com/questions/20616319/the-request-sent-by-the-client-was-syntactically-incorrect-spring-mvc-jdbc-t 阅读全文
posted @ 2018-07-05 22:15 宛如ZZ 阅读(464) 评论(0) 推荐(0) 编辑
摘要: QPST刷到qpst的1.9出厂版本,这个版本的BootLoader是锁定的: bootloader locked.其他版本不会重新锁定,只能relocked,不能恢复最初的locked,这样就不能升级. 一路升级到最新版.目前是3.5.388 稳定版 解锁bootloader(先获取解锁文件) 刷 阅读全文
posted @ 2018-07-04 20:12 宛如ZZ 阅读(3968) 评论(0) 推荐(0) 编辑
摘要: <span ><fmt:formatDate value="${ann.adate }" pattern="yyyy-MM-dd"/></span> 阅读全文
posted @ 2018-07-03 16:57 宛如ZZ 阅读(206) 评论(0) 推荐(0) 编辑
摘要: 1.JQuery 2.JavaScript 阅读全文
posted @ 2018-07-03 15:09 宛如ZZ 阅读(668) 评论(0) 推荐(0) 编辑
摘要: https://www.xda-developers.com/how-to-install-twrp/ 方便复制 adb reboot bootloader fastboot flash recovery twrp.img 阅读全文
posted @ 2018-07-02 22:58 宛如ZZ 阅读(830) 评论(0) 推荐(0) 编辑
摘要: 参考网站: https://forum.xda-developers.com/zuk-z2-pro/how-to/howto-flash-stock-rom-t3435109 http://ask.lenovomobile.com/?q-619599.html 出现download fail:SaH 阅读全文
posted @ 2018-07-02 22:32 宛如ZZ 阅读(1191) 评论(0) 推荐(0) 编辑
摘要: 介绍:JS函数中的代码会被函数被invoke(调用)时执行. 函数被定义时代码不执行, 函数调用时函数内的代码会被执行. 常用的term是 call a function 而不是 invoke a function. function always belong to a object in jav 阅读全文
posted @ 2018-07-02 22:17 宛如ZZ 阅读(767) 评论(0) 推荐(0) 编辑
摘要: 1.在登录界面选择: Database改成xxx.xxx.xxx.xxx/ORCL,如果数据库不是默认的ORCL,那么就改成相应的数据库名. 2.如果失败: 修改ORACLE安装目录下的\product\11.2.0\dbhome_1\NETWORK\ADMIN\下的sqlnet.ora, 将SQL 阅读全文
posted @ 2018-06-29 22:17 宛如ZZ 阅读(394) 评论(0) 推荐(0) 编辑
摘要: 一般红色叹号是build path出错. 除了检查出错的library外,还要注意Order an Export选项中未勾选的Library. 之前导入项目后,没有勾选JRE和Maven Dependencies 阅读全文
posted @ 2018-06-29 20:03 宛如ZZ 阅读(199) 评论(0) 推荐(0) 编辑
摘要: SELECT e.DEPTNO,COUNT(e.EMPNO) FROM emp e WHERE e.DEPTNO=10 GROUP BY e.DEPTNO 阅读全文
posted @ 2018-06-28 21:54 宛如ZZ 阅读(2646) 评论(0) 推荐(0) 编辑
摘要: @Test public void test11(){ Session ss=HibernateUtil.getSession(); //根据员工名称(SCOTT)找到和他所在的部门的其他员工的信息 String hql=" select e from Emp e inner join e.dept 阅读全文
posted @ 2018-06-28 14:07 宛如ZZ 阅读(3594) 评论(0) 推荐(0) 编辑
摘要: @Test public void test9(){ //根据部门编号进行分组,再根据每个部门总工资>5000 Session ss=HibernateUtil.getSession(); String hql="from Emp"; //实现分页需要当前页面currentPageIndex ... 阅读全文
posted @ 2018-06-28 14:02 宛如ZZ 阅读(103) 评论(0) 推荐(0) 编辑
摘要: //需要保证Emp和EmpProperties中的setter和getter以及属性以及 参数占位符(:eName) 的一致//动态查询 @Test public void test4(){ EmpProperties ep=new EmpProperties(); //set query conditions ep.seteNam... 阅读全文
posted @ 2018-06-28 11:27 宛如ZZ 阅读(407) 评论(0) 推荐(0) 编辑
摘要: oracle中的伪列默认第一行是1,所以可以选择<=rownum的方法选取,但是>是无法选取的.这时候需要固化伪列. 固化前可以这样查询:select * from 表名 where rownum<5. 要查询>5的话,需要这样固化: select * from (select rownu r,em 阅读全文
posted @ 2018-06-28 09:13 宛如ZZ 阅读(365) 评论(0) 推荐(0) 编辑
摘要: <!-- 消除:Disabling contextual LOB creation as createClob() method threw error : java.lang.reflect.InvocationTargetException --> <property name="hiberna 阅读全文
posted @ 2018-06-27 23:01 宛如ZZ 阅读(689) 评论(0) 推荐(0) 编辑
摘要: 一对多需要在一的类配置多的类的set泛型集合. 多的一端需要添加一的类作为属性,其和数据库对应的是对应表的主键. 一个购物车有多个商品,购物车有个cart_id作为主键,商品除了自己的items_id作为主键外,还有一个cart_id作为外键. 需要在Cart类中声明一个Set<Item> item 阅读全文
posted @ 2018-06-27 21:11 宛如ZZ 阅读(854) 评论(0) 推荐(0) 编辑
摘要: Do you feel like you're about to drown The wave is rushing over you throw you onto now The wave is rushing over you throw you onto now I remember thin 阅读全文
posted @ 2018-06-27 20:49 宛如ZZ 阅读(250) 评论(0) 推荐(0) 编辑