博客
分类
标签
归档
随笔
日报
博客
分类
标签
归档
随笔
日报
excel OFFSET函数
OFFSET(reference, rows, cols, [height], [width])excel的索引从1开始前三个参数指定左上角,height和width指定这个区域的大小(height:行数,width:列数)ROW()获取当前行索引 如下表示求区域(A3单元格为区域左上角,区域高是ROW()-4行,宽是1列)的均方差(=SQRT(VAR(…))) =STDEV(OF...
2022-10-16
tool
windows
tool
windows
Read More
linux函数运行时间监控 oprofile 用opref替代opcontrol
oprofile的Q&A:https://oprofile.sourceforge.io/faq/ 先operfSYNOPSIS operf [ options ] [ --system-wide | --pid <pid> | [ command [ args ] ] ] One (and only one) of either command , --pid ...
2022-10-14
debug
tool
linux
tool
linux
debug
Read More
linux监控函数调用时间 gprof gcov
https://blog.csdn.net/yuyin86/article/details/6671472 gprof[每个函数的调用时间] 仅单线程、用户态gprof的基本用法:1. 使用 -pg 选项编译和链接你的应用程序 ,在gcc编译程序的时候,加上-pg选项,如果是大项目,就在makefile里面修改编译选项,-pg放在那里都行。例如: gcc -pg -o test tes...
2022-09-30
debug
tool
linux
tool
linux
debug
Read More
linux查看cache大小
getconf显示的大小数据单位为byte所有CACHE相关的参数 getconf -a | grep CACHE cache line大小 getconf -a | grep CACHE_LINESIZE Intel的一般是64字节: LEVEL1_ICACHE_LINESIZE 64 LEVEL1_DCACHE_LINESIZE 64 ...
2022-09-30
debug
tool
linux
tool
linux
debug
Read More
conda环境切换
装好miniconda之后有的conda命令(miniconda:相比起anaconda不会自带几千个包) conda activate <env_name> 比如conda activate basebase外的其他环境的存储目录在<miniconda的安装目录>/envs下(比如/home/yuanzhiqiu/miniconda3)
2022-09-14
tool
tool
Read More
powershell美化 powershell字体 powershell颜色
设置颜色 安装colortoolscoop install colortool 预览主题 列出哪些主题 colortool -s 预览主题,比如OneHalfDark.itermcolors colortool OneHalfDark.itermcolors 设置主题(将方案同时应用于当前控制台和默认控制台)colortool -b OneHalfDark.itermco...
2022-09-02
tool
windows
tool
windows
Read More
linux启动docker服务
安装和启动这个写很好:Install Docker Engine on Ubuntu 在上述教程install之后docker run hello-word之前可能需要启动docker后台服务:sudo service docker starthow would you know that the service name was docker: You can see them using...
2022-09-01
tool
linux
tool
linux
Read More
bash获取命令退出代码
echo $?即输出上一条执行命令的退出码另外if command; then fi也是对command的退出码进行判断,如果为0则条件成立
2022-09-01
tool
linux
tool
linux
Read More
bash超时kill
timeout 3 sleep 30 当 sleep 执行 3 秒的时候就会终止 包裹程序未超时,timeout传递退出代码(--preserve-status)(亲测似乎不加此选项也会保护退出代码) timeout --preserve-status 1m ping -c 5 Nostromo.local echo $? # 如果timeout包裹的程序超时,则返回值为124,否则为未超...
2022-09-01
tool
linux
tool
linux
Read More
bash遍历数组
无下标控制,类似range-for array=(hello word) for element in $array do echo $element done 下标:`$
2022-09-01
tool
linux
tool
linux
Read More
Previous
4 / 7
Next
粘贴文本
全选文本
剪切文本
复制文本
站内搜索
必应搜索
新标签页打开
复制链接地址
复制图片
谷歌识图
常见问题
示例博客
加入社区
本站源码
主题源码
暗黑模式
打印页面
阅读模式