-
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 d263260
Showing
49 changed files
with
982 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,5 @@ | ||
# Blog | ||
|
||
This repo is auto generated by hugo. | ||
|
||
Please visit [https://leenzhu.com](https://leenzhu.com) |
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,22 @@ | ||
<!DOCTYPE html> | ||
<html lang="en"> | ||
<head> | ||
<meta charset="UTF-8"> | ||
<meta http-equiv="X-UA-Compatible" content="IE=edge"> | ||
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | ||
<title>Document</title> | ||
</head> | ||
<body> | ||
<form name="contact" netlify> | ||
<p> | ||
<label>Name <input type="text" name="name" /></label> | ||
</p> | ||
<p> | ||
<label>Email <input type="email" name="email" /></label> | ||
</p> | ||
<p> | ||
<button type="submit">Send</button> | ||
</p> | ||
</form> | ||
</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="简介 小学(大概二、三年级)的时候开始接触电脑。那个时候除了会玩电脑上的游戏,其它的什么都不会。 初中开始接触学习机,学会了五笔打字和BASIC编程。 高中开始购买电脑,这个时候起一发不可收拾,学习的东西爆炸似的增长。 大学开始接触C语言、VIM,技术路线步入正轨。 第一份工作开始学习TCP/IP网络协议,学习HTTP/POP3/SMTP协议,学会数据嗅控还原,数据篡改,学会简单数据包攻击,初步了解入侵检测。 第二份工作负责还原ICQ协议,ETL处理,业余学习Lua首次应用于工作。 第三份工作从事邮件收取客端开发,WEB/POP/IMAP邮箱密码猜解工具开发。 第四份工作从事NFV路由器CLI/SNMP/NETCONF配置管理开,从事VPP开发。其间开始学习Erlang、Golang编程语言。 2024年,开始学习React,Solidjs,Svelte,不知道算不算49年入国军。 时间线 2021-10-05 正式开站。 2021-10-06 启用 https://www.netlify.com/ 作为本站拖管服务器。 2024-05-18 调整站点字体为霞鹜文楷 "><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=https://registry.npmmirror.com/lxgw-wenkai-screen-web/1.321.0/files/style.css><link rel=stylesheet href=/css/normalize.css><link rel=stylesheet href=/css/chroma.css><link rel=stylesheet href=/scss/sun.min.81edd2c337cb2d46aa7a2074ec9c3f941633df9f6772241dbd2bcd0b7b0b59a9.css integrity="sha256-ge3SwzfLLUaqeiB07Jw/lBYz359nciQdvSvNC3sLWak=" crossorigin=anonymous><link href=https://artalk.leenzhu.com:8443/dist/Artalk.css rel=stylesheet></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>小学(大概二、三年级)的时候开始接触电脑。那个时候除了会玩电脑上的游戏,其它的什么都不会。</li><li>初中开始接触学习机,学会了五笔打字和BASIC编程。</li><li>高中开始购买电脑,这个时候起一发不可收拾,学习的东西爆炸似的增长。</li><li>大学开始接触C语言、VIM,技术路线步入正轨。</li><li>第一份工作开始学习TCP/IP网络协议,学习HTTP/POP3/SMTP协议,学会数据嗅控还原,数据篡改,学会简单数据包攻击,初步了解入侵检测。</li><li>第二份工作负责还原ICQ协议,ETL处理,业余学习Lua首次应用于工作。</li><li>第三份工作从事邮件收取客端开发,WEB/POP/IMAP邮箱密码猜解工具开发。</li><li>第四份工作从事NFV路由器CLI/SNMP/NETCONF配置管理开,从事VPP开发。其间开始学习Erlang、Golang编程语言。</li><li>2024年,开始学习React,Solidjs,Svelte,不知道算不算49年入国军。</li></ul><h2 id=时间线>时间线</h2><ul><li><code>2021-10-05</code> 正式开站。</li><li><code>2021-10-06</code> 启用 <a href=https://www.netlify.com/>https://www.netlify.com/</a> 作为本站拖管服务器。</li><li><code>2024-05-18</code> 调整站点字体为<a href=https://github.com/lxgw/LxgwWenKai>霞鹜文楷</a></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=https://registry.npmmirror.com/lxgw-wenkai-screen-web/1.321.0/files/style.css><link rel=stylesheet href=/css/normalize.css><link rel=stylesheet href=/css/chroma.css><link rel=stylesheet href=/scss/sun.min.81edd2c337cb2d46aa7a2074ec9c3f941633df9f6772241dbd2bcd0b7b0b59a9.css integrity="sha256-ge3SwzfLLUaqeiB07Jw/lBYz359nciQdvSvNC3sLWak=" crossorigin=anonymous><link href=https://artalk.leenzhu.com:8443/dist/Artalk.css rel=stylesheet></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>3</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>Wed, 26 Jul 2023 00:00:00 +0000</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>Wed, 26 Jul 2023 00:00:00 +0000</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,9 @@ | ||
<!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=https://registry.npmmirror.com/lxgw-wenkai-screen-web/1.321.0/files/style.css><link rel=stylesheet href=/css/normalize.css><link rel=stylesheet href=/css/chroma.css><link rel=stylesheet href=/scss/sun.min.81edd2c337cb2d46aa7a2074ec9c3f941633df9f6772241dbd2bcd0b7b0b59a9.css integrity="sha256-ge3SwzfLLUaqeiB07Jw/lBYz359nciQdvSvNC3sLWak=" crossorigin=anonymous><link href=https://artalk.leenzhu.com:8443/dist/Artalk.css rel=stylesheet></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>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></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>Wed, 26 Jul 2023 00:00:00 +0000</lastBuildDate><atom:link href="https://leenzhu.com/categories/tech/index.xml" rel="self" type="application/rss+xml"/><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></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.