上一页 1 ··· 18 19 20 21 22 23 24 25 26 ··· 70 下一页
摘要: 1 物理cpu 插槽里面实际插入的cpu的个数。 通过不重复的physical id可以获取实际的物理cpu的个数。 2 逻辑cpu cat /proc/info processor 1 processor 2 processor 3 ...... 这些是逻辑cpu。 3 逻辑cpu和物理cpu的对 阅读全文
posted @ 2018-09-11 13:52 PhoenixTree(梧桐树) 阅读(515) 评论(0) 推荐(0)
摘要: 1 git reset commit-id 直接回到某次提交,该次commit-id之后的提交都会被删除。 --hard,将index和本地都恢复到指定的commit版本。 2 git revert commit-id 使用一次新的提交来回滚到commit-id,本commit-id之前和之后的历史 阅读全文
posted @ 2018-09-06 19:23 PhoenixTree(梧桐树) 阅读(181) 评论(0) 推荐(0)
摘要: Windows Registry Editor Version 5.00 [HKEY_CLASSES_ROOT\Directory\shell\OpenCmdHere]@="Open cmd here""Icon"="cmd.exe" [HKEY_CLASSES_ROOT\Directory\she 阅读全文
posted @ 2018-09-04 15:39 PhoenixTree(梧桐树) 阅读(627) 评论(0) 推荐(0)
摘要: 1 bl解锁 Critical partition flashing is not allowed就是因为没有bl解锁。 注册小米账号并且关联手机。 下载bl解锁工具 http://www.miui.com/unlock/index.html 2 线刷教程 http://www.miui.com/t 阅读全文
posted @ 2018-09-03 21:10 PhoenixTree(梧桐树) 阅读(3082) 评论(0) 推荐(0)
摘要: 1 为什么要执行explain,什么时候执行 explain的目的是将mongo的黑盒操作白盒化。 比如查询很慢的时候想知道原因。 2 explain的三种模式 2.1 queryPlanner 不会真正的执行查询,只是分析查询,选出winning plan。 2.2 executionStats 阅读全文
posted @ 2018-09-01 23:19 PhoenixTree(梧桐树) 阅读(10057) 评论(0) 推荐(2)
摘要: windows下: alt + insert,然后选择要生成的成员。 mac下: command + N 阅读全文
posted @ 2018-08-30 20:28 PhoenixTree(梧桐树) 阅读(437) 评论(0) 推荐(0)
摘要: 1 filter 1.1 用途 对多个配置文件进行选择。 1.2 选择的依据 1.3 使用的方式 第一,在<resource>标签下面加<filtering>标签,并且<filtering>标签的值设置为true; 第二,添加<filters>标签,添加<filter>,并且值中使用env变量 第三 阅读全文
posted @ 2018-08-28 19:19 PhoenixTree(梧桐树) 阅读(546) 评论(0) 推荐(0)
摘要: 1 入口是web.xml tomcat加载war的时候会去读该入库文件。 2 web.xml中spring mvc的配置 定义servlet到servlet-mapping之间的映射,org.springframework.web.servlet.DispatcherServlet 定义servle 阅读全文
posted @ 2018-08-28 14:45 PhoenixTree(梧桐树) 阅读(845) 评论(0) 推荐(0)
摘要: 1 自动生成代码 配置数据库 自动生成三个文件: 第一,java bean文件; 第二,java bean对应的dao文件,但是这里的dao只是一个接口; 第三,mybatis需要的Mapper文件; 2 利用自动生成的代码访问数据库 2.1 org.mybatis.spring.mapper.Ma 阅读全文
posted @ 2018-08-28 10:10 PhoenixTree(梧桐树) 阅读(330) 评论(0) 推荐(0)
摘要: 1 该注解的用途 这个注解表示这个类可以作为spring ioc容器bean的来源,其本质上它是对xml文件中创建bean的一种替换。有了这个注释,Spring framework就能在需要的时候构造出bean出来,然后完成bean的注入。 2 一般使用方式 3 使用@Configuration创建 阅读全文
posted @ 2018-08-27 12:31 PhoenixTree(梧桐树) 阅读(183) 评论(0) 推荐(0)
上一页 1 ··· 18 19 20 21 22 23 24 25 26 ··· 70 下一页