-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit fa225a1
Showing
52 changed files
with
1,031 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
352bd565dba7475c6fea2025b91ed85021a14e5b |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
b45e7a190b591ffb595d4b39fbdb1d2e815dba99 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
<!doctype html><html lang=zh-cn><head><meta charset=utf-8><meta http-equiv=x-ua-compatible content="IE=edge,chrome=1"><meta name=viewport content="width=device-width,initial-scale=1"><meta name=author content="leen"><meta name=description content="简介 2024年,开始学习React,Solidjs,Svelte,不知道算不算49年入国军。 时间线 2021-10-05 正式开站。 "><meta name=keywords content="leen,leenzhu,blog,博客,笔记,教程,vpp,编程,golang,C,js,javascript"><link rel=canonical href=https://leenzhu.com/about.html><title>关于 · Leen Zhu</title><link rel="shortcut icon" href=/image/logo.png><link rel=stylesheet href=/css/normalize.css><link rel=stylesheet href=/css/chroma.css><link rel=stylesheet href=/scss/sun.min.173be92a65a018529d78026ec3240959d2a3dd35b070c391cad265c861d20173.css integrity="sha256-FzvpKmWgGFKdeAJuwyQJWdKj3TWwcMORytJlyGHSAXM=" crossorigin=anonymous></head><body><div class=main><header class="header clearfix"><a href=/ class=site-logo><img src=/image/logo.png></img></a><div class=site-info><h1 class=site-name><a href=/>Leen Zhu</a></h1><p class=site-description>while(life--) money++;</p></div><nav class=site-nav><a href=/>首页</a> | ||
<a href=/posts.html>归档</a> | ||
<a href=/categories.html>分类</a> | ||
<a href=/tags.html>标签</a> | ||
<a href=/about.html>关于</a></nav></header><div class=content><div calss=post-page><h2 id=简介>简介</h2><ul><li>2024年,开始学习React,Solidjs,Svelte,不知道算不算49年入国军。</li></ul><h2 id=时间线>时间线</h2><ul><li><code>2021-10-05</code> 正式开站。</li></ul></div></div></div><div class=footer><div class=copyright>@2019 <a href=https://leenzhu.com>LeenZhu</a></div><div class=powered_by>Power by <a href=http://www.gohugo.io/>Hugo</a>, | ||
using <a href=https://github.com/leenzhu/hugo-theme-sun>Sun</a> Theme</div></div></body></html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
<!doctype html><html lang=zh-cn><head><meta charset=utf-8><meta http-equiv=x-ua-compatible content="IE=edge,chrome=1"><meta name=viewport content="width=device-width,initial-scale=1"><meta name=author content="leen"><meta name=description content="while(life--) money++;"><meta name=keywords content="leen,leenzhu,blog,博客,笔记,教程,vpp,编程,golang,C,js,javascript"><link rel=canonical href=https://leenzhu.com/categories.html><link rel=alternate type=application/rss+xml href=https://leenzhu.com/categories/index.xml><title>Categories · Leen Zhu</title><link rel="shortcut icon" href=/image/logo.png><link rel=stylesheet href=/css/normalize.css><link rel=stylesheet href=/css/chroma.css><link rel=stylesheet href=/scss/sun.min.173be92a65a018529d78026ec3240959d2a3dd35b070c391cad265c861d20173.css integrity="sha256-FzvpKmWgGFKdeAJuwyQJWdKj3TWwcMORytJlyGHSAXM=" crossorigin=anonymous></head><body><div class=main><header class="header clearfix"><a href=/ class=site-logo><img src=/image/logo.png></img></a><div class=site-info><h1 class=site-name><a href=/>Leen Zhu</a></h1><p class=site-description>while(life--) money++;</p></div><nav class=site-nav><a href=/>首页</a> | ||
<a href=/posts.html>归档</a> | ||
<a href=/categories.html>分类</a> | ||
<a href=/tags.html>标签</a> | ||
<a href=/about.html>关于</a></nav></header><div class=content><h1>分类</h1><div class=tag-list><ul><li><a href=https://leenzhu.com/categories/tech.html>Tech</a> <span class=count>6</span></li><ul></div></div></div><div class=footer><div class=copyright>@2019 <a href=https://leenzhu.com>LeenZhu</a></div><div class=powered_by>Power by <a href=http://www.gohugo.io/>Hugo</a>, | ||
using <a href=https://github.com/leenzhu/hugo-theme-sun>Sun</a> Theme</div></div></body></html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Categories on Leen Zhu</title><link>https://leenzhu.com/categories.html</link><description>Recent content in Categories on Leen Zhu</description><generator>Hugo -- gohugo.io</generator><language>zh-cn</language><lastBuildDate>Mon, 23 Sep 2024 17:10:58 +0800</lastBuildDate><atom:link href="https://leenzhu.com/categories/index.xml" rel="self" type="application/rss+xml"/><item><title>Tech</title><link>https://leenzhu.com/categories/tech.html</link><pubDate>Mon, 23 Sep 2024 17:10:58 +0800</pubDate><guid>https://leenzhu.com/categories/tech.html</guid><description/></item></channel></rss> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
<!doctype html><html lang=zh-cn><head><meta charset=utf-8><meta http-equiv=x-ua-compatible content="IE=edge,chrome=1"><meta name=viewport content="width=device-width,initial-scale=1"><meta name=author content="leen"><meta name=description content="while(life--) money++;"><meta name=keywords content="leen,leenzhu,blog,博客,笔记,教程,vpp,编程,golang,C,js,javascript"><link rel=canonical href=https://leenzhu.com/categories/tech.html><link rel=alternate type=application/rss+xml href=https://leenzhu.com/categories/tech/index.xml><title>Tech · Leen Zhu</title><link rel="shortcut icon" href=/image/logo.png><link rel=stylesheet href=/css/normalize.css><link rel=stylesheet href=/css/chroma.css><link rel=stylesheet href=/scss/sun.min.173be92a65a018529d78026ec3240959d2a3dd35b070c391cad265c861d20173.css integrity="sha256-FzvpKmWgGFKdeAJuwyQJWdKj3TWwcMORytJlyGHSAXM=" crossorigin=anonymous></head><body><div class=main><header class="header clearfix"><a href=/ class=site-logo><img src=/image/logo.png></img></a><div class=site-info><h1 class=site-name><a href=/>Leen Zhu</a></h1><p class=site-description>while(life--) money++;</p></div><nav class=site-nav><a href=/>首页</a> | ||
<a href=/posts.html>归档</a> | ||
<a href=/categories.html>分类</a> | ||
<a href=/tags.html>标签</a> | ||
<a href=/about.html>关于</a></nav></header><div class=content><h1>@Tech</h1><div class=archive-group><h2>2024</h2><div class=archive-list><div class=archive-item><span class=date>09-23</span> | ||
<a href=/posts/ldconfig.html>ldconfig</a></div><div class=archive-item><span class=date>05-31</span> | ||
<a href=/posts/git-branch-points-at.html>git 根据commit反查branch、tag名</a></div></div><h2>2023</h2><div class=archive-list><div class=archive-item><span class=date>07-26</span> | ||
<a href=/posts/git%E6%9C%AC%E5%9C%B0%E5%88%86%E6%94%AF%E4%B8%8E%E8%BF%9C%E7%AB%AF%E9%87%8D%E5%90%8D.html>git本地分支与远端重名</a></div><div class=archive-item><span class=date>07-25</span> | ||
<a href=/posts/round_pow2-%E5%87%BD%E6%95%B0%E5%88%86%E6%9E%90.html>round_pow2 函数分析</a></div><div class=archive-item><span class=date>05-15</span> | ||
<a href=/posts/golang-binary.html>Golang Binary包使用</a></div></div><h2>2021</h2><div class=archive-list><div class=archive-item><span class=date>10-06</span> | ||
<a href=/posts/hugo-show-buddle-img.html>hugo 显相对路径下的图片</a></div></div></div></div></div><div class=footer><div class=copyright>@2019 <a href=https://leenzhu.com>LeenZhu</a></div><div class=powered_by>Power by <a href=http://www.gohugo.io/>Hugo</a>, | ||
using <a href=https://github.com/leenzhu/hugo-theme-sun>Sun</a> Theme</div></div></body></html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Tech on Leen Zhu</title><link>https://leenzhu.com/categories/tech.html</link><description>Recent content in Tech on Leen Zhu</description><generator>Hugo -- gohugo.io</generator><language>zh-cn</language><lastBuildDate>Mon, 23 Sep 2024 17:10:58 +0800</lastBuildDate><atom:link href="https://leenzhu.com/categories/tech/index.xml" rel="self" type="application/rss+xml"/><item><title>ldconfig</title><link>https://leenzhu.com/posts/ldconfig.html</link><pubDate>Mon, 23 Sep 2024 17:10:58 +0800</pubDate><guid>https://leenzhu.com/posts/ldconfig.html</guid><description><p>工作时遇到了一个奇的问题。手动创建某个<code>so</code>符号链接似乎不能被<code>ldconfig</code>识别。</p></description></item><item><title>git 根据commit反查branch、tag名</title><link>https://leenzhu.com/posts/git-branch-points-at.html</link><pubDate>Fri, 31 May 2024 10:57:48 +0800</pubDate><guid>https://leenzhu.com/posts/git-branch-points-at.html</guid><description><p>在使用 <code>git</code> 的时候大部分时候都是通过 <code>git rev-parse &lt;branch-name&gt;</code> 来获取某个分支名对应的 <code>commit id</code> 但是一直没遇到通过 <code>commit id</code> 来获取分支名的场景。在学习 <code>git rebase</code> 命令的时候突然想知道有没有这个命令。于是就开始问 <code>chatgpt</code> 了。</p></description></item><item><title>git本地分支与远端重名</title><link>https://leenzhu.com/posts/git%E6%9C%AC%E5%9C%B0%E5%88%86%E6%94%AF%E4%B8%8E%E8%BF%9C%E7%AB%AF%E9%87%8D%E5%90%8D.html</link><pubDate>Wed, 26 Jul 2023 00:00:00 +0000</pubDate><guid>https://leenzhu.com/posts/git%E6%9C%AC%E5%9C%B0%E5%88%86%E6%94%AF%E4%B8%8E%E8%BF%9C%E7%AB%AF%E9%87%8D%E5%90%8D.html</guid><description><p>今天遇到一个git名字ambiguous的问题。</p> | ||
<blockquote> | ||
<p>warning: refname &lsquo;origin/master&rsquo; is ambiguous.</p> | ||
</blockquote></description></item><item><title>round_pow2 函数分析</title><link>https://leenzhu.com/posts/round_pow2-%E5%87%BD%E6%95%B0%E5%88%86%E6%9E%90.html</link><pubDate>Tue, 25 Jul 2023 00:00:00 +0000</pubDate><guid>https://leenzhu.com/posts/round_pow2-%E5%87%BD%E6%95%B0%E5%88%86%E6%9E%90.html</guid><description><p>网上搜了一圈没有搜到对这个函数的说明。这个函数的名称给我造成一些误解,让我认为这是<strong>四舍五入</strong>的概念,对于浮点数取整一般有3种情况:</p></description></item><item><title>Golang Binary包使用</title><link>https://leenzhu.com/posts/golang-binary.html</link><pubDate>Mon, 15 May 2023 00:00:00 +0000</pubDate><guid>https://leenzhu.com/posts/golang-binary.html</guid><description><p>在使用golang的过程需要进行NBNS的报文解析,经调研发现NBNS的报文大都是定长报文,并且需要处理这些报文也不需要太高的性能,所有就决定使用 <code>encoding/binary</code>包来进行编解码。学习过程中对这个包内每个函数都进行尝试并整理出笔记如下。</p></description></item><item><title>hugo 显相对路径下的图片</title><link>https://leenzhu.com/posts/hugo-show-buddle-img.html</link><pubDate>Wed, 06 Oct 2021 11:36:03 +0800</pubDate><guid>https://leenzhu.com/posts/hugo-show-buddle-img.html</guid><description><p>很早以前发现 <code>hugo server</code> 命令在本地预览时不能显示相文章相对路径下的图片。但是普通web服务器是可以显示的一直都不知道是什么原因,之前也曾花费大量时间翻遍整个hugo论坛,也没有找到解决方案,因为我的 <code>emacs</code> 可以直接预览图片,发布后也能正常显示图片,后来也就不去管它了。但是今天非常偶然的发现原来 <code>hugo server</code> 也可能预览相对路径的下图片。</p></description></item></channel></rss> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
<!doctype html><html lang=zh-cn><head><title>https://leenzhu.com/categories/tech.html</title><link rel=canonical href=https://leenzhu.com/categories/tech.html><meta name=robots content="noindex"><meta charset=utf-8><meta http-equiv=refresh content="0; url=https://leenzhu.com/categories/tech.html"></head></html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,68 @@ | ||
/* Background */ .chroma { background-color: #e0e0e0 ; padding: 10px;white-space: pre-line;word-wrap: break-word;} | ||
/* Error */ .chroma .err { } | ||
/* LineTableTD */ .chroma .lntd { vertical-align: top; padding: 0; margin: 0; border: 0; } | ||
/* LineTable */ .chroma .lntable { border-spacing: 0; padding: 0; margin: 0; border: 0; width: auto; overflow: auto; display: block; } | ||
/* LineHighlight */ .chroma .hl { display: block; width: 100%;background-color: #ffffcc } | ||
/* LineNumbersTable */ .chroma .lnt { margin-right: 0.4em; padding: 0 0.4em 0 0.4em;color: #7f7f7f } | ||
/* LineNumbers */ .chroma .ln { margin-right: 0.4em; padding: 0 0.4em 0 0.4em;color: #7f7f7f } | ||
/* Keyword */ .chroma .k { color: #007020; font-weight: bold } | ||
/* KeywordConstant */ .chroma .kc { color: #007020; font-weight: bold } | ||
/* KeywordDeclaration */ .chroma .kd { color: #007020; font-weight: bold } | ||
/* KeywordNamespace */ .chroma .kn { color: #007020; font-weight: bold } | ||
/* KeywordPseudo */ .chroma .kp { color: #007020 } | ||
/* KeywordReserved */ .chroma .kr { color: #007020; font-weight: bold } | ||
/* KeywordType */ .chroma .kt { color: #902000 } | ||
/* NameAttribute */ .chroma .na { color: #4070a0 } | ||
/* NameBuiltin */ .chroma .nb { color: #007020 } | ||
/* NameClass */ .chroma .nc { color: #0e84b5; font-weight: bold } | ||
/* NameConstant */ .chroma .no { color: #60add5 } | ||
/* NameDecorator */ .chroma .nd { color: #555555; font-weight: bold } | ||
/* NameEntity */ .chroma .ni { color: #d55537; font-weight: bold } | ||
/* NameException */ .chroma .ne { color: #007020 } | ||
/* NameFunction */ .chroma .nf { color: #06287e } | ||
/* NameLabel */ .chroma .nl { color: #002070; font-weight: bold } | ||
/* NameNamespace */ .chroma .nn { color: #0e84b5; font-weight: bold } | ||
/* NameTag */ .chroma .nt { color: #062873; font-weight: bold } | ||
/* NameVariable */ .chroma .nv { color: #bb60d5 } | ||
/* LiteralString */ .chroma .s { color: #4070a0 } | ||
/* LiteralStringAffix */ .chroma .sa { color: #4070a0 } | ||
/* LiteralStringBacktick */ .chroma .sb { color: #4070a0 } | ||
/* LiteralStringChar */ .chroma .sc { color: #4070a0 } | ||
/* LiteralStringDelimiter */ .chroma .dl { color: #4070a0 } | ||
/* LiteralStringDoc */ .chroma .sd { color: #4070a0; font-style: italic } | ||
/* LiteralStringDouble */ .chroma .s2 { color: #4070a0 } | ||
/* LiteralStringEscape */ .chroma .se { color: #4070a0; font-weight: bold } | ||
/* LiteralStringHeredoc */ .chroma .sh { color: #4070a0 } | ||
/* LiteralStringInterpol */ .chroma .si { color: #70a0d0; font-style: italic } | ||
/* LiteralStringOther */ .chroma .sx { color: #c65d09 } | ||
/* LiteralStringRegex */ .chroma .sr { color: #235388 } | ||
/* LiteralStringSingle */ .chroma .s1 { color: #4070a0 } | ||
/* LiteralStringSymbol */ .chroma .ss { color: #517918 } | ||
/* LiteralNumber */ .chroma .m { color: #40a070 } | ||
/* LiteralNumberBin */ .chroma .mb { color: #40a070 } | ||
/* LiteralNumberFloat */ .chroma .mf { color: #40a070 } | ||
/* LiteralNumberHex */ .chroma .mh { color: #40a070 } | ||
/* LiteralNumberInteger */ .chroma .mi { color: #40a070 } | ||
/* LiteralNumberIntegerLong */ .chroma .il { color: #40a070 } | ||
/* LiteralNumberOct */ .chroma .mo { color: #40a070 } | ||
/* Operator */ .chroma .o { color: #666666 } | ||
/* OperatorWord */ .chroma .ow { color: #007020; font-weight: bold } | ||
/* Comment */ .chroma .c { color: #60a0b0; font-style: italic } | ||
/* CommentHashbang */ .chroma .ch { color: #60a0b0; font-style: italic } | ||
/* CommentMultiline */ .chroma .cm { color: #60a0b0; font-style: italic } | ||
/* CommentSingle */ .chroma .c1 { color: #60a0b0; font-style: italic } | ||
/* CommentSpecial */ .chroma .cs { color: #60a0b0; background-color: #fff0f0 } | ||
/* CommentPreproc */ .chroma .cp { color: #007020 } | ||
/* CommentPreprocFile */ .chroma .cpf { color: #007020 } | ||
/* GenericDeleted */ .chroma .gd { color: #a00000 } | ||
/* GenericEmph */ .chroma .ge { font-style: italic } | ||
/* GenericError */ .chroma .gr { color: #ff0000 } | ||
/* GenericHeading */ .chroma .gh { color: #000080; font-weight: bold } | ||
/* GenericInserted */ .chroma .gi { color: #00a000 } | ||
/* GenericOutput */ .chroma .go { color: #888888 } | ||
/* GenericPrompt */ .chroma .gp { color: #c65d09; font-weight: bold } | ||
/* GenericStrong */ .chroma .gs { font-weight: bold } | ||
/* GenericSubheading */ .chroma .gu { color: #800080; font-weight: bold } | ||
/* GenericTraceback */ .chroma .gt { color: #0044dd } | ||
/* GenericUnderline */ .chroma .gl { text-decoration: underline } | ||
/* TextWhitespace */ .chroma .w { color: #bbbbbb } |
Oops, something went wrong.