贝塞尔曲线公式
计算公式 二次曲线 三次曲线 https://www.bilibili.com/video/BV16v4y1Q7PD https://juejin.cn/post/7082701281969569829
|
306
|
|
26 字
|
几秒读完
centos 7 更换 yum 源
很多源已经停止服务了 cd /etc/yum.repos.d CentOS-Base.repo # 原来的都加上 enable=0 [base] name=CentOS-$releasever - Base - mirrors.aliyun.com failovermethod=priority baseurl=http://mirrors.ali…
|
247
|
|
60 字
|
3 分钟
centos 7 网络管理
默认为 networkmanager 管理 - 查看服务是否运行 systemctl status NetworkManager - nmcli device status 是否管理了 eth0 等设备, 状态 connected - 查看 /etc/sysconfig/network-scripts/ifcfg-* 是否配置 ONBOOT=yes…
|
200
|
|
28 字
|
几秒读完
.net 断言库
GuardClauses Ardalis.GuardClauses https://www.nuget.org/packages/Ardalis.GuardClauses https://github.com/ardalis/guardclauses Guard.Against.Null → 若输入为 null,则抛出异常 Guard.Agai…
|
242
|
|
85 字
|
3 分钟
pwsh 发送钉钉机器人消息
# 钉钉消息发送 $ErrorActionPreference = 'Stop' # 钉钉消息推送相关 class DingMessage { [string] $secret = "" [string] $ServerUrl = "" [void] send($title, $messa…
|
468
|
|
123 字
|
7 分钟
图标网
https://www.flaticon.com/ https://www.freepik.com/ https://www.svgrepo.com
|
574
|
|
0 字
|
几秒读完
平面向量计算
在三角计算上的含义 由上图可见, 向量 + 的话,就是平等四边行的对角线,转为三角形计算的话,得到就是两个短边相加得到长边 加法 两条短边相加得到长边 减法 长边减短边得到另一侧短边 乘法 长度加长 模长 求长度 数量积 可以求面积 【平面向量的坐标运算】 https://www.bilibili.com/video/BV1A4411X7rV/ 【…
|
657
|
|
151 字
|
1 分钟内
WPF / Avalonia / CSS Matrix 矩阵
学习心得 名称 值 值 X坐标 1 0 Y坐标 0 1 偏移量 0 0 相当于 (0, 0), X (1, 0), Y (0, 1) 三个点决定了一个矩形 通过计算得到新的 X, Y , 然后再通过平移得到最终的坐标 平移 最简单, 修改平移值即可 名称 值 值 X坐标 1 0 Y坐标 0 1 偏移量 横向平移 纵向平移 缩放 在 x 轴与 y 轴…
|
626
|
|
492 字
|
4 分钟
.net 支持插件系统的 类库
https://github.com/natemcmaster/DotNetCorePlugins
|
219
|
|
5 字
|
几秒读完
.net 程序集扫描类 Scrutor
https://github.com/khellang/Scrutor 可扫描 实现了一个装饰器 扫描 var collection = new ServiceCollection(); collection.Scan(scan => scan // 从 ITransientService 接口所在的程序集开始扫描 .FromAssembly…
|
196
|
|
79 字
|
3 分钟