
屁话
chzenable
这个作者很懒,什么都没留下…
展开
-
快时代的知识分享
快速发展的时代中 如果人被工作已经耗尽了精力 便没有时间对自己进行总结提升如果社会被工作耗尽了精力 便没有时间沉淀知识 便不能帮助后来者成长每个人都一定有自己所了解的一块领域 如果把这些领域拼图拼起来 是否可以帮助社会发展 是否可以为人类知识共同体做出努力 帮助弱者发展也帮助自己成长知识虽然有交叉 但是还是可以按照主体进行创建划分例如现在的镜头品牌 拥有的内部知识而言 涉及光学设计、规模制造、产品管理、质量检测等众多领域一级: 商品二级: 涉及领域三级: 具体内容镜头品牌设计.原创 2022-04-09 11:49:10 · 231 阅读 · 0 评论 -
linux 综合性能测试工具
sysbench原创 2021-03-25 17:52:25 · 192 阅读 · 0 评论 -
shell实现二分查找(鸟用没有不如直接awk输出
hmi_path=$1hmi_file=$(ls -t1 $1/@CACHE_HMI_*.hmi | head -n 1)lines=`echo $(wc -l $hmi_file) | cut -d" " -f1`echo "Total file lines:$lines"cut_timestamp=$2remain_second=30# The actually case timestamp in microsecondend_timestamp=$cut_timestampif .原创 2021-02-01 21:32:21 · 352 阅读 · 0 评论 -
opencv的垃圾api
cv::gpu::resize(gpu_img_undistorted, gpu_img_undistorted, cv::Size(1920, 1080)); auto resize_image = cv::gpu::GpuMat(1, gpu_img_undistorted.rows * gpu_img_undistorted.cols, CV_8UC3, gpu_img_undistorted.data); r...原创 2020-11-12 21:46:41 · 521 阅读 · 0 评论 -
linux多种方式查看cpu个数(详细)
搬运一下国外的帖子吧,中文搜索千篇一律是看/proc/cpuinfo,因为系统是英语写的,所以他们自然会对这些命令更熟悉Check how many CPUs are there in Linux systemAuthor:Vivek GiteLast updated:October 15, 20180commentsIntroduction: One can obtain the number of CPUs or cores in Linux from the command lin...原创 2020-11-03 15:39:50 · 740 阅读 · 0 评论 -
install deepspeed with sparse attention dep
docker pull ubuntu:18.04# run the image to create a container based on itdocker run -it ubuntu:18.04 bash# update the apt software source index 19 apt update 20 apt install git 8 apt install clang-10 5 apt install llvm-9-dev 6 ap.原创 2020-10-22 17:27:31 · 754 阅读 · 0 评论 -
双系统后遗症之部分空间不可用
Disk /dev/sda: 477 GiB, 512110190592 bytes, 1000215216 sectorsUnits: sectors of 1 * 512 = 512 bytesSector size (logical/physical): 512 bytes / 512 bytesI/O size (minimum/optimal): 512 bytes / 512 bytesDisklabel type: gptDisk identifier: A4202645...原创 2021-05-11 21:36:48 · 1039 阅读 · 0 评论 -
linux同时输出到控制台和后台日志
用管道操作可以实现,(可按需求取消python的输出缓冲区 -u ,同时允许后台运行python -u ***.py 2>&1 | tee -a output.log &原创 2020-06-24 19:37:10 · 5164 阅读 · 0 评论 -
git大坑
没有文件夹追踪机制 不区分版本文件大小写 文件权限管理 644 755等原创 2020-03-03 15:54:21 · 182 阅读 · 0 评论 -
系统内核踩坑
系统内核主要包含基本的部分有根目录启动boot部分 指向内核 linux-image-version 系统模块部分/lib/modules 包含linux的基本模块 头文件目录 /usr/src包含linux的系统头文件 linux-headers-version(用于编译驱动等 系统源码文件 /usr/src 包含系统的原始src文件,加上header可编译,编译完成后可以安装,替换...原创 2020-03-03 15:09:34 · 198 阅读 · 0 评论 -
apt错误无法定位到包
具体错误信息是显示某个包被当前的包依赖,但是无法从软件源中定位到这个包具体原因是多次修改/etc/source.list以及采用GUI一起修改,最后导致包混乱,出现无法定位到包的错误解决方法:/var/lib/apt/lists #软件依赖的索引目录位置手动将package的目录(一般由软件源模组下的Package.gz提供)换出来(提前备份)或者直接清空后进行apt upda...原创 2020-02-29 20:01:00 · 4733 阅读 · 0 评论 -
操作系统的工作区(workspace)
mark一下ubuntu的官方文档官方文档写的很详细,激活工作区之后快捷键设置。16.04LTS版本手册顺便吐槽bd的垃圾搜索用惯了G家 完全回不来B家ubuntu的工作区的确要比windows的做的更好一点 仅次于macMac感觉mac的切换由于可以向左向右试滑,可以看一部分如果发现不是这个工作区就赶紧划到另一个,动画流畅体验不错,这样的切换能够让用户记住自己的工作...原创 2019-11-08 14:19:36 · 1938 阅读 · 0 评论