using UnityEngine; using System.Collections; using System.Collections.Generic; public struct SegmentPoint { public Vector3 normal; public Vector3 pos; ...
分类:
编程语言 时间:
2019-12-06 09:16:15
阅读次数:
76
实现效果: 1,添加三个按钮 2,添加两个TextBox控件,利用KeyPress事件来控制不让有其他字母输进来。 3,添加两个Lable标签用来跟随图形移动,位置提前测量出来。 4.添加Timer组件,设置Enabled为True,然后再利用Timer的事件。 using System; usin ...
分类:
其他好文 时间:
2019-12-03 23:26:48
阅读次数:
134
Pytorch报错:cuda runtime error (59) : device side assert triggered at /pytorch/aten/src/THC/generic/THCTensorMath.cu:26 这种问题是网上比较常见的,一般的原因就是Label没有从0开始导 ...
分类:
其他好文 时间:
2019-12-03 21:29:00
阅读次数:
555
观察者模式: 定义了一种一对多的依赖关系,让多个观察者对象同时监听某一个主体对象。这个主体对象在状态发生变化时,会通知所有观察者对象,使他们能够自动更新自己状态。 一、UML结构图 二、示例代码 1 using System; 2 using System.Collections.Generic; ...
分类:
其他好文 时间:
2019-12-02 13:39:31
阅读次数:
83
using System;using System.Collections.Generic;using System.ComponentModel;using System.Data;using System.Drawing;using System.Linq;using System.Text;u ...
using System; using TestDapper.Common; using Dapper; using System.Data.SqlClient; using System.Collections.Generic; using System.Linq; using System.Re... ...
分类:
移动开发 时间:
2019-11-28 19:30:36
阅读次数:
226
Android 调试桥 (adb) 是一种功能多样的命令行工具,可让您与设备进行通信。adb 命令便于执行各种设备操作(例如安装和调试应用),并提供对 Unix shell(可用来在设备上运行各种命令)的访问权限。它是一种客户端-服务器程序,包括以下三个组件: 客户端:用于发送命令。客户端在开发计算 ...
分类:
数据库 时间:
2019-11-28 19:10:58
阅读次数:
102
using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.UI; using System.Web.UI.WebControls; public part... ...
分类:
Web程序 时间:
2019-11-28 11:48:24
阅读次数:
81
添加ssh服务构建新镜像 docker commit 方式 1:docker commit构建自定义镜像 一般不推荐使用这种方式构建新镜像 ...
分类:
其他好文 时间:
2019-11-27 23:51:47
阅读次数:
187
所有文章 https://www.cnblogs.com/lay2017/p/11908715.html 正文 openfeign是一种声明式的webservice客户端调用框架。你只需要声明接口和一些简单的注解,就能像使用普通的Bean一样调用远程服务。本文将了解一下openfeign自动配置相关 ...
分类:
其他好文 时间:
2019-11-27 23:26:27
阅读次数:
110