unity3d给某个对象添加材质 public void SetMaterial() { GameObject indexGameObject=list_topIfcSlabs[5]; Renderer[] renders = indexGameObject.GetComponentsInChild ...
分类:
编程语言 时间:
2021-06-18 20:10:10
阅读次数:
0
一、问题描述 容器中修改了/etc/hosts文件。手动测试已经生效。但是容器中的项目却还是访问的公网。 二、问题解决 修改dockerfile。在dockerfile中添加/etc/nsswitch.conf文件 RUN [ ! -e /etc/nsswitch.conf ] && echo 'h ...
分类:
其他好文 时间:
2021-06-18 20:07:20
阅读次数:
0
from turtle import * def square(size=50, rgb = 'orange'): pencolor(rgb) for i in range(4): fd(size) left(90) def main(): setup(800, 600) speed(0) for ...
分类:
其他好文 时间:
2021-06-18 20:05:27
阅读次数:
0
一、运行架构 Jenkins的kubernetes plugin在执行构建时会在kubernetes集群中自动创建一个Pod,并在Pod内部创建一个名为jnlp的容器,该容器会连接Jenkins并运行Agent程序,形成一个Jenkins的Master和Slave架构,然后Slave会执行构建脚本进 ...
分类:
其他好文 时间:
2021-06-18 20:01:37
阅读次数:
0
#更新yum软件管理器 yum -y update #安装docker yum install -y docker 2.配置docker 加速器 curl -sSL https://get.daocloud.io/daotools/set_mirror.sh | sh -s http://f1361 ...
分类:
其他好文 时间:
2021-06-18 20:01:26
阅读次数:
0
容器就是个存东西的地方 依赖注入,就是通过构造函数,属性或者set方法传递对象的方式 如果依赖的类太多了,那么通过上面的方式传递对象就很繁琐 那么我们就可以直接传进去一个容器,需要的时候就在容器里面去拿就简单多了 这就是我们的容器类 //简单容器类 class Container { private ...
分类:
Web程序 时间:
2021-06-18 20:00:39
阅读次数:
0
from turtle import *def moveto(x,y): penup() goto(x,y) pendown()def main(): setup(800, 600) speed(0) for radius in range(20, 200, 20): moveto(0, -radi ...
分类:
其他好文 时间:
2021-06-18 20:00:08
阅读次数:
0
DI依赖注入 set方式注入【重点】 依赖注入:set注入 依赖:bean对象的创建依赖于容器 注入:bean对象中的所有属性,由容器来注入 【环境搭建】 1.真实测试对象 2.复杂类型 @Data public class Student { private String name; privat ...
分类:
其他好文 时间:
2021-06-18 19:53:42
阅读次数:
0
Redis Redis 简介 Redis 一个开源的,内存中的数据结构存储系统,它可以用作数据库,缓存和消息中间件。 它支持多种类型的数据结构,如 字符串 string 、散列 hashes 、列表 list 、集合 set 、有序集合 zset 和 范围查询,bitmaps 、hyperloglo ...
分类:
其他好文 时间:
2021-06-18 19:52:49
阅读次数:
0
void twb_xd_std::set_attr( std::vector<NXOpen::NXObject *> objects , string attr_category, string attr_title , string attr_value ) { NXOpen::Session * ...
分类:
其他好文 时间:
2021-06-18 19:37:36
阅读次数:
0