摘要: 切换到独立显卡 添加如下变量即可 __NV_PRIME_RENDER_OFFLOAD=1 __GLX_VENDOR_LIBRARY_NAME=nvidia glmark2 阅读全文
posted @ 2025-07-10 13:50 EJW 阅读(38) 评论(0) 推荐(0)
摘要: ![image](https://img2024.cnblogs.com/blog/1032481/202506/1032481-20250612203625460-1806519191.png) 阅读全文
posted @ 2025-06-12 21:24 EJW 阅读(11) 评论(0) 推荐(0)
摘要: 阅读全文
posted @ 2025-06-12 15:03 EJW 阅读(11) 评论(0) 推荐(0)
摘要: https://echarts.apache.org/examples/zh/index.html#chart-type-line javascript: $axure.utils.loadJS('https://cdn.jsdelivr.net/npm/echarts/dist/echarts.m 阅读全文
posted @ 2025-05-12 16:47 EJW 阅读(17) 评论(0) 推荐(0)
摘要: 今天突然发现自己装的Ubuntu没有启动项,也就是没有那个EFI分区,人都麻了!原因是先把装Ubuntu的固态拿了出来,再装的win11,结果win11可以用了,Ubuntu进不去了! 接下来记录下修复的方法: 首先准备一个带有Ubuntu安装镜像的U盘 进入U盘中的Ubuntu,点击try Ubu 阅读全文
posted @ 2024-12-17 13:57 EJW 阅读(266) 评论(0) 推荐(0)
摘要: c++ #include <iostream> #include <vector> class Array { private: std::vector<std::vector<int>> matrix; int size; public: // 构造函数 Array(int n) : size(n 阅读全文
posted @ 2024-10-28 15:04 EJW 阅读(12) 评论(0) 推荐(0)
摘要: import carla host = '127.0.0.1' port = 2000 client = carla.Client(host, port) client.set_timeout(2.0) maps = client.get_available_maps() print("{} {}" 阅读全文
posted @ 2024-10-12 14:12 EJW 阅读(36) 评论(0) 推荐(0)
摘要: 1、安装docker和nvidia-docker2 安装Docker,直接执行官方安装脚本安装: curl -fsSL https://get.docker.com | bash -s docker --mirror Aliyun 编辑/etc/docker/daemon.json配置 { "run 阅读全文
posted @ 2024-09-12 15:26 EJW 阅读(577) 评论(0) 推荐(0)
摘要: 一、安装 sudo apt install proxychains4 二、配置 vim /etc/proxychains4.conf [ProxyList] # add proxy here ... # meanwile # defaults set to "tor" #socks4 127.0.0 阅读全文
posted @ 2024-08-23 09:59 EJW 阅读(943) 评论(0) 推荐(0)
摘要: 一、添加环境变量 vim ~/.bashrc #添加这两行 export http_proxy="http://proxy.example.com:port" export https_proxy="http://proxy.example.com:port" #注意修改为你的代理配置,一般http 阅读全文
posted @ 2024-08-23 09:18 EJW 阅读(620) 评论(0) 推荐(0)