2019年7月13日

摘要: 本文介绍在单机上通过docker部署zookeeper集群和kafka集群的可操作方案。 0、准备工作 创建zk目录,在该目录下创建生成zookeeper集群和kafka集群的yml文件,以及用于在该目录下挂载zookeeper和kafka的主要目录。 1、创建docker网络,用于zookeepe 阅读全文
posted @ 2019-07-13 23:00 iPersia 阅读(878) 评论(0) 推荐(0) 编辑

2019年6月26日

摘要: 零、背景介绍 在学习ASP.NET CORE开发的过程中,身份认证是必须考虑的一项必要的组件。ASP.NET CORE Identity是由微软官方开发的一整套身份认证组件,兼具完整性和自由度。Docker作为目前虚拟化的主流解决方案,可以很快捷地实现应用的打包和部署。Nginx作为反向代理,结合D 阅读全文
posted @ 2019-06-26 17:13 iPersia 阅读(638) 评论(1) 推荐(0) 编辑

2018年3月15日

摘要: 0、准备工作 0.1、在App Center中安装Entware-ng 0.2、以admin用户登录SSH到NAS 0.3、申请SSL证书,可以找免费的申请一个 0.4、公网IP和域名,这个要和SSL配合起来 1、首先通过Entware-ng安装nginx 2、修改配置 ngix的配置文件在/opt 阅读全文
posted @ 2018-03-15 15:48 iPersia 阅读(4022) 评论(0) 推荐(0) 编辑

2016年9月13日

摘要: 2016-11-04 下载 最新更新 1、优化帖子中回文内容的显示,采用相比正文较小的字体,以及置灰处理,突出正文。 2、可配置是否隐藏帖子中的IP和修改信息,并添加到设置中心,隐藏后的界面内容更为简洁。 3、添加浏览历史记录,已访问的链接将被着色。 2016-10-31 最新更新 1、加入板块查询 阅读全文
posted @ 2016-09-13 22:09 iPersia 阅读(820) 评论(3) 推荐(0) 编辑

2014年3月6日

摘要: Kinds of methods Constructors Type constructors Overload operators Type conversions (forimplicitandexplicitcasting) Extension methods Partial methods. 1.Instance Constructors and Classes (Reference Types) Constructor methods are always called.ctor(forconstructor) in a method definitionmet... 阅读全文
posted @ 2014-03-06 09:23 iPersia 阅读(400) 评论(0) 推荐(0) 编辑

2014年3月3日

摘要: 部分CIL 操作码操作码 作用add, sub, mul, div, rem 用于两个数加减乘除求模add, or, not, xor 用于在两个值上进行二进制操作ceq, cgt, clt用不同的方法比较两个在栈上的值,ceq:是否相等;cgt:是否大约;clt:是否小于box, unbox 在引用类型和值类型之间转换ret 退出方法和返回一个值beq, bgt, ble, blt, switch 控制方法中的条件分支,beg:如果相等就中止到代码标签;bgt:如果大于就中止到代码标签; ble:如果小于等于就中止到代码标签;blt:如果小于就中止到代码标签; 所有的分支控制操作码都需要给出 阅读全文
posted @ 2014-03-03 16:02 iPersia 阅读(496) 评论(0) 推荐(0) 编辑
摘要: 1. Constants Aconstantis a symbol that has a never-changing value.When defining a constant symbol,its value must be determinable at compile time. The compiler then saves the constant’s valuein the assembly’s metadata. This means that you can define a constant only for types thatyour compiler consid. 阅读全文
posted @ 2014-03-03 15:12 iPersia 阅读(171) 评论(0) 推荐(0) 编辑
摘要: 1. Different Kinds of Type MembersA type can define zero or more of the following kinds of members: Constants A constant is a symbol that identifies a never-changing data value Fields A field represents a read-only or read/write data value Instance constructors An instance constructor is a s... 阅读全文
posted @ 2014-03-03 11:09 iPersia 阅读(165) 评论(0) 推荐(0) 编辑
摘要: 1.Primitive Types Any data types thecompiler directly supportsare calledprimitive types. Primitive types map directly to typesexisting in the Framework Class Library (FCL). For the types thatare compliant with the Common Language Specification (CLS), other languages will offersimilar primitive ty... 阅读全文
posted @ 2014-03-03 11:08 iPersia 阅读(426) 评论(0) 推荐(0) 编辑
摘要: 1. System.Object The runtime requires every type to ultimately be derived from theSystem.Objecttype. Because all types are ultimately derived from System.Object, you are guaranteed that everyobject of every type has a minimum set of methods. Specifically, the System.Object classoffers thepublicins.. 阅读全文
posted @ 2014-03-03 11:05 iPersia 阅读(303) 评论(0) 推荐(0) 编辑

导航