上一页 1 2 3 4 5 6 7 8 ··· 19 下一页
摘要: 无须独占显卡的virtio方式有2种: qemu+各种驱动 docker/podman(distrobox) + nvidia/vulkan qemu教程: https://tm23forest.com/contents/how-to-enable-virtio-gpu-venus-on-qemu- 阅读全文
posted @ 2025-01-25 11:36 Nolca 阅读(524) 评论(0) 推荐(0)
摘要: 目前一台Linux主机分多人控制的方法如下: wayVNC + DE桌面支持headless或嵌套会话(sway/niri……) RDP远程桌面,NVIDIA GPU 多用户同时登录会较不稳定,Gnome 47以上的屏幕共享才支持持久化会话(在重连时仍然保持会话,而不是像gnome 46一样,直接注 阅读全文
posted @ 2025-01-24 09:29 Nolca 阅读(585) 评论(0) 推荐(0)
摘要: 宏 ifndef + define + endif 用#pragma once即可! 如果__XXX_H__未定义,才会执行#define到#endif段的代码,防止重复定义。 #ifndef __MODEL_H__ // 如果 __MODEL_H__ 未定义 #define __MODEL_H__ 阅读全文
posted @ 2025-01-17 16:34 Nolca 阅读(15) 评论(0) 推荐(0)
摘要: https://ilkinulas.github.io/development/unity/2016/04/30/cube-mesh-in-unity3d.html https://www.youtube.com/watch?v=bnmr_At2R0s 给定一个点,围绕点生成一个正方体。 规定顶点顺 阅读全文
posted @ 2025-01-14 22:16 Nolca 阅读(21) 评论(0) 推荐(0)
摘要: 现在记事本里粘贴,然后再在wps表格里粘贴(识别为纯文本才能多行粘贴) 然后在gpt里翻译,保留换行符 粘贴回wps,保存时不要有双引号 阅读全文
posted @ 2025-01-12 22:03 Nolca 阅读(14) 评论(0) 推荐(0)
摘要: git秉承“代码安全为主”,每一次commit都会硬性做备份。 之前我使用自己的脚本 #!/bin/bash #set -x usage() { echo "Usage: $0 [path] [lines]" echo " path: local git repository" echo " lin 阅读全文
posted @ 2025-01-12 17:45 Nolca 阅读(364) 评论(0) 推荐(0)
摘要: #!/bin/env python import regex as re import argparse import os SAVE = "/media/n/data/SteamLibrary/steamapps/compatdata/2379780/pfx/dosdevices/c:/users 阅读全文
posted @ 2025-01-11 12:22 Nolca 阅读(68) 评论(0) 推荐(0)
摘要: kimpannel gnome-shell安装此拓展即可,不用看下面废话 https://extensions.gnome.org/extension/261/kimpanel/ 症状 blender(wayland支持fcitx5输入法,但x11下不行) ue for linux (5.3) re 阅读全文
posted @ 2025-01-06 08:33 Nolca 阅读(397) 评论(0) 推荐(0)
摘要: 症状 > sudo systemctl start mihayo.service Warning: The unit file, source configuration file or drop-ins of mihayo.service changed on disk. Run 'systemc 阅读全文
posted @ 2024-12-31 09:30 Nolca 阅读(148) 评论(0) 推荐(0)
摘要: 解:分享名不能与文件夹名一致(大小写不敏感),如 分享名为Music,在samba网络上为\\localhost\Music,在linux本机上是/home/music Can read but cannot write to Samba share Viewed 84k times Questio 阅读全文
posted @ 2024-12-01 17:47 Nolca 阅读(32) 评论(0) 推荐(0)
上一页 1 2 3 4 5 6 7 8 ··· 19 下一页