背景说明 我们在业务上容器的过程中遇到了如下问题: 1. 以deployment部署的应用pod,由于id经常变更,服务重启,监控变得难以维护。这里只是以监控为切入点,事实上,还有诸多应用需要与id强绑定。 2. statefulset可以解决上面的问题,但是引入一个新的问题就是statefulse ...
分类:
其他好文 时间:
2020-05-20 18:32:05
阅读次数:
51
在游戏开发中,我们经常需要用到类似烟花的效果。在Unity3d中,实现烟花效果的方法不止一种,我选用了Unity3d中新添加的粒子特效工具 visual effect graph来进行实现。 实现过程分为三步:首先添加火箭效果,然后加一些爆炸效果,最后调整一下各种参数。 1.添加火箭 首先在场景中新 ...
分类:
编程语言 时间:
2020-05-17 20:37:17
阅读次数:
407
PostProcessing是unity内置的后期效果增强组件,可以在极短的时间内得到各种常用特效的效果,对于编写Shader的苦手(比如在下)来说,确实是个天大的福音了。第一次接触PostProcessing与实际开发中,效果确实惊艳到了,之后PostProcessing就成了游戏开发的必备组件= ...
分类:
编程语言 时间:
2020-05-14 13:15:42
阅读次数:
70
<el-table :data="weekList" stripe tooltip-effect="dark" class="table"> <el-table-column v-for="(item, index) in tableOrderItem" :key="index" :width="i ...
分类:
其他好文 时间:
2020-05-08 19:53:35
阅读次数:
152
---apiVersion:policy/v1beta1kind:PodSecurityPolicymetadata:name:psp.flannel.unprivilegedannotations:seccomp.security.alpha.kubernetes.io/allowedProfileNames:docker/defaultseccomp.security.alpha.kubern
分类:
其他好文 时间:
2020-05-07 09:30:38
阅读次数:
67
7.6 Recommended Template Parameter Declarations 7.6 推荐的模板参数声明方法 As we learned in the previous sections, we have very different ways to declare paramet ...
分类:
其他好文 时间:
2020-05-03 21:56:04
阅读次数:
80
一 文献题目: Genome wide DNA methylation profiles of low and high grade adenoma reveals potential biomarkers for early detection of colorectal carcinoma 不想 ...
分类:
其他好文 时间:
2020-05-03 20:40:45
阅读次数:
81
前言 3D 场景中的面不只有水平面这一个,空间是由无数个面组成的,所以我们有可能会在任意一个面上放置物体,而空间中的面如何确定呢?我们知道,空间中的面可以由一个点和一条法线组成。这个 Demo 左侧为面板,从面板中拖动物体到右侧的 3D 场景中,当然,我鼠标拖动到的位置就是物体放置的点,但是这次我们 ...
分类:
Web程序 时间:
2020-05-03 10:34:47
阅读次数:
75
1. 代码实现 1 UIBlurEffect *blur = [UIBlurEffect effectWithStyle:UIBlurEffectStyleLight]; 2 UIVisualEffectView *effectview = [[UIVisualEffectView alloc] i ...
分类:
移动开发 时间:
2020-04-30 17:21:45
阅读次数:
826
文件-->首选项-->设置-->在搜索栏中搜索:explorer.autoReveal; 去掉勾选即可。 ...
分类:
其他好文 时间:
2020-04-30 09:58:08
阅读次数:
136