Skip to content

Commit

Permalink
auto publish by action
Browse files Browse the repository at this point in the history
  • Loading branch information
leenzhu committed Sep 24, 2024
0 parents commit fa225a1
Show file tree
Hide file tree
Showing 52 changed files with 1,031 additions and 0 deletions.
1 change: 1 addition & 0 deletions 43cd4fb344b35c375f0195c04167206c.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
352bd565dba7475c6fea2025b91ed85021a14e5b
1 change: 1 addition & 0 deletions 58f97de7eceaa2f7ce7d982b1c9ad661.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
b45e7a190b591ffb595d4b39fbdb1d2e815dba99
6 changes: 6 additions & 0 deletions about.html
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>关于 &#183; 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>
6 changes: 6 additions & 0 deletions categories.html
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 &#183; 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>
1 change: 1 addition & 0 deletions categories/index.xml
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>
12 changes: 12 additions & 0 deletions categories/tech.html
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 &#183; 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>
4 changes: 4 additions & 0 deletions categories/tech/index.xml
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>&lt;p>工作时遇到了一个奇的问题。手动创建某个&lt;code>so&lt;/code>符号链接似乎不能被&lt;code>ldconfig&lt;/code>识别。&lt;/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>&lt;p>在使用 &lt;code>git&lt;/code> 的时候大部分时候都是通过 &lt;code>git rev-parse &amp;lt;branch-name&amp;gt;&lt;/code> 来获取某个分支名对应的 &lt;code>commit id&lt;/code> 但是一直没遇到通过 &lt;code>commit id&lt;/code> 来获取分支名的场景。在学习 &lt;code>git rebase&lt;/code> 命令的时候突然想知道有没有这个命令。于是就开始问 &lt;code>chatgpt&lt;/code> 了。&lt;/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>&lt;p>今天遇到一个git名字ambiguous的问题。&lt;/p>
&lt;blockquote>
&lt;p>warning: refname &amp;lsquo;origin/master&amp;rsquo; is ambiguous.&lt;/p>
&lt;/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>&lt;p>网上搜了一圈没有搜到对这个函数的说明。这个函数的名称给我造成一些误解,让我认为这是&lt;strong>四舍五入&lt;/strong>的概念,对于浮点数取整一般有3种情况:&lt;/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>&lt;p>在使用golang的过程需要进行NBNS的报文解析,经调研发现NBNS的报文大都是定长报文,并且需要处理这些报文也不需要太高的性能,所有就决定使用 &lt;code>encoding/binary&lt;/code>包来进行编解码。学习过程中对这个包内每个函数都进行尝试并整理出笔记如下。&lt;/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>&lt;p>很早以前发现 &lt;code>hugo server&lt;/code> 命令在本地预览时不能显示相文章相对路径下的图片。但是普通web服务器是可以显示的一直都不知道是什么原因,之前也曾花费大量时间翻遍整个hugo论坛,也没有找到解决方案,因为我的 &lt;code>emacs&lt;/code> 可以直接预览图片,发布后也能正常显示图片,后来也就不去管它了。但是今天非常偶然的发现原来 &lt;code>hugo server&lt;/code> 也可能预览相对路径的下图片。&lt;/p></description></item></channel></rss>
1 change: 1 addition & 0 deletions categories/tech/page/1.html
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>
68 changes: 68 additions & 0 deletions css/chroma.css
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 }
Loading

0 comments on commit fa225a1

Please sign in to comment.