摘要: nodejs 的升级 nodejs 通过 apt install nodejs 安装的默认版本竟然是12, 而目前稳定版是18, 需要升级: 都说 nodejs 升级需要使用 n 模块: sudo npm install -g n n 模块的常用命令是: n # 显示已安装的Node版本 n lat 阅读全文
posted @ 2024-04-30 05:10 etfolin 阅读(23) 评论(0) 推荐(0) 编辑
摘要: 该容器属性是以下两个子项属性的简写: align-items justify-items align-items 此属性的效果取决于a56爆大奖在线娱乐们所处的布局模式: 在块级布局中,它对齐一个项目在其包含块的内联轴上。 对于绝对定位的元素,它对齐一个项目在其包含块的内联轴上,同时计算 top,left,botto 阅读全文
posted @ 2023-10-27 21:56 etfolin 阅读(23) 评论(0) 推荐(0) 编辑
摘要: npm // taobao npm config set registry https://registry.npm.taobao.org // tencent npm config set registry http://mirrors.cloud.tencent.com/npm/ // huaw 阅读全文
posted @ 2023-10-17 17:46 etfolin 阅读(25) 评论(0) 推荐(0) 编辑
摘要: #include <stdio.h> #include <stdlib.h> int main() { long aa = 123; long aaa = &aa; // warning: initialization of ‘long int’ from ‘long int *’ makes in 阅读全文
posted @ 2023-08-04 12:46 etfolin 阅读(8) 评论(0) 推荐(0) 编辑
摘要: #include <stdio.h> #include <stdlib.h> #include <string.h> char * title= "web 数学 算法 是不是空间不够长"; int str_comparer() { // 字符串是个指向字符串开头的指针 char * tt1 = "a 阅读全文
posted @ 2023-08-02 12:37 etfolin 阅读(50) 评论(0) 推荐(0) 编辑
摘要: with open('1.txt',"w") as fff: print(fff) 测试print()函数的file参数时,不小心弄出来一个<_io.TextIOWrapper name='1.txt' mode='w' encoding='cp936'> 才知道原来‘GB2312’原来是系统中第9 阅读全文
posted @ 2023-04-13 13:22 etfolin 阅读(40) 评论(0) 推荐(0) 编辑
摘要: 如果print的end参数只要不是换行,默认就会攒到换行再一起输出。 除非flush设置为True,那么就不换行也输出了。 除了做这个加载器,还有什么用处呢? # 来自菜鸟的example import time print(" RUNOOB EXAMPLE : Loading 效果 ") prin 阅读全文
posted @ 2023-04-13 12:29 etfolin 阅读(49) 评论(0) 推荐(0) 编辑
摘要: # Install OpenJDK sudo apt update sudo apt install default-jdk # Java Runtime Environment, 这个似乎包含在上一步骤里了。 sudo apt install default-jre java -version # 阅读全文
posted @ 2023-03-25 00:14 etfolin 阅读(31) 评论(0) 推荐(0) 编辑
摘要: 正常安装了miniconda和vscode后,在vscode中没有conda的terminal配置和终端选项。 从开始菜单找到conda powershell的快捷方式文件,打开其属性,复制目标一栏的内容,分成两段,一段是powershell可执行文件的路径,一段是运行conda配置的参数。填写到v 阅读全文
posted @ 2023-03-22 14:27 etfolin 阅读(985) 评论(0) 推荐(0) 编辑
摘要: 终端进入访达 在某个目录中执行 open . 即可用访达打开该目录 访达进入终端 方法1 将文件或者文件夹拖拽至终端窗口 方法2 访达app的菜单项目:‘访达’->'服务'->'服务偏好设置' 勾选并设置:'服务'->'快捷键'->'新建位于文件夹位置的终端标签页(窗口)' 原文地址:https:/ 阅读全文
posted @ 2022-10-15 22:46 etfolin 阅读(268) 评论(0) 推荐(0) 编辑