01 2024 档案

shell脚本示例,入读文件内容
摘要:while read line; do pfastq-dump --threads 10 --gzip --split-files -s $line -O /mnt/cnic_data/630First/Fastq/; done < /mnt/cnic_data/630First/630_bio_a 阅读全文

posted @ 2024-01-29 10:04 我和你并没有不同 阅读(8) 评论(0) 推荐(0) 编辑

照片尺寸调整
摘要:from PIL import Image def convert_image3(image_path, width_mm, height_mm, dpi): # 打开原始图片 image = Image.open(image_path) # 计算目标像素尺寸 width_px = int(widt 阅读全文

posted @ 2024-01-29 09:11 我和你并没有不同 阅读(15) 评论(0) 推荐(0) 编辑

比Wget、Curl更强大的下载工具! 转载
摘要:作者:Escape 链接:https://www.escapelife.site/posts/7a3b6469.html aria2 是一款轻量且高效的命令行下载工具。堪称下载利器! 介绍说明 轻量、高效、命令行 aria2 是一款轻量且高效命令行下载工具,它提供了对多协议和多源地址的支持,并尝试将 阅读全文

posted @ 2024-01-10 11:38 我和你并没有不同 阅读(18) 评论(0) 推荐(0) 编辑

dockerfile 示例
摘要:FROM **** RUN dnf install -y R openssl-devel && \ R -e "install.packages(c('getopt','BiocManager'), repos='https://cran.r-project.org/')" && \ R -e "B 阅读全文

posted @ 2024-01-04 15:58 我和你并没有不同 阅读(22) 评论(0) 推荐(0) 编辑

scrapy的暂停与重启
摘要:创建爬虫项目: scrapy startproject fileSpider 进入项目后,查看爬虫项目下拥有的爬虫模板 cd fileSpider scrapy genspider -l 创建一个CrawlSpider爬虫: scrapy genspider -t crawl weisuen soh 阅读全文

posted @ 2024-01-04 10:57 我和你并没有不同 阅读(60) 评论(0) 推荐(0) 编辑

vue学习笔记2024
摘要:《Vue.js从入门到项目实战》 孙鑫v-bind用于响应式地更新HTML属性,v-on用于监听DOM事件,变量需要引号引起来,v-model用于表单<input>、<textarea>、<select>上创建双向数据绑定,v-model用于表单<input>、<textarea>、<select> 阅读全文

posted @ 2024-01-03 16:06 我和你并没有不同 阅读(14) 评论(0) 推荐(0) 编辑