目录介绍 01.创建项目步骤 1.1 项目搭建 1.2 项目功能 02.自定义注解 03.创建Processor 04.compiler配置文件 05.编译jar 06.如何使用 07.编译生成代码 08.部分源码说明 8.1 Process类-process方法 8.2 OnceProxyInfo ...
分类:
其他好文 时间:
2019-02-27 19:06:41
阅读次数:
238
KPCR: CPU控制区(Processor Control Region) 当线程进入0环时, FS:[0]指向KPCR(3环时FS[0]-> TEB)每个CPU都有一个KPCR结构体(一个核一个)KPCR中存储了CPU本身要用的一些重要数据: GDT, IDT以及线程相关的一些信息。在winbb ...
分类:
其他好文 时间:
2019-02-26 15:19:51
阅读次数:
175
Top 10 C++ header file mistakes and how to fix them C++ header files is a rather mundane topic by most standards. Talking about header files is not as ...
分类:
其他好文 时间:
2019-02-25 13:17:52
阅读次数:
174
C#语法: string fs = "@report.xls";//文件路径 FileStream excelPath = File.Open(@fs, FileMode.Open, FileAccess.ReadWrite);//打开Excel HSSFWorkbook excelBook = n ...
分类:
其他好文 时间:
2019-02-22 16:40:06
阅读次数:
812
上下文处理器(context processors)上下文处理器是可以返回一些数据,在全局模板中都可以使用。比如登录后的用户信息,在很多页面中都需要使用,那么我们可以放在上下文处理器中,就没有必要在每个视图函数中都返回这个对象Django中的Context Processor主要是应用于模板,完成页 ...
分类:
其他好文 时间:
2019-02-21 09:35:04
阅读次数:
175
#!/bin/bash#安装邮件rpm -q sendmail if [ $? -ne 0 ];then yum -y install sendmail firpm -q mutt if [ $? -ne 0 ];then yum -y install mutt fisystemctl restar ...
分类:
其他好文 时间:
2019-02-20 13:18:21
阅读次数:
169
instanceWrapper = createBeanInstance(beanName, mbd, args); AbstractAutowireCapableBeanFactory.createBeanInstance protected BeanWrapper createBeanInsta... ...
分类:
其他好文 时间:
2019-02-17 00:37:59
阅读次数:
115
1.安装插件 在File-Setting-Plugins-Browse Repostitories中搜索Lombok Plugin插件安装 安装完成先别急着重启,继续设置,在File-Setting-Build, Execution, Deployment-Compiler-Annotation P ...
分类:
其他好文 时间:
2019-02-16 13:55:17
阅读次数:
171
kubernetes 从一个简单例子开始 参考 《kubernetes 权威指南》一节的 从一个简单例子开始,操作实录。 一、Java Web 应用结构 二、启动MySql服务 1、首先为MySql服务创建一个RC定义文件:mysql-rc.yaml(这里要注意镜像版本最新的mysql需要认证,本例 ...
分类:
Web程序 时间:
2019-02-15 15:11:19
阅读次数:
187
Java版 package com.huanfion.Spark; import com.sun.tools.internal.ws.processor.model.java.JavaParameter; import org.apache.spark.SparkConf; import org.a ...
分类:
其他好文 时间:
2019-02-15 11:55:43
阅读次数:
162