1 Star 0 Fork 0

YangZx/小羊的笔记本

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
index.html 34.77 KB
一键复制 编辑 原始数据 按行查看 历史
YangZx 提交于 2021-07-16 12:14 . Site updated: 2021-07-16 12:14:19
<!DOCTYPE html><html lang="zh-CN" data-theme="light"><head><meta charset="UTF-8"><meta http-equiv="X-UA-Compatible" content="IE=edge"><meta name="viewport" content="width=device-width,initial-scale=1"><title>小树苗博客 - XIAOSM'S BLOG</title><meta name="keywords" content="Hexo,博客,小树苗,XIAOSM,JAVA,HTML,JAVASCRIPT,PYTHON"><meta name="author" content="小羊"><meta name="copyright" content="小羊"><meta name="format-detection" content="telephone=no"><meta name="theme-color" content="#ffffff"><meta http-equiv="Cache-Control" content="no-transform"><meta http-equiv="Cache-Control" content="no-siteapp"><meta property="og:type" content="website">
<meta property="og:title" content="小树苗博客">
<meta property="og:url" content="https://www.xiaosm.cn/">
<meta property="og:site_name" content="小树苗博客">
<meta property="og:locale" content="zh_CN">
<meta property="og:image" content="https://q1.qlogo.cn/g?b=qq&nk=1282381264&s=640">
<meta property="article:author" content="小羊">
<meta property="article:tag" content="Hexo,博客,小树苗,XIAOSM,JAVA,HTML,JAVASCRIPT,PYTHON">
<meta name="twitter:card" content="summary">
<meta name="twitter:image" content="https://q1.qlogo.cn/g?b=qq&nk=1282381264&s=640"><link rel="shortcut icon" href="/img/favicon.png"><link rel="canonical" href="https://www.xiaosm.cn/"><link rel="preconnect" href="//cdn.jsdelivr.net"/><link rel="preconnect" href="//hm.baidu.com"/><link rel="preconnect" href="//busuanzi.ibruce.info"/><meta name="baidu-site-verification" content="9yxyDeX7XspXAHuH"/><link rel="stylesheet" href="/css/index.css"><link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@fortawesome/fontawesome-free/css/all.min.css"><link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@fancyapps/fancybox@latest/dist/jquery.fancybox.min.css"><script>var _hmt = _hmt || [];
(function() {
var hm = document.createElement("script");
hm.src = "https://hm.baidu.com/hm.js?e5c558916c618f835fdab015b2dafd4f";
var s = document.getElementsByTagName("script")[0];
s.parentNode.insertBefore(hm, s);
})();
</script><script>var GLOBAL_CONFIG = {
root: '/',
algolia: undefined,
localSearch: undefined,
translate: undefined,
noticeOutdate: undefined,
highlight: {"plugin":"highlighjs","highlightCopy":true,"highlightLang":true},
copy: {
success: '复制成功',
error: '复制错误',
noSupport: '浏览器不支持'
},
relativeDate: {
homepage: false,
post: false
},
runtime: '',
date_suffix: {
just: '刚刚',
min: '分钟前',
hour: '小时前',
day: '天前',
month: '个月前'
},
copyright: {"limitCount":100,"languages":{"author":"作者: 小羊","link":"链接: ","source":"来源: 小树苗博客","info":"著作权归作者所有。商业转载请联系作者获得授权,非商业转载请注明出处。"}},
ClickShowText: undefined,
lightbox: 'fancybox',
Snackbar: undefined,
justifiedGallery: {
js: 'https://cdn.jsdelivr.net/npm/justifiedGallery/dist/js/jquery.justifiedGallery.min.js',
css: 'https://cdn.jsdelivr.net/npm/justifiedGallery/dist/css/justifiedGallery.min.css'
},
isPhotoFigcaption: true,
islazyload: false,
isanchor: false
};
var saveToLocal = {
set: function setWithExpiry(key, value, ttl) {
const now = new Date()
const expiryDay = ttl * 86400000
const item = {
value: value,
expiry: now.getTime() + expiryDay,
}
localStorage.setItem(key, JSON.stringify(item))
},
get: function getWithExpiry(key) {
const itemStr = localStorage.getItem(key)
if (!itemStr) {
return undefined
}
const item = JSON.parse(itemStr)
const now = new Date()
if (now.getTime() > item.expiry) {
localStorage.removeItem(key)
return undefined
}
return item.value
}
}</script><script id="config_change">var GLOBAL_CONFIG_SITE = {
isPost: false,
isHome: true,
isHighlightShrink: false,
isToc: false,
postUpdate: '2021-07-16 12:14:17'
}</script><noscript><style type="text/css">
#nav {
opacity: 1
}
.justified-gallery img {
opacity: 1
}
#recent-posts time,
#post-meta time {
display: inline !important
}
</style></noscript><script>(function () { window.activateDarkMode = function () {
document.documentElement.setAttribute('data-theme', 'dark')
if (document.querySelector('meta[name="theme-color"]') !== null) {
document.querySelector('meta[name="theme-color"]').setAttribute('content', '#0d0d0d')
}
}
window.activateLightMode = function () {
document.documentElement.setAttribute('data-theme', 'light')
if (document.querySelector('meta[name="theme-color"]') !== null) {
document.querySelector('meta[name="theme-color"]').setAttribute('content', '#ffffff')
}
}
const autoChangeMode = 'false'
const t = saveToLocal.get('theme')
if (autoChangeMode === '1') {
const isDarkMode = window.matchMedia('(prefers-color-scheme: dark)').matches
const isLightMode = window.matchMedia('(prefers-color-scheme: light)').matches
const isNotSpecified = window.matchMedia('(prefers-color-scheme: no-preference)').matches
const hasNoSupport = !isDarkMode && !isLightMode && !isNotSpecified
if (t === undefined) {
if (isLightMode) activateLightMode()
else if (isDarkMode) activateDarkMode()
else if (isNotSpecified || hasNoSupport) {
const now = new Date()
const hour = now.getHours()
const isNight = hour <= 6 || hour >= 18
isNight ? activateDarkMode() : activateLightMode()
}
window.matchMedia('(prefers-color-scheme: dark)').addListener(function (e) {
if (saveToLocal.get('theme') === undefined) {
e.matches ? activateDarkMode() : activateLightMode()
}
})
} else if (t === 'light') activateLightMode()
else activateDarkMode()
} else if (autoChangeMode === '2') {
const now = new Date()
const hour = now.getHours()
const isNight = hour <= 6 || hour >= 18
if (t === undefined) isNight ? activateDarkMode() : activateLightMode()
else if (t === 'light') activateLightMode()
else activateDarkMode()
} else {
if (t === 'dark') activateDarkMode()
else if (t === 'light') activateLightMode()
}const asideStatus = saveToLocal.get('aside-status')
if (asideStatus !== undefined) {
if (asideStatus === 'hide') {
document.documentElement.classList.add('hide-aside')
} else {
document.documentElement.classList.remove('hide-aside')
}
}})()</script><meta name="generator" content="Hexo 5.2.0"></head><body><div id="sidebar"><div id="menu-mask"></div><div id="sidebar-menus"><div class="author-avatar"><img class="avatar-img" src="https://q1.qlogo.cn/g?b=qq&amp;nk=1282381264&amp;s=640" onerror="onerror=null;src='/img/friend_404.gif'" alt="avatar"/></div><div class="site-data"><div class="data-item is-center"><div class="data-item-link"><a href="/archives/"><div class="headline">文章</div><div class="length-num">21</div></a></div></div><div class="data-item is-center"><div class="data-item-link"><a href="/tags/"><div class="headline">标签</div><div class="length-num">7</div></a></div></div><div class="data-item is-center"><div class="data-item-link"><a href="/categories/"><div class="headline">分类</div><div class="length-num">7</div></a></div></div></div><hr/><div class="menus_items"><div class="menus_item"><a class="site-page" href="/"><i class="fa-fw fas fa-home"></i><span> Home</span></a></div><div class="menus_item"><a class="site-page" href="/archives/"><i class="fa-fw fas fa-archive"></i><span> Archives</span></a></div><div class="menus_item"><a class="site-page" href="/tags/"><i class="fa-fw fas fa-tags"></i><span> Tags</span></a></div><div class="menus_item"><a class="site-page" href="/categories/"><i class="fa-fw fas fa-folder-open"></i><span> Categories</span></a></div><div class="menus_item"><a class="site-page" target="_blank" rel="noopener" href="https://github.com/yangzx1282"><i class="fa-fw fas fa-folder-open"></i><span> GitHub</span></a></div><div class="menus_item"><a class="site-page" href="/link/"><i class="fa-fw fas fa-link"></i><span> Link</span></a></div><div class="menus_item"><a class="site-page" href="/about/"><i class="fa-fw fas fa-heart"></i><span> About</span></a></div></div></div></div><div id="body-wrap"><header class="full_page" id="page-header" style="background-image: url(/./static/bg_sheep.jpg)"><nav id="nav"><span id="blog_name"><a id="site-name" href="/">小树苗博客</a></span><span id="menus"><div class="menus_items"><div class="menus_item"><a class="site-page" href="/"><i class="fa-fw fas fa-home"></i><span> Home</span></a></div><div class="menus_item"><a class="site-page" href="/archives/"><i class="fa-fw fas fa-archive"></i><span> Archives</span></a></div><div class="menus_item"><a class="site-page" href="/tags/"><i class="fa-fw fas fa-tags"></i><span> Tags</span></a></div><div class="menus_item"><a class="site-page" href="/categories/"><i class="fa-fw fas fa-folder-open"></i><span> Categories</span></a></div><div class="menus_item"><a class="site-page" target="_blank" rel="noopener" href="https://github.com/yangzx1282"><i class="fa-fw fas fa-folder-open"></i><span> GitHub</span></a></div><div class="menus_item"><a class="site-page" href="/link/"><i class="fa-fw fas fa-link"></i><span> Link</span></a></div><div class="menus_item"><a class="site-page" href="/about/"><i class="fa-fw fas fa-heart"></i><span> About</span></a></div></div><span class="close" id="toggle-menu"><a class="site-page"><i class="fas fa-bars fa-fw"></i></a></span></span></nav><div id="site-info"><h1 id="site-title">小树苗博客</h1><div id="site-subtitle"><span id="subtitle"></span></div></div><div id="scroll-down"><i class="fas fa-angle-down scroll-down-effects"></i></div></header><main class="layout" id="content-inner"><div class="recent-posts" id="recent-posts"><div class="recent-post-item"><div class="recent-post-info no-cover"><a class="article-title" href="/post/6cc9fc120314/" title="51实现数码管动态显示数字">51实现数码管动态显示数字</a><div class="article-meta-wrap"><span class="post-meta-date"><i class="far fa-calendar-alt"></i><span class="article-meta-label">发表于</span><time datetime="2021-07-15T02:15:30.000Z" title="发表于 2021-07-15 10:15:30">2021-07-15</time></span><span class="article-meta"><span class="article-meta__separator">|</span><i class="fas fa-inbox article-meta__icon"></i><a class="article-meta__categories" href="/categories/MCU/">MCU</a></span></div><div class="content">在学习单片机点亮数码管的时候,为实现0-9数字的依次显示
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768#include &quot;reg52.h&quot;typedef unsigned char u8;typedef unsigned int u16;// #define P0 P0sbit P22 = P2^2;sbit P23 = P2^3;sbit P24 = P2^4;void delay(unsigned int ms) //@12.000MHz&#123; unsigned char i, j; while (ms--) &#123; /* code */ i = 2; j = 239; do &#123; while (--j); &#125 ...</div></div></div><div class="recent-post-item"><div class="recent-post-info no-cover"><a class="article-title" href="/post/9d53bacce392/" title="Mybatis-Plus中枚举类型注入失败">Mybatis-Plus中枚举类型注入失败</a><div class="article-meta-wrap"><span class="post-meta-date"><i class="far fa-calendar-alt"></i><span class="article-meta-label">发表于</span><time datetime="2021-04-15T04:14:46.000Z" title="发表于 2021-04-15 12:14:46">2021-04-15</time></span><span class="article-meta"><span class="article-meta__separator">|</span><i class="fas fa-inbox article-meta__icon"></i><a class="article-meta__categories" href="/categories/Java/">Java</a></span></div><div class="content">问题描述项目持久层框架是Mybatis-plus(以下简称mybatis),数据库是Mysql最近在将项目中的一些字段改为枚举类型,但是后来发现枚举变量一直注入不进去通过对mybatis的 defaultEnumTypeHandler配置(默认枚举处理类) 的org.apache.ibatis.type.EnumOrdinalTypeHandler#valueOf方法进行DEBUG,发现value参数的值是布尔类型这时第一时间想到可能是因为数据库使用tinyint类型导致的
解决方案解决方法就很简单了,只需要将数据库字段的tinyint类型改为int就好了。可以看到value的值变成了1,而不是上面的true了,问题至此解决但是你说,诶,我任性,我就要设置为tinyint怎么办呢,那我们可以把tinyint的长度设置为4,这样问题也能得到解决
</div></div></div><div class="recent-post-item"><div class="recent-post-info no-cover"><a class="article-title" href="/post/8ccfd180b3b3/" title="前后端分离项目使用postMessage解决QQ快捷登录">前后端分离项目使用postMessage解决QQ快捷登录</a><div class="article-meta-wrap"><span class="post-meta-date"><i class="far fa-calendar-alt"></i><span class="article-meta-label">发表于</span><time datetime="2020-12-04T09:11:39.000Z" title="发表于 2020-12-04 17:11:39">2020-12-04</time></span></div><div class="content">最近在给毕业设计加功能(第三方授权登录),正愁用什么方式让前端知道我授权成功了(前后端分离项目,不想使用轮询)正好最近在备考1+x考证,在刷题的时候了解到一种前端postMessage技术,决定在这么项目上试试
什么是postMessage
window.postMessage() 方法可以安全地实现跨源通信。通常,对于两个不同页面的脚本,只有当执行它们的页面位于具有相同的协议(通常为https),端口号(443为https的默认值),以及主机 (两个页面的模数 Document.domain设置为相同的值) 时,这两个脚本才能相互通信。window.postMessage() 方法提供了一种受控机制来规避此限制,只要正确的使用,这种方法就很安全。
语法1otherWindow.postMessage(message, targetOrigin, [transfer]);
为什么使用postMessage在使用快捷登录的时候(如QQ和微信)会打开一个新的页面进行“授权服务提供商”提供授权,由于是新的窗口所以登录页面如何确认是否授权成功成了一个问题
以往的解决方案是登录页面使用 ...</div></div></div><div class="recent-post-item"><div class="recent-post-info no-cover"><a class="article-title" href="/post/a79691a4f198/" title="JavaScript实现文件读取">JavaScript实现文件读取</a><div class="article-meta-wrap"><span class="post-meta-date"><i class="far fa-calendar-alt"></i><span class="article-meta-label">发表于</span><time datetime="2020-11-28T11:49:11.000Z" title="发表于 2020-11-28 19:49:11">2020-11-28</time></span></div><div class="content">1234567891011function load(name) &#123; let xhr = new XMLHttpRequest(), okStatus = document.location.protocol === &quot;file:&quot; ? 0 : 200; xhr.open(&#x27;GET&#x27;, name, false); xhr.overrideMimeType(&quot;text/html;charset=utf-8&quot;);//默认为utf-8 xhr.send(null); return xhr.status === okStatus ? xhr.responseText : null;&#125; let text = load(&quot;test.txt&quot;);console.log(text);</div></div></div><div class="recent-post-item"><div class="recent-post-info no-cover"><a class="article-title" href="/post/386c211c067f/" title="Mysql8忘记密码解决办法">Mysql8忘记密码解决办法</a><div class="article-meta-wrap"><span class="post-meta-date"><i class="far fa-calendar-alt"></i><span class="article-meta-label">发表于</span><time datetime="2020-11-25T05:36:01.000Z" title="发表于 2020-11-25 13:36:01">2020-11-25</time></span></div><div class="content">Mysql8 忘记密码的解决办法
先暂停服务12345# 首先暂停服务net stop mysql# 以绕过权限表的形式开启mysql服务mysqld --console --skip-grant-tables --shared-memory
开启服务后,打开一个新的命令窗口12# 无需输入密码(在输入密码处可直接回车进入)mysql -u root -p
修改密码为空,注意authentication_string的值是空字符串12use mysql;UPDATE mysql.user SET authentication_string=&#x27;&#x27; WHERE user = &#x27;root&#x27;;
此刻允许下面sql可以看到密码以及重置为空1SELECT host,user,authentication_string FROM mysql.user;
关闭之前保留的那个控制台窗口和现在使用的这个控制台窗口一共关闭两个控制台窗口。然后再打开一个新的窗口,启动MySQL的服务。12345# 启动mysqlnet start mysql# 无需密码登录mysql ...</div></div></div><div class="recent-post-item"><div class="recent-post-info no-cover"><a class="article-title" href="/post/6f222c02776b/" title="油猴插件安装脚本教程">油猴插件安装脚本教程</a><div class="article-meta-wrap"><span class="post-meta-date"><i class="far fa-calendar-alt"></i><span class="article-meta-label">发表于</span><time datetime="2020-10-25T04:19:16.000Z" title="发表于 2020-10-25 12:19:16">2020-10-25</time></span></div><div class="content">油猴脚本安装教程=&gt;https://www.xiaosm.cn/archives/4
脚本探索大门https://greasyfork.org/zh-CN
先推荐一个脚本——创新创业就业网课小助手当然其他的脚本也可以在这个网站中找到在这里面可以搜到你可能想要的东西
打开一个你想要安装的脚本(这里以上面推荐的网课助手为例),点击安装此脚本,在弹出的页面再点安装就好了,打开对应的网站脚本便会开始工作
</div></div></div><div class="recent-post-item"><div class="recent-post-info no-cover"><a class="article-title" href="/post/22712b2a1b1d/" title="油猴插件(扩展)安装教程">油猴插件(扩展)安装教程</a><div class="article-meta-wrap"><span class="post-meta-date"><i class="far fa-calendar-alt"></i><span class="article-meta-label">发表于</span><time datetime="2020-10-25T04:18:52.000Z" title="发表于 2020-10-25 12:18:52">2020-10-25</time></span></div><div class="content">油猴插件是什么就不多说了,这不是今天的主题
1.Chrome安装如果你有梯子可以直接在谷歌插件商店安装https://chrome.google.com/webstore/category/extensions如果你没有,请看下面
首先下载Tampermonkey这个东西需要梯子,我这里直接提供下载链接,点击即下https://www.zhoupb.com/Tampermonkey_extension_4_9_0_0.crx下载完成后,打开chrome(谷歌浏览器,文章内统一叫chrome)1.在chrome浏览器的地址栏输入,或直接点击打开chrome://extensions/
2.点击右上方的开发者模式。如图!
3.将刚刚下载的文件拖入到浏览器中。如图。
4.点击“添加扩展程序”。可能会弹出一个新页面,关闭就好。至此。Tampermonkey安装完成。
2.Edge安装打开系统自带商店,搜索Tampermonkey,点击安装即可
3.新版Edge安装打开链接https://microsoftedge.microsoft.com/addons/detail/iikmkjmpaada ...</div></div></div><div class="recent-post-item"><div class="recent-post-info no-cover"><a class="article-title" href="/post/a9c21c1cc80a/" title="java实现在线预览PDF文件">java实现在线预览PDF文件</a><div class="article-meta-wrap"><span class="post-meta-date"><i class="far fa-calendar-alt"></i><span class="article-meta-label">发表于</span><time datetime="2020-10-25T04:18:29.000Z" title="发表于 2020-10-25 12:18:29">2020-10-25</time></span><span class="article-meta"><span class="article-meta__separator">|</span><i class="fas fa-inbox article-meta__icon"></i><a class="article-meta__categories" href="/categories/Java/">Java</a></span></div><div class="content">最近碰到一个需求,要求实现office文件和PDF文件能够实现实时预览的效果
最后经过查找发现现在有新的头部信息application/pdf
在后端读取文件以后设置头**Content-Type: application/pdf**
现在主流浏览器均支持这种资源的MIME类型 ( 测试了ie会直接进行下载 )
对于office文件我们就可以将它转变为pdf文件进行输出,当然这会对服务器的压力较大,我会寻找更好的方法
最后附上代码
123456789101112@RequestMapping(value = &quot;/pdf&quot;)public String viewPdf(HttpServletResponse response) throws IOException &#123; FileInputStream in = new FileInputStream(new File(&quot;&quot;)); OutputStream out = response.getOutputStream(); response.setHeader(&quot; ...</div></div></div><div class="recent-post-item"><div class="recent-post-info no-cover"><a class="article-title" href="/post/bee7e3a05661/" title="排序算法-计数排序">排序算法-计数排序</a><div class="article-meta-wrap"><span class="post-meta-date"><i class="far fa-calendar-alt"></i><span class="article-meta-label">发表于</span><time datetime="2020-10-25T04:18:17.000Z" title="发表于 2020-10-25 12:18:17">2020-10-25</time></span><span class="article-meta"><span class="article-meta__separator">|</span><i class="fas fa-inbox article-meta__icon"></i><a class="article-meta__categories" href="/categories/%E6%95%B0%E6%8D%AE%E7%BB%93%E6%9E%84-%E7%AE%97%E6%B3%95/">数据结构&amp;算法</a></span></div><div class="content">
计数排序是一个非基于比较的排序算法,该算法于1954年由 Harold H. Seward 提出。它的优势在于在对一定范围内的整数排序时,它的复杂度为Ο(n+k)(其中k是整数的范围),快于任何比较排序算法。当然这是一种牺牲空间换取时间的做法,而且当O(k)&gt;O(n*log(n))的时候其效率反而不如基于比较的排序(基于比较的排序的时间复杂度在理论上的下限是O(n*log(n)), 如归并排序,堆排序)
1.排序过程
找出待排序的数组中最大和最小的元素;
创建一个桶(数组),大小是最大值-最小值+1。
遍历待排序数组,并往相应的桶里计数
遍历桶,找出计数大于0的下标,重新填入待排序数组
2.代码实现(Java)123456789101112131415161718192021222324252627public static void countingSort(int[] arr) &#123; if (arr.length == 0) return; int min = arr[0], max = arr[0]; // 查找最大最小值 for ( ...</div></div></div><div class="recent-post-item"><div class="recent-post-info no-cover"><a class="article-title" href="/post/65d16a9b1ead/" title="力扣-1111-有效括号的嵌套深度">力扣-1111-有效括号的嵌套深度</a><div class="article-meta-wrap"><span class="post-meta-date"><i class="far fa-calendar-alt"></i><span class="article-meta-label">发表于</span><time datetime="2020-10-25T04:18:02.000Z" title="发表于 2020-10-25 12:18:02">2020-10-25</time></span><span class="article-meta"><span class="article-meta__separator">|</span><i class="fas fa-inbox article-meta__icon"></i><a class="article-meta__categories" href="/categories/Leetcode/">Leetcode</a></span></div><div class="content">
1111. 有效括号的嵌套深度
题目太长了,我就不贴上来了
来源:力扣(LeetCode)链接:https://leetcode-cn.com/problems/maximum-nesting-depth-of-two-valid-parentheses-strings著作权归领扣网络所有。商业转载请联系官方授权,非商业转载请注明出处。
欢迎来到一日一题的阅读理解,刚开始看到这个题,What are you talking about?琢磨题目意思,看了下官解,正所谓交卷五分钟,阅题两小时
下面开始我们的阅读理解,哦不,解题:请先忘记你之前看到的题目。我们先分析这句话“ 使 max(depth(A), depth(B)) 的可能取值最小”意思就是A与B的长度是差不多的,我把奇数位给A,偶数位给B,就会几乎等长了。
括号
(
(
(
)
)
(
)
)
下标
0
1
2
3
4
5
6
7
深度
1
2
3
3
2
2
2
1
结果
1
0
1
1
0
0
0
1
由上表格我们可以发现,括号的深度为奇数的时候给A,标识为1,偶数给 ...</div></div></div><nav id="pagination"><div class="pagination"><span class="page-number current">1</span><a class="page-number" href="/page/2/">2</a><a class="page-number" href="/page/3/">3</a><a class="extend next" rel="next" href="/page/2/"><i class="fas fa-chevron-right fa-fw"></i></a></div></nav></div><div class="aside_content" id="aside_content"><div class="card-widget card-info"><div class="card-content"><div class="card-info-avatar is-center"><img class="avatar-img" src="https://q1.qlogo.cn/g?b=qq&amp;nk=1282381264&amp;s=640" onerror="this.onerror=null;this.src='/img/friend_404.gif'" alt="avatar"/><div class="author-info__name">小羊</div><div class="author-info__description"></div></div><div class="card-info-data"><div class="card-info-data-item is-center"><a href="/archives/"><div class="headline">文章</div><div class="length-num">21</div></a></div><div class="card-info-data-item is-center"><a href="/tags/"><div class="headline">标签</div><div class="length-num">7</div></a></div><div class="card-info-data-item is-center"><a href="/categories/"><div class="headline">分类</div><div class="length-num">7</div></a></div></div><a class="button--animated" id="card-info-btn" target="_blank" rel="noopener" href="https://github.com/xxxxxx"><i class="fab fa-github"></i><span>Follow Me</span></a></div></div><div class="card-widget card-announcement"><div class="card-content"><div class="item-headline"><i class="fas fa-bullhorn card-announcement-animation"></i><span>公告</span></div><div class="announcement_content">This is my Blog</div></div></div><div class="sticky_layout"><div class="card-widget card-recent-post"><div class="card-content"><div class="item-headline"><i class="fas fa-history"></i><span>最新文章</span></div><div class="aside-list"><div class="aside-list-item"><a class="thumbnail" href="/post/6cc9fc120314/" title="51实现数码管动态显示数字"><img src="https://backiee.com/static/wpdb/wallpapers/1000x563/157681.jpg" onerror="this.onerror=null;this.src='/img/404.jpg'" alt="51实现数码管动态显示数字"/></a><div class="content"><a class="title" href="/post/6cc9fc120314/" title="51实现数码管动态显示数字">51实现数码管动态显示数字</a><time datetime="2021-07-15T02:15:30.000Z" title="发表于 2021-07-15 10:15:30">2021-07-15</time></div></div><div class="aside-list-item"><a class="thumbnail" href="/post/9d53bacce392/" title="Mybatis-Plus中枚举类型注入失败"><img src="https://cdn.jsdelivr.net/npm/butterfly-extsrc@1/img/default.jpg" onerror="this.onerror=null;this.src='/img/404.jpg'" alt="Mybatis-Plus中枚举类型注入失败"/></a><div class="content"><a class="title" href="/post/9d53bacce392/" title="Mybatis-Plus中枚举类型注入失败">Mybatis-Plus中枚举类型注入失败</a><time datetime="2021-04-15T04:14:46.000Z" title="发表于 2021-04-15 12:14:46">2021-04-15</time></div></div><div class="aside-list-item"><a class="thumbnail" href="/post/8ccfd180b3b3/" title="前后端分离项目使用postMessage解决QQ快捷登录"><img src="https://cdn.jsdelivr.net/npm/butterfly-extsrc@1/img/default.jpg" onerror="this.onerror=null;this.src='/img/404.jpg'" alt="前后端分离项目使用postMessage解决QQ快捷登录"/></a><div class="content"><a class="title" href="/post/8ccfd180b3b3/" title="前后端分离项目使用postMessage解决QQ快捷登录">前后端分离项目使用postMessage解决QQ快捷登录</a><time datetime="2020-12-04T09:11:39.000Z" title="发表于 2020-12-04 17:11:39">2020-12-04</time></div></div><div class="aside-list-item"><a class="thumbnail" href="/post/a79691a4f198/" title="JavaScript实现文件读取"><img src="https://cdn.jsdelivr.net/npm/butterfly-extsrc@1/img/default.jpg" onerror="this.onerror=null;this.src='/img/404.jpg'" alt="JavaScript实现文件读取"/></a><div class="content"><a class="title" href="/post/a79691a4f198/" title="JavaScript实现文件读取">JavaScript实现文件读取</a><time datetime="2020-11-28T11:49:11.000Z" title="发表于 2020-11-28 19:49:11">2020-11-28</time></div></div><div class="aside-list-item"><a class="thumbnail" href="/post/386c211c067f/" title="Mysql8忘记密码解决办法"><img src="https://cdn.jsdelivr.net/npm/butterfly-extsrc@1/img/default.jpg" onerror="this.onerror=null;this.src='/img/404.jpg'" alt="Mysql8忘记密码解决办法"/></a><div class="content"><a class="title" href="/post/386c211c067f/" title="Mysql8忘记密码解决办法">Mysql8忘记密码解决办法</a><time datetime="2020-11-25T05:36:01.000Z" title="发表于 2020-11-25 13:36:01">2020-11-25</time></div></div></div></div></div><div class="card-widget card-categories"><div class="card-content"><div class="item-headline"><i class="fas fa-folder-open"></i><span>分类</span></div><ul class="card-category-list" id="aside-cat-list">
<li class="card-category-list-item "><a class="card-category-list-link" href="/categories/Java/"><span class="card-category-list-name">Java</span><span class="card-category-list-count">3</span></a></li><li class="card-category-list-item "><a class="card-category-list-link" href="/categories/Leetcode/"><span class="card-category-list-name">Leetcode</span><span class="card-category-list-count">3</span></a></li><li class="card-category-list-item "><a class="card-category-list-link" href="/categories/Linux/"><span class="card-category-list-name">Linux</span><span class="card-category-list-count">1</span></a></li><li class="card-category-list-item "><a class="card-category-list-link" href="/categories/MCU/"><span class="card-category-list-name">MCU</span><span class="card-category-list-count">1</span></a></li><li class="card-category-list-item "><a class="card-category-list-link" href="/categories/Python/"><span class="card-category-list-name">Python</span><span class="card-category-list-count">2</span></a></li><li class="card-category-list-item "><a class="card-category-list-link" href="/categories/Vue/"><span class="card-category-list-name">Vue</span><span class="card-category-list-count">1</span></a></li><li class="card-category-list-item "><a class="card-category-list-link" href="/categories/%E6%95%B0%E6%8D%AE%E7%BB%93%E6%9E%84-%E7%AE%97%E6%B3%95/"><span class="card-category-list-name">数据结构&算法</span><span class="card-category-list-count">2</span></a></li>
</ul></div></div><div class="card-widget card-tags"><div class="card-content"><div class="item-headline"><i class="fas fa-tags"></i><span>标签</span></div><div class="card-tag-cloud"><a href="/tags/51%E5%8D%95%E7%89%87%E6%9C%BA/" style="font-size: 1.1em; color: #999">51单片机</a> <a href="/tags/Java/" style="font-size: 1.5em; color: #99a9bf">Java</a> <a href="/tags/Linux/" style="font-size: 1.1em; color: #999">Linux</a> <a href="/tags/Mysql/" style="font-size: 1.1em; color: #999">Mysql</a> <a href="/tags/Vue/" style="font-size: 1.1em; color: #999">Vue</a> <a href="/tags/java/" style="font-size: 1.5em; color: #99a9bf">java</a> <a href="/tags/%E7%AE%97%E6%B3%95/" style="font-size: 1.1em; color: #999">算法</a></div></div></div><div class="card-widget card-archives"><div class="card-content"><div class="item-headline"><i class="fas fa-archive"></i><span>归档</span></div><ul class="card-archive-list"><li class="card-archive-list-item"><a class="card-archive-list-link" href="/archives/2021/07/"><span class="card-archive-list-date">七月 2021</span><span class="card-archive-list-count">1</span></a></li><li class="card-archive-list-item"><a class="card-archive-list-link" href="/archives/2021/04/"><span class="card-archive-list-date">四月 2021</span><span class="card-archive-list-count">1</span></a></li><li class="card-archive-list-item"><a class="card-archive-list-link" href="/archives/2020/12/"><span class="card-archive-list-date">十二月 2020</span><span class="card-archive-list-count">1</span></a></li><li class="card-archive-list-item"><a class="card-archive-list-link" href="/archives/2020/11/"><span class="card-archive-list-date">十一月 2020</span><span class="card-archive-list-count">2</span></a></li><li class="card-archive-list-item"><a class="card-archive-list-link" href="/archives/2020/10/"><span class="card-archive-list-date">十月 2020</span><span class="card-archive-list-count">16</span></a></li></ul></div></div><div class="card-widget card-webinfo"><div class="card-content"><div class="item-headline"><i class="fas fa-chart-line"></i><span>网站资讯</span></div><div class="webinfo"><div class="webinfo-item"><div class="item-name">文章数目 :</div><div class="item-count">21</div></div><div class="webinfo-item"><div class="item-name">已运行时间 :</div><div class="item-count" id="runtimeshow" data-publishDate="2019-12-31T16:00:00.000Z"></div></div><div class="webinfo-item"><div class="item-name">本站访客数 :</div><div class="item-count" id="busuanzi_value_site_uv"></div></div><div class="webinfo-item"><div class="item-name">本站总访问量 :</div><div class="item-count" id="busuanzi_value_site_pv"></div></div><div class="webinfo-item"><div class="item-name">最后更新时间 :</div><div class="item-count" id="last-push-date" data-lastPushDate="2021-07-16T04:14:17.749Z"></div></div></div></div></div></div></div></main><footer id="footer" style="background-image: url(/./static/bg_sheep.jpg)"><div id="footer-wrap"><div class="copyright">&copy;2020 - 2021 By 小羊</div><div class="framework-info"><span>框架 </span><a target="_blank" rel="noopener" href="https://hexo.io">Hexo</a><span class="footer-separator">|</span><span>主题 </span><a target="_blank" rel="noopener" href="https://github.com/jerryc127/hexo-theme-butterfly">Butterfly</a></div><div class="footer_custom_text">Copyright © 2020-2021 <a href="https://www.xiaosm.cn">WWW.XIAOSM.CN</a></div><div class="icp"><a target="_blank" rel="noopener" href="https://beian.miit.gov.cn/"><span>湘ICP备18023752号-1</span></a></div></div></footer></div><div id="rightside"><div id="rightside-config-hide"><button id="darkmode" type="button" title="浅色和深色模式转换"><i class="fas fa-adjust"></i></button><button id="hide-aside-btn" type="button"><i class="fas fa-arrows-alt-h"></i></button></div><div id="rightside-config-show"><button id="rightside_config" type="button" title="设置"><i class="fas fa-cog"></i></button><button id="go-up" type="button" title="回到顶部"><i class="fas fa-arrow-up"></i></button></div></div><div><script src="https://cdn.jsdelivr.net/npm/jquery@latest/dist/jquery.min.js"></script><script src="/js/utils.js"></script><script src="/js/main.js"></script><script src="https://cdn.jsdelivr.net/npm/@fancyapps/fancybox@latest/dist/jquery.fancybox.min.js"></script><div class="js-pjax"><script>function subtitleType () {
if (false) {
var typed = new Typed("#subtitle", {
strings: "Nothing is impossible for a willing heart".split(","),
startDelay: 300,
typeSpeed: 150,
loop: false,
backSpeed: 50
})
} else {
document.getElementById("subtitle").innerHTML = 'Nothing is impossible for a willing heart'
}
}
if (false) {
if (typeof Typed === 'function') subtitleType()
else $.getScript('https://cdn.jsdelivr.net/npm/typed.js/lib/typed.min.js', subtitleType)
} else {
subtitleType()
}</script><script>if (document.getElementsByClassName('mermaid').length) {
if (window.mermaidJsLoad) mermaid.init()
else {
$.getScript('https://cdn.jsdelivr.net/npm/mermaid/dist/mermaid.min.js', function () {
window.mermaidJsLoad = true
mermaid.initialize({
theme: 'default',
})
false && mermaid.init()
})
}
}</script><script async src="//busuanzi.ibruce.info/busuanzi/2.3/busuanzi.pure.mini.js"></script></div></div></body></html>
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/yangzxi/yangzx1282.git
[email protected]:yangzxi/yangzx1282.git
yangzxi
yangzx1282
小羊的笔记本
main

搜索帮助