摘要: 压缩文件 tar -zcvf 压缩后的文件名.tar.gz 要压缩的文件或文件夹路径 tar -zcvf example.tar.gz example 解压文件 tar -zxvf 压缩文件名.tar.gz 如果需要将文件解压到指定的目录,可以添加 -C 参数,如: tar -zxvf exampl 阅读全文
posted @ 2025-04-18 21:18 深以为然 阅读(15) 评论(0) 推荐(0)
摘要: 自己常用命令记录一下 一.下载conda和miniconda(清华镜像) 二.pip镜像 1.设置镜像 pip config set global.index-url https://mirrors.tuna.tsinghua.edu.cn/pypi/web/simple 2.查看镜像地址 pip 阅读全文
posted @ 2025-02-25 10:56 深以为然 阅读(46) 评论(0) 推荐(0)
摘要: 不是webpack,而是vite 1.根目录新建tsconfig.json,或者jsconfig.json 2.复制代码 { "compilerOptions": { "baseUrl": "./", "paths": { "@/*": ["./src/*"] } } } 阅读全文
posted @ 2023-05-15 09:51 深以为然 阅读(703) 评论(0) 推荐(0)
摘要: 碰撞事件 // 发生碰撞 onCollisionEnter(other: cc.Collider, self: cc.Collider): void { console.log(other.tag); } // 持续碰撞 onCollisionStay(other: cc.Collider, sel 阅读全文
posted @ 2023-03-29 13:50 深以为然 阅读(60) 评论(0) 推荐(0)
摘要: # 取最大值 max = df['code'].max() # 某一列在哪一行 data["high"].idxmax() #显示所有的列 pandas.set_option('display.max_columns', None) #显示所有的行 pandas.set_option('displa 阅读全文
posted @ 2022-11-17 10:18 深以为然 阅读(63) 评论(0) 推荐(0)
摘要: conda下载地址(清华镜像) 注意:tushare实时需要安装Anaconda3-2018.12-Linux-x86_64.sh 1.下载conda文件 wget https://mirrors.tuna.tsinghua.edu.cn/anaconda/archive/Anaconda3-201 阅读全文
posted @ 2022-08-18 16:15 深以为然 阅读(331) 评论(0) 推荐(0)
摘要: https://github.com/livelyPeng/pl-table http://www.umyui.com/umycomponent/intro https://xuliangzhan_admin.gitee.io/vxe-table/#/table/start/install 阅读全文
posted @ 2021-10-19 11:47 深以为然 阅读(800) 评论(0) 推荐(0)
摘要: 0 15 1-1516 31 2-1532 47 3-1548 63 4-15 1*15-15 2*15-153*15-154*15-15 offset公式 (page*limit-limit) 阅读全文
posted @ 2019-09-20 09:15 深以为然 阅读(1847) 评论(0) 推荐(0)
摘要: audio音频在vue播放整理 this.audio = new Audio(); this.audio.src = mp3; let playPromise; playPromise = this.audio.play(); if (playPromise) { playPromise.then( 阅读全文
posted @ 2019-02-15 22:45 深以为然 阅读(43748) 评论(0) 推荐(1)
摘要: 一、需要有一个npm的帐号 (官网:www.npmjs.com) 二、第一次发包前提工作 在终端输入npm adduser 提示输入账号,密码和邮箱,然后将提示创建成功 三、非第一次发包前提工作 在本地创建一个文件,把写好的依赖放进去,cmd进入目录,然后npm login 然后输入你创建的账号和密 阅读全文
posted @ 2018-11-18 19:28 深以为然 阅读(6931) 评论(0) 推荐(0)