摘要:
```shell $ vim ~/.bashrc function repeat() { number=$1 shift echo $@ for n in $(seq $number); do $@ done } $ source ~/.bashrc $ repeat 5 ``` 阅读全文
摘要:
intel vtune 介绍 https://software.intel.com/en us/vtune intel vtune 安装包下载地址 https://software.intel.com/en us/vtune/choose download intel® VTune™ Amplifi 阅读全文
摘要:
本文主要介绍通过C语言来获得浮点数在内存中的实际存储方式。 IEEE754 单精度浮点型格式 float 型有32位,其中最高一位是符号位S,S=0 表示正数,S=1 表示负数。 最高位后面的8位是阶码E,剩下的23位为尾数部分M。 阶码E=指数真值e+127,这样使得阶码不为负数,方便了指数大小比 阅读全文
摘要:
Ref: https://jupyter.org/install Installing Jupyter Notebook with pip 使用 https://blog.csdn.net/guleileo/article/details/80490921 PS: 看样子 JupyterLab 也不 阅读全文
摘要:
Ref: https://github.com/lichangqing2611/Cpp Design Patterns 什么是设计模式 “每一个模式描述了一个在我们周围不断重复发生的问题,以及该问题的解决方案的核心。这样,你就能一次又一次地使用该方案而不必做重复劳动”。——Christopher A 阅读全文
摘要:
https://download.csdn.net/download/qccz123456/10567716 vim三种模式:命令模式、插入模式、底行模式。使用ESC、i、:切换模式。 vim [路径/]目标文件名:若存在则打开,不存在则新建并打开。 基本步骤:1. vim hello.c 2. 键 阅读全文