jojo网页html,index.html

var NexT = window.NexT || {};

var CONFIG = {"hostname":"sarizzm.github.io","root":"/","scheme":"Gemini","version":"7.8.0","exturl":false,"sidebar":{"position":"left","display":"post","padding":18,"offset":12,"onmobile":false},"copycode":{"enable":true,"show_result":true,"style":"mac"},"back2top":{"enable":true,"sidebar":true,"scrollpercent":true,"onmobile":null},"bookmark":{"enable":false,"color":"#222","save":"auto"},"fancybox":false,"mediumzoom":false,"lazyload":false,"pangu":false,"comments":{"style":"tabs","active":null,"storage":true,"lazyload":false,"nav":null},"algolia":{"hits":{"per_page":10},"labels":{"input_placeholder":"Search for Posts","hits_empty":"We didn't find any results for the search: ${query}","hits_stats":"${hits} results found in ${time} ms"}},"localsearch":{"enable":false,"trigger":"auto","top_n_per_article":1,"unescape":false,"preload":false},"motion":{"enable":true,"async":false,"transition":{"post_block":"fadeIn","post_header":"slideDownIn","post_body":"slideDownIn","coll_header":"slideLeftIn","sidebar":"slideUpIn"}}};

// https://hexo.io/docs/variables.html

CONFIG.page = {

sidebar: "",

isHome : true,

isPost : false,

lang : 'zh-CN'

};

codemk

.use-motion .brand,

.use-motion .menu-item,

.sidebar-inner,

.use-motion .post-block,

.use-motion .pagination,

.use-motion .comments,

.use-motion .post-header,

.use-motion .post-body,

.use-motion .collection-header { opacity: initial; }

.use-motion .site-title,

.use-motion .site-subtitle {

opacity: initial;

top: initial;

}

.use-motion .logo-line-before i { left: initial; }

.use-motion .logo-line-after i { right: initial; }

codemk

学习笔记,人生感悟

数据结构与算法--哈希(hasn)算法

hash算法及查找

Hash算法是一个广义的算法,也可以认为是一种思想,使用Hash算法可以提高存储空间的利用率,可以提高数据的查询效率,也可以做[字签名来保障数据传递的安全性。所以Hash算法被广泛地应用在互联网应用中。

阅读全文 »

hexo搭建博客

最近才知道hexo可以搭建博客,果然又一次孤陋寡闻了,我是和GitHub连用,所以都是以它为例,下面正文开始

创建

这个博客中,很详细,具体参考就他了:https://caiyantao.gitee.io/2019/04/13/Hexo-%E4%B8%80/

主题更改

这个链接里是提供的所有主题:https://hexo.io/themes/index.html,大家可以查找自己欢喜的,然后下载即可

1
$ git clone https://github.com/theme-next/hexo-theme-next themes/next

阅读全文 »

window.addEventListener('tabs:register', () => {

let { activeClass } = CONFIG.comments;

if (CONFIG.comments.storage) {

activeClass = localStorage.getItem('comments_active') || activeClass;

}

if (activeClass) {

let activeTab = document.querySelector(`a[href="#comment-${activeClass}"]`);

if (activeTab) {

activeTab.click();

}

}

});

if (CONFIG.comments.storage) {

window.addEventListener('tabs:click', event => {

if (!event.target.matches('.tabs-comment .tab-content .tab-pane')) return;

let commentClass = event.target.classList[1];

localStorage.setItem('comments_active', commentClass);

});

}

if (typeof MathJax === 'undefined') {

window.MathJax = {

loader: {

source: {

'[tex]/amsCd': '[tex]/amscd',

'[tex]/AMScd': '[tex]/amscd'

}

},

tex: {

inlineMath: {'[+]': [['$', '$']]},

tags: 'ams'

},

options: {

renderActions: {

findScript: [10, doc => {

document.querySelectorAll('script[type^="math/tex"]').forEach(node => {

const display = !!node.type.match(/; *mode=display/);

const math = new doc.options.MathItem(node.textContent, doc.inputJax[0], display);

const text = document.createTextNode('');

node.parentNode.replaceChild(text, node);

math.start = {node: text, delim: '', n: 0};

math.end = {node: text, delim: '', n: 0};

doc.math.push(math);

});

}, '', false],

insertedScript: [200, () => {

document.querySelectorAll('mjx-container').forEach(node => {

let target = node.parentNode;

if (target.nodeName.toLowerCase() === 'li') {

target.parentNode.classList.add('has-jax');

}

});

}, '', false]

}

}

};

(function () {

var script = document.createElement('script');

script.src = '//cdn.jsdelivr.net/npm/mathjax@3/es5/tex-mml-chtml.js';

script.defer = true;

document.head.appendChild(script);

})();

} else {

MathJax.startup.document.state(0);

MathJax.texReset();

MathJax.typeset();

}

一键复制

编辑

Web IDE

原始数据

按行查看

历史

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值