会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
Thomas's Blog
吾尝终日而思矣
博客园
首页
新随笔
联系
订阅
管理
2023年10月18日
Unity 常规用法
摘要: 刚体 Rigidbody 控制游戏对象的物理行为 // 获取刚体属性 GetComponent<Rigidbody>(); 聚焦 双击、F键 窗口控制 ALT+鼠标左键 鼠标中键 鼠标右键 滑轮 点击方向键移动物体 E键调整角度 场景视野 透视视野、平行视野 世界坐标原点 小球设置0/0/0坐标 U
阅读全文
posted @ 2023-10-18 18:18 thomas_blog
阅读(61)
评论(0)
推荐(0)
2023年8月26日
BMP图像格式
摘要: **BMP图像格式有以下几种通道图像类型** 1位图像:每个像素使用1比特表示,图像只有黑白两种颜色(通常是黑色和白色)。每个像素的颜色信息存储在位图的颜色表中。 4位图像:每个像素使用4比特表示,图像可以有16种颜色。每个像素的颜色信息存储在位图的颜色表中。 8位图像:每个像素使用8比特表示,图像
阅读全文
posted @ 2023-08-26 22:11 thomas_blog
阅读(449)
评论(0)
推荐(0)
2023年8月5日
Spring Boot问题总结
摘要: **访问无响应** 指定包 ``` @ComponentScan(basePackages = "com.example") ``` **浏览器访问跨域问题** 将所有请求全部放行 而且每个请求都要加 ``` @CrossOrigin(origins = "*") ``` **get返回html**
阅读全文
posted @ 2023-08-05 22:20 thomas_blog
阅读(13)
评论(0)
推荐(0)
2023年4月20日
std::any
摘要: #include <iostream> #include <any> void read1(std::any &data) { data = std::move("no"); } void read2(std::any &data) { data = std::move(std::string("y
阅读全文
posted @ 2023-04-20 17:50 thomas_blog
阅读(71)
评论(0)
推荐(0)
2023年3月24日
firefly qt运行错误 Cannot find EGLConfig, returning null config
摘要: 报如下错误 arm_release_ver of this libmali is 'g6p0-01eac0', rk_so_ver is '7'. Cannot find EGLConfig, returning null config Unable to find an X11 visual wh
阅读全文
posted @ 2023-03-24 18:03 thomas_blog
阅读(3576)
评论(2)
推荐(0)
2023年3月21日
DockerHub 镜像仓库远程推送
摘要: DockerHub docker commit -a "zxc" -m "mytest" 22924b70665e test:18.04 将容器 22924b70665e 保存为新的镜像,并添加提交人信息和说明信息 docker tag test:19.04 thomashub/test:18.04
阅读全文
posted @ 2023-03-21 17:38 thomas_blog
阅读(42)
评论(0)
推荐(0)
2023年3月16日
bmp图生成
摘要: init int width = 256; int height = 256; std::uint16_t count = 8; _bmpHead.fileInfo.type[0] = 'B'; _bmpHead.fileInfo.type[1] = 'M'; _bmpHead.fileInfo.r
阅读全文
posted @ 2023-03-16 10:50 thomas_blog
阅读(48)
评论(0)
推荐(0)
2023年3月13日
libjpeg存文件
摘要: #include <cstdio> #include <cstdlib> #include "jpeglib.h" int _imageWidth = 320; // 生成的图像宽度 int _imageHeight = 240; // 生成的图像高度 int _inputComponents =
阅读全文
posted @ 2023-03-13 17:39 thomas_blog
阅读(40)
评论(0)
推荐(0)
2023年3月11日
bmp图片格式
摘要: 总共54字节 /** * bmp文件信息 */ #pragma pack(1) typedef struct { char type[2]; // 文件类型 unsigned int size; // 文件大小 unsigned short reserved1; // 保留, 必须为零 unsign
阅读全文
posted @ 2023-03-11 11:30 thomas_blog
阅读(42)
评论(0)
推荐(0)
2023年3月3日
Libuv IO 操作
摘要: 架构图 源码 https://github.com/libuv/libuv.git 文档 http://docs.libuv.org/en/v1.x/ 编译 sudo apt-get install automake libtool sh autogen.sh ./configure -prefix
阅读全文
posted @ 2023-03-03 11:00 thomas_blog
阅读(38)
评论(0)
推荐(0)
下一页
公告