测试 2018-11-04 document.querySelectorAll('.github-emoji') .forEach(el => { if (!el.dataset.src) { return; } const img = document.createElement('... 阅读全文 »
hexo+github搭建个人博客教程 2018-11-04 环境搭建Node.js 下载并安装Node.js 官网: http://nodejs.org/download/ 安装的时候Custom Setup选择第一个,安装完成。 Git下载安装及其配置 下载并安装Git 官网: https://git-scm.com/downloads 安装Git一路Next即可,Git安装完成. Git简... 阅读全文 »
平衡二叉树 2018-10-21 平衡二叉树平衡二叉树(AVL树)是一种二叉排序树,其中每一个节点的左子树和右子树的高度差至多等于1,是一种高平衡的二叉排序树 平衡因子(BF) 将二叉排序树上的节点的左子树深度减去右子树深度的值叫做平衡因子 平衡二叉树的平衡因子只能为 -1,0,1 二叉树上若有一个节点的平衡因子的绝对值大于1,则不平衡 最小不平衡子树 距离插入节点最近... 阅读全文 »
golang编写短连接生成器 2018-10-20 document.querySelectorAll('.github-emoji') .forEach(el => { if (!el.dataset.src) { return; } const img = document.createElement('... 阅读全文 »
golang编写单机爬虫(一) 2018-08-29 document.querySelectorAll('.github-emoji') .forEach(el => { if (!el.dataset.src) { return; } const img = document.createElement('... 阅读全文 »
Channel(一) 2018-08-17 document.querySelectorAll('.github-emoji') .forEach(el => { if (!el.dataset.src) { return; } const img = document.createElement('... 阅读全文 »