摘要: 该容器属性是以下两个子项属性的简写: align-items justify-items align-items 此属性的效果取决于我们所处的布局模式: 在块级布局中,它对齐一个项目在其包含块的内联轴上。 对于绝对定位的元素,它对齐一个项目在其包含块的内联轴上,同时计算 top,left,botto 阅读全文
posted @ 2023-10-27 21:56 etfolin 阅读(6) 评论(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 阅读(20) 评论(0) 推荐(0) 编辑
摘要: ```c #include #include int main() { long aa = 123; long aaa = &aa; // warning: initialization of ‘long int’ from ‘long int *’ makes integer from point 阅读全文
posted @ 2023-08-04 12:46 etfolin 阅读(6) 评论(0) 推荐(0) 编辑
摘要: ```c #include #include #include char * title= "web 数学 算法 是不是空间不够长"; int str_comparer() { // 字符串是个指向字符串开头的指针 char * tt1 = "aac"; char * tt2 = "aa"; // 阅读全文
posted @ 2023-08-02 12:37 etfolin 阅读(46) 评论(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 阅读(38) 评论(0) 推荐(0) 编辑
摘要: 如果print的end参数只要不是换行,默认就会攒到换行再一起输出。 除非flush设置为True,那么就不换行也输出了。 除了做这个加载器,还有什么用处呢? # 来自菜鸟的example import time print(" RUNOOB EXAMPLE : Loading 效果 ") prin 阅读全文
posted @ 2023-04-13 12:29 etfolin 阅读(39) 评论(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 阅读(30) 评论(0) 推荐(0) 编辑
摘要: 正常安装了miniconda和vscode后,在vscode中没有conda的terminal配置和终端选项。 从开始菜单找到conda powershell的快捷方式文件,打开其属性,复制目标一栏的内容,分成两段,一段是powershell可执行文件的路径,一段是运行conda配置的参数。填写到v 阅读全文
posted @ 2023-03-22 14:27 etfolin 阅读(796) 评论(0) 推荐(0) 编辑
摘要: 终端进入访达 在某个目录中执行 open . 即可用访达打开该目录 访达进入终端 方法1 将文件或者文件夹拖拽至终端窗口 方法2 访达app的菜单项目:‘访达’->'服务'->'服务偏好设置' 勾选并设置:'服务'->'快捷键'->'新建位于文件夹位置的终端标签页(窗口)' 原文地址:https:/ 阅读全文
posted @ 2022-10-15 22:46 etfolin 阅读(265) 评论(0) 推荐(0) 编辑
摘要: 可能是因为刚用电脑就有了window,所以从来不知道如何用命令行查看都有哪些分区。ubuntu可以在/media目录下ls查看都加了什么U盘,但在windows里就还得打开资源管理器,太麻烦了。查了一下,有三种情况。 cmd wmic logicaldisk get name / wmic logi 阅读全文
posted @ 2022-07-03 14:58 etfolin 阅读(294) 评论(0) 推荐(0) 编辑