hexo博客添加Waline评论

获取证书 注册LeanCloud账号 创建应用,名字为username.github.io 点击应用的应用凭证,获取AppID,Appkey和MasterKey 创建vercel project 修改Environment Variables AppID,Appkey和MasterKey分别对应LEAN_ID, LEAN_KEY和LEAN_...

阅读全文

hexo博客添加背景音乐

安装APlayer1sudo npm install --save hexo-tag-aplayer 本地歌曲将歌曲放入路径source/music_db/1.mp3中在正文中按如下格式添加: 1<video controls="controls" autoplay="autoplay" name="...

阅读全文

still alive

转眼间又是一年冬至,懒得数这已经是来浙江的第几个年头了,值得高兴的是通过生活方式的改变身体逐渐适应这里的气候,遗憾的是仍旧说不了几句这里的方言,可能真的是缺乏语言天赋。也突然发现委屈也会慢慢被释怀掉的,难过、痛苦、怨恨、沮丧这些不好的过往今年就此打住了。年底一大堆事情没做完,新的一年要拒绝拖延,望有所斩获,加油!找回自己的光辉岁月!

阅读全文

maupassant主题侧边栏添加音乐

安装aplayer1sudo npm install --save hexo-tag-aplaye 添加aplayer.pug 在Maupassant主题路径增加aplayer.pug文件路径为themes/maupassant/layout/_widget/aplayer.pug,文件内容如下 1234567#其...

阅读全文

maupassant主题创建历史时间轴页面

创建页面 1hexo new page history 修改theme主题maupassant的配置文件_config.yml 在meau下面添加新的page页面信息如下: 1234menu: - page: history directory: history/ icon: fa-book 添加时间轴信息 12345678...

阅读全文

A brief introduction for Hexo

Welcome to Hexo! This is your very first post. Check documentation for more info. If you get any problems when using Hexo, you can find the answer in troubleshooting or you can ask...

阅读全文

使用python从genome提取一段序列

准备文件 基因组.fa文件 bed文件格式如下: 123456#制表符分割A01 100 200A13 500 600D01 800 9000D03 31000000 32000000D13 65000 65800 script 123456789101112131415161718192021222324252627282...

阅读全文

FastqCount的安装与使用

FastqCount (https://github.com/zhimenggan/FastqCount)主要用来计算fastq文件的reads数量、base数、Q20和Q30等指标,同时需要配合pigz一起来使用。 1. install pigzconda install pigz 2.install FastqCount123456#down f...

阅读全文

hexo博客同时部署github和gitlab

部署github参考使用hexo将博客部署到github 部署gitlab注册gitlab账号 登陆gitlab官网、注册账号并通过邮箱验证。 信用卡验证(使用visa或者master信用卡) 建立博客仓库 点击Creat blank projectCreate new project 建立username.gitlab.io的仓库名称(us...

阅读全文

hexo博客关闭单篇文章评论系统

在文章Front-matter中将comments属性设置为false关闭文章的评论功能,如下: 123title: date: comments: false

阅读全文