2024年6月16日

WSL配置及更改Ubuntu文件目录

摘要: 可能出现的问题 wsl --set-default-version 2 之后启动ubuntu.exe出现bug bug: Installing, this may take a few minutes... WslRegisterDistribution failed with error: 0x8 阅读全文

posted @ 2024-06-16 00:43 火焰龙卷风 阅读(4) 评论(0) 推荐(0) 编辑

2024年6月10日

gcc 13.3.0 build from source

摘要: download from gcc's ftp webpage # install some prerequisites. Note that a usable gcc is in build-essential. sudo apt install build-essential libmpfr-d 阅读全文

posted @ 2024-06-10 21:07 火焰龙卷风 阅读(8) 评论(0) 推荐(0) 编辑

2024年6月2日

网络配置

摘要: 截图记录 1.1.1.1 整理几个开源的项目如下: know about wireguard cloudflare https://github.com/ViRb3/wgcf https://github.com/badafans/better-cloudflare-ip https://gitla 阅读全文

posted @ 2024-06-02 12:11 火焰龙卷风 阅读(7) 评论(0) 推荐(0) 编辑

2024年6月1日

LazyVim

摘要: LazyVim的安装和使用 Pre Install 安装一个Nerd font unzip ~/TOOL/xxx.zip -d ~/.local/share/fonts/ fc-cache -fv 安装一个node.js cd ~/TOOL unzip node-xxx.zip 安装neovim p 阅读全文

posted @ 2024-06-01 23:42 火焰龙卷风 阅读(21) 评论(0) 推荐(0) 编辑

2024年5月30日

对C语言应该有一个正确的认识

摘要: 今天看一段C语言代码有一个比较陌生的感觉: int a[100]; if (a == &a){ printf("True\n"); } else { printf("False\n"); } 结果自然是True,但是我不知为何有一种感觉就是a这个名字应该自己有一个占据的空间,然而,这种感觉是错误的。 阅读全文

posted @ 2024-05-30 01:24 火焰龙卷风 阅读(3) 评论(0) 推荐(0) 编辑

2024年5月18日

C语言中多维数组和多重指针的区别

摘要: 比如下面这段代码: char str[3][3] = {"aa","bb","cc"}; char** p = str; char* s1 = str[0]; char* s2 = p[0]; 有什么问题? 我们来看实际的内存布局,str是一个多维数组,它的尺寸实际上是3*3=9个char。 也就是 阅读全文

posted @ 2024-05-18 18:12 火焰龙卷风 阅读(3) 评论(0) 推荐(0) 编辑

包含一切的脚本

摘要: 预计在这里完成一个有便利的提供多个选项的配置脚本,最好还能有可扩展性。 阅读全文

posted @ 2024-05-18 00:58 火焰龙卷风 阅读(3) 评论(0) 推荐(0) 编辑

Conda环境配置及python环境配置

摘要: miniconda配置 mkdir ~/TOOL cd ~/TOOL wget https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86_64.sh -O ~/TOOL/miniconda.sh bash ./miniconda. 阅读全文

posted @ 2024-05-18 00:35 火焰龙卷风 阅读(6) 评论(0) 推荐(0) 编辑

远程机器VSCode Server配置

摘要: 在远程机器上跑VSCode Server,以实现在本地的浏览器上访问的目的 VSCode Server官方教程 # 在远程机器上运行以下命令 mkdir ~/TOOL/code_cli cd ~/TOOL/code_cli curl -Lk 'https://code.visualstudio.co 阅读全文

posted @ 2024-05-18 00:35 火焰龙卷风 阅读(29) 评论(0) 推荐(0) 编辑

2024年5月6日

C/C++环境配置

摘要: .clang-format文件: https://www.cnblogs.com/qiyuexin/p/12797024.html my .clang-format: https://github.com/FlameTornado10/dotfiles/blob/main/ProgrammingLa 阅读全文

posted @ 2024-05-06 19:43 火焰龙卷风 阅读(1) 评论(0) 推荐(0) 编辑

导航