<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>笔记 on 闻道录</title>
    <link>https://blog.zjuyk.site/notes/</link>
    <description>Recent content in 笔记 on 闻道录</description>
    <generator>Hugo -- gohugo.io</generator>
    <language>zh</language>
    <managingEditor>千玄子</managingEditor>
    <webMaster>千玄子</webMaster>
    
    <atom:link href="https://blog.zjuyk.site/notes/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>35，请自己辞职</title>
      <link>https://blog.zjuyk.site/notes/35%E8%AF%B7%E8%87%AA%E5%B7%B1%E8%BE%9E%E8%81%8C/</link>
      <pubDate>Wed, 17 Jul 2024 16:14:35 +0800</pubDate>
      
      
      <author>千玄子</author>
      <guid>https://blog.zjuyk.site/notes/35%E8%AF%B7%E8%87%AA%E5%B7%B1%E8%BE%9E%E8%81%8C/</guid>
      <description>&lt;p&gt;新时代，新青年，90 后已经在工作岗位上大放异彩，第一届 00 后已经走 在毕业打工的路上。之江实验室智能超算研究中心团队，35 岁以下成员占比近九成，这一点值得我们深思。&lt;/p&gt;
&lt;p&gt;年轻人，后浪奔涌。年轻人没有负担，可以将全部的青春与热血奉献给最伟大的事业。他们精力充沛，能熬最晚的夜，加最久的班。年轻人，掌握先 进生产力。他们普遍有着更高的学历，学习能力强，掌握行业先进技术。最关键的是，年轻人肯吃苦，充满理想。他们只要最低的工资，就可以为社会贡献最多的价值。 正是一群年轻人，为中国梦添砖加瓦。许多伟大的事业，都是由年轻人为主的团队成就的。比如中国航天团队，就以年轻人为主，大部分职工在 35 周岁以下，今年已经要建成空间站了。&lt;/p&gt;
&lt;p&gt;是啊，年轻人作为劳动力，性价比可比职场老油条，不知高到哪里去了。 中国最具代表性的民营企业，如华为腾讯阿里，都致力于团队的年轻化。 问渠哪得清如许，唯有源头活水来。要想实现团队的年轻化，就需要吐故纳新，在这方面各行各业都做出了表率。例如，高校的科研团队就实行非升即走制度，这为我国的一流大学建设做出了卓越的贡献。腾讯、阿里、华为等 代表性的民营企业，长期进行针对高年龄员工的裁员，从而保障大多数职工是年轻人。这样，企业的利润就会节节攀升。除了裁员，还有各种方法让 35 岁以上的高龄员工自己离开。正所谓，他体面就让他自己体面，他不体面就帮他体面。在多种措施的共同作用下，许多企业都实现了员工的年轻化。很多企业在招聘的时候都会表示：我们的团队非常年轻，都是九零后。&lt;/p&gt;
&lt;p&gt;在企业努力进行员工年轻化的时候，作为劳动者，我们能做什么呢？正所谓世界潮流，浩浩荡荡，顺之者昌，逆之者亡。在 35 岁之前，我们要做努力的打工人，将自己的青春与热血，奉献给祖国最需要的事业。而 35 岁之后 呢？既然企业都喜欢年轻的员工，身为老同志，就应该高风亮节，到站下车，把机会留给年轻人。在应届生就业如此困难的 2022 年，各位老同志更应该拿出舍我其谁的大无畏奉献精神，把有限的工作岗位留给那些期盼工作的年轻人。 不要等着企业来裁员，请自己体面，自己辞职。自己辞职，有诸多好处。 首先，让企业节省了 N+1 的裁员成本，在实体经济如此困难的当下，这是非常有益的。另一方面，被企业裁员着实是一件，非常跌份难堪的事情。与其被体面，不如自己体面。&lt;/p&gt;
&lt;p&gt;综上所述，35 岁以上的职场人，请自己辞职！&lt;/p&gt;</description>
    </item>
    
    <item>
      <title>解决机场禁用 22 端口导致 github 无法 ssh 问题</title>
      <link>https://blog.zjuyk.site/notes/%E8%A7%A3%E5%86%B3%E6%9C%BA%E5%9C%BA%E7%A6%81%E7%94%A8-22-%E7%AB%AF%E5%8F%A3%E5%AF%BC%E8%87%B4-github-%E6%97%A0%E6%B3%95-ssh-%E9%97%AE%E9%A2%98/</link>
      <pubDate>Wed, 17 Jul 2024 10:31:26 +0800</pubDate>
      
      
      <author>千玄子</author>
      <guid>https://blog.zjuyk.site/notes/%E8%A7%A3%E5%86%B3%E6%9C%BA%E5%9C%BA%E7%A6%81%E7%94%A8-22-%E7%AB%AF%E5%8F%A3%E5%AF%BC%E8%87%B4-github-%E6%97%A0%E6%B3%95-ssh-%E9%97%AE%E9%A2%98/</guid>
      <description>&lt;p&gt;为了避免用户使用代理黑别人服务器和 DDOS，部分机场可能会禁用 22 端口，导致 GITHUB 无法通过代理 SSH 连接，如果确实如此一般会收到以下报错&lt;/p&gt;
&lt;pre&gt;&lt;code class=&#34;language-bash&#34;&gt;$ ssh -T git@github.com
ssh: connect to host github.com port 22: Connection timed out
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;不过幸运的是 GITHUB 提供了另外一种连接方式，可以走 443 端口&lt;/p&gt;
&lt;pre&gt;&lt;code class=&#34;language-bash&#34;&gt;$ ssh -T -p 443 git@ssh.github.com
Hi xxxx! You&#39;ve successfully authenticated, but GitHub does not provide shell access.
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;所以只需要在 SSH 配置里指定即可规避代理 22 端口被禁用的问题&lt;/p&gt;
&lt;pre&gt;&lt;code class=&#34;language-bash&#34;&gt;$ vim ~/.ssh/config
Host github.com
  Hostname ssh.github.com
  Port 443
&lt;/code&gt;&lt;/pre&gt;</description>
    </item>
    
    <item>
      <title>Termux 使用记录</title>
      <link>https://blog.zjuyk.site/notes/termux-%E4%BD%BF%E7%94%A8%E8%AE%B0%E5%BD%95/</link>
      <pubDate>Thu, 06 Jul 2023 12:47:30 +0800</pubDate>
      
      
      <author>千玄子</author>
      <guid>https://blog.zjuyk.site/notes/termux-%E4%BD%BF%E7%94%A8%E8%AE%B0%E5%BD%95/</guid>
      <description>&lt;ul&gt;
&lt;li&gt;
&lt;p&gt;换源&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;不建议手动更改源列表，可以采用 &lt;code&gt;termux-change-repo&lt;/code&gt; 这个官方工具&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;添加额外按键&lt;/p&gt;
&lt;pre&gt;&lt;code class=&#34;language-bash&#34;&gt;~/.termux/termux.properties # 设置文件

extra-keys = [[&#39;ESC&#39;,&#39;/&#39;,&#39;-&#39;,&#39;HOME&#39;,&#39;UP&#39;,&#39;END&#39;,&#39;PGUP&#39;],[&#39;TAB&#39;,&#39;CTRL&#39;,&#39;ALT&#39;,&#39;LEFT&#39;,&#39;DOWN&#39;,&#39;RIGHT&#39;,&#39;PGDN&#39;]] # 加入这行
&lt;/code&gt;&lt;/pre&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;安装 Arch&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;code&gt;proot-distro&lt;/code&gt; 这个官方包非常好用
&lt;pre&gt;&lt;code class=&#34;language-bash&#34;&gt;proot-distro install archlinux # 安装
proot-distro login archlinux # 进入
&lt;/code&gt;&lt;/pre&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;个性化&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;主要是终端配色和命令提示符&lt;/li&gt;
&lt;li&gt;直接 fish 一把梭，注意 &lt;code&gt;fish_config&lt;/code&gt; 的 webui 依赖 python，所以需要先安装 python&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;SSH&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;注意 termux ssh 的监听端口默认为 8022 而不是 22&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;后台运行&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;注意安卓会杀掉长期不活动的后台应用，小心滚到一半安卓把 termux 杀掉了，一定要后台锁定！！！&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ul&gt;</description>
    </item>
    
    <item>
      <title>Bash 小技巧</title>
      <link>https://blog.zjuyk.site/notes/bash/</link>
      <pubDate>Thu, 06 Jul 2023 12:45:33 +0800</pubDate>
      
      
      <author>千玄子</author>
      <guid>https://blog.zjuyk.site/notes/bash/</guid>
      <description>


&lt;h3 class=&#34;header-anchor-wrapper&#34;&gt;四则运算
  &lt;a href=&#34;#%e5%9b%9b%e5%88%99%e8%bf%90%e7%ae%97&#34; class=&#34;header-anchor-link&#34;&gt;
&lt;svg
    xmlns=&#34;http://www.w3.org/2000/svg&#34;
    width=&#34;1rem&#34; height=&#34;1rem&#34; viewBox=&#34;0 0 24 24&#34; fill=&#34;none&#34;
    stroke=&#34;currentColor&#34; stroke-width=&#34;2&#34; stroke-linecap=&#34;round&#34;
    stroke-linejoin=&#34;round&#34;&gt;
    &lt;line x1=&#34;4&#34; y1=&#34;9&#34; x2=&#34;20&#34; y2=&#34;9&#34;&gt;&lt;/line&gt;&lt;line x1=&#34;4&#34; y1=&#34;15&#34; x2=&#34;20&#34; y2=&#34;15&#34;&gt;&lt;/line&gt;&lt;line x1=&#34;10&#34; y1=&#34;3&#34; x2=&#34;8&#34; y2=&#34;21&#34;&gt;&lt;/line&gt;&lt;line x1=&#34;16&#34; y1=&#34;3&#34; x2=&#34;14&#34; y2=&#34;21&#34;&gt;&lt;/line&gt;
&lt;/svg&gt;

&lt;/a&gt;
&lt;/h3&gt;

&lt;p&gt;使用 &lt;code&gt;$(())&lt;/code&gt; 来计算，注意涉及到不同进制的四则运算可以这样&lt;/p&gt;
&lt;pre&gt;&lt;code class=&#34;language-bash&#34;&gt;# 5+0xa+0b1010
echo $((5+16#a+2#1010))
&lt;/code&gt;&lt;/pre&gt;



&lt;h3 class=&#34;header-anchor-wrapper&#34;&gt;判断参数是否为空
  &lt;a href=&#34;#%e5%88%a4%e6%96%ad%e5%8f%82%e6%95%b0%e6%98%af%e5%90%a6%e4%b8%ba%e7%a9%ba&#34; class=&#34;header-anchor-link&#34;&gt;
&lt;svg
    xmlns=&#34;http://www.w3.org/2000/svg&#34;
    width=&#34;1rem&#34; height=&#34;1rem&#34; viewBox=&#34;0 0 24 24&#34; fill=&#34;none&#34;
    stroke=&#34;currentColor&#34; stroke-width=&#34;2&#34; stroke-linecap=&#34;round&#34;
    stroke-linejoin=&#34;round&#34;&gt;
    &lt;line x1=&#34;4&#34; y1=&#34;9&#34; x2=&#34;20&#34; y2=&#34;9&#34;&gt;&lt;/line&gt;&lt;line x1=&#34;4&#34; y1=&#34;15&#34; x2=&#34;20&#34; y2=&#34;15&#34;&gt;&lt;/line&gt;&lt;line x1=&#34;10&#34; y1=&#34;3&#34; x2=&#34;8&#34; y2=&#34;21&#34;&gt;&lt;/line&gt;&lt;line x1=&#34;16&#34; y1=&#34;3&#34; x2=&#34;14&#34; y2=&#34;21&#34;&gt;&lt;/line&gt;
&lt;/svg&gt;

&lt;/a&gt;
&lt;/h3&gt;

&lt;pre&gt;&lt;code class=&#34;language-bash&#34;&gt;if [ -z &amp;quot;$1&amp;quot; ] &amp;amp;&amp;amp; [ -z &amp;quot;$2&amp;quot; ]; then
    echo &amp;quot;Usage: $0 &amp;lt;parameter1&amp;gt; &amp;lt;parameter2&amp;gt;&amp;quot;
fi
&lt;/code&gt;&lt;/pre&gt;



&lt;h3 class=&#34;header-anchor-wrapper&#34;&gt;生成数字列表
  &lt;a href=&#34;#%e7%94%9f%e6%88%90%e6%95%b0%e5%ad%97%e5%88%97%e8%a1%a8&#34; class=&#34;header-anchor-link&#34;&gt;
&lt;svg
    xmlns=&#34;http://www.w3.org/2000/svg&#34;
    width=&#34;1rem&#34; height=&#34;1rem&#34; viewBox=&#34;0 0 24 24&#34; fill=&#34;none&#34;
    stroke=&#34;currentColor&#34; stroke-width=&#34;2&#34; stroke-linecap=&#34;round&#34;
    stroke-linejoin=&#34;round&#34;&gt;
    &lt;line x1=&#34;4&#34; y1=&#34;9&#34; x2=&#34;20&#34; y2=&#34;9&#34;&gt;&lt;/line&gt;&lt;line x1=&#34;4&#34; y1=&#34;15&#34; x2=&#34;20&#34; y2=&#34;15&#34;&gt;&lt;/line&gt;&lt;line x1=&#34;10&#34; y1=&#34;3&#34; x2=&#34;8&#34; y2=&#34;21&#34;&gt;&lt;/line&gt;&lt;line x1=&#34;16&#34; y1=&#34;3&#34; x2=&#34;14&#34; y2=&#34;21&#34;&gt;&lt;/line&gt;
&lt;/svg&gt;

&lt;/a&gt;
&lt;/h3&gt;

&lt;p&gt;注意终点的数字是包含的&lt;/p&gt;</description>
    </item>
    
    <item>
      <title>Python 杂记</title>
      <link>https://blog.zjuyk.site/notes/python/</link>
      <pubDate>Tue, 06 Jul 2021 12:41:37 +0800</pubDate>
      
      
      <author>千玄子</author>
      <guid>https://blog.zjuyk.site/notes/python/</guid>
      <description>


&lt;h2 class=&#34;header-anchor-wrapper&#34;&gt;pip
  &lt;a href=&#34;#pip&#34; class=&#34;header-anchor-link&#34;&gt;
&lt;svg
    xmlns=&#34;http://www.w3.org/2000/svg&#34;
    width=&#34;1rem&#34; height=&#34;1rem&#34; viewBox=&#34;0 0 24 24&#34; fill=&#34;none&#34;
    stroke=&#34;currentColor&#34; stroke-width=&#34;2&#34; stroke-linecap=&#34;round&#34;
    stroke-linejoin=&#34;round&#34;&gt;
    &lt;line x1=&#34;4&#34; y1=&#34;9&#34; x2=&#34;20&#34; y2=&#34;9&#34;&gt;&lt;/line&gt;&lt;line x1=&#34;4&#34; y1=&#34;15&#34; x2=&#34;20&#34; y2=&#34;15&#34;&gt;&lt;/line&gt;&lt;line x1=&#34;10&#34; y1=&#34;3&#34; x2=&#34;8&#34; y2=&#34;21&#34;&gt;&lt;/line&gt;&lt;line x1=&#34;16&#34; y1=&#34;3&#34; x2=&#34;14&#34; y2=&#34;21&#34;&gt;&lt;/line&gt;
&lt;/svg&gt;

&lt;/a&gt;
&lt;/h2&gt;

&lt;p&gt;pip 是 python 的包管理器，属于勉强能用的水平，如果你在 Linux 上，不建议用它，尤其是不要做 sudo pip 这样的操作，容易和本身的包管理器打架。&lt;/p&gt;



&lt;h3 class=&#34;header-anchor-wrapper&#34;&gt;设置国内镜像
  &lt;a href=&#34;#%e8%ae%be%e7%bd%ae%e5%9b%bd%e5%86%85%e9%95%9c%e5%83%8f&#34; class=&#34;header-anchor-link&#34;&gt;
&lt;svg
    xmlns=&#34;http://www.w3.org/2000/svg&#34;
    width=&#34;1rem&#34; height=&#34;1rem&#34; viewBox=&#34;0 0 24 24&#34; fill=&#34;none&#34;
    stroke=&#34;currentColor&#34; stroke-width=&#34;2&#34; stroke-linecap=&#34;round&#34;
    stroke-linejoin=&#34;round&#34;&gt;
    &lt;line x1=&#34;4&#34; y1=&#34;9&#34; x2=&#34;20&#34; y2=&#34;9&#34;&gt;&lt;/line&gt;&lt;line x1=&#34;4&#34; y1=&#34;15&#34; x2=&#34;20&#34; y2=&#34;15&#34;&gt;&lt;/line&gt;&lt;line x1=&#34;10&#34; y1=&#34;3&#34; x2=&#34;8&#34; y2=&#34;21&#34;&gt;&lt;/line&gt;&lt;line x1=&#34;16&#34; y1=&#34;3&#34; x2=&#34;14&#34; y2=&#34;21&#34;&gt;&lt;/line&gt;
&lt;/svg&gt;

&lt;/a&gt;
&lt;/h3&gt;

&lt;p&gt;临时使用，以阿里云举例&lt;/p&gt;</description>
    </item>
    
    <item>
      <title>Latex 语法</title>
      <link>https://blog.zjuyk.site/notes/latex/</link>
      <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
      
      
      <author>千玄子</author>
      <guid>https://blog.zjuyk.site/notes/latex/</guid>
      <description>


&lt;h2 class=&#34;header-anchor-wrapper&#34;&gt;基础模板
  &lt;a href=&#34;#%e5%9f%ba%e7%a1%80%e6%a8%a1%e6%9d%bf&#34; class=&#34;header-anchor-link&#34;&gt;
&lt;svg
    xmlns=&#34;http://www.w3.org/2000/svg&#34;
    width=&#34;1rem&#34; height=&#34;1rem&#34; viewBox=&#34;0 0 24 24&#34; fill=&#34;none&#34;
    stroke=&#34;currentColor&#34; stroke-width=&#34;2&#34; stroke-linecap=&#34;round&#34;
    stroke-linejoin=&#34;round&#34;&gt;
    &lt;line x1=&#34;4&#34; y1=&#34;9&#34; x2=&#34;20&#34; y2=&#34;9&#34;&gt;&lt;/line&gt;&lt;line x1=&#34;4&#34; y1=&#34;15&#34; x2=&#34;20&#34; y2=&#34;15&#34;&gt;&lt;/line&gt;&lt;line x1=&#34;10&#34; y1=&#34;3&#34; x2=&#34;8&#34; y2=&#34;21&#34;&gt;&lt;/line&gt;&lt;line x1=&#34;16&#34; y1=&#34;3&#34; x2=&#34;14&#34; y2=&#34;21&#34;&gt;&lt;/line&gt;
&lt;/svg&gt;

&lt;/a&gt;
&lt;/h2&gt;

&lt;pre&gt;&lt;code class=&#34;language-tex&#34;&gt;\documentclass[UTF8]{ctexart}
\begin{document}
你好，世界！
\end{document}
&lt;/code&gt;&lt;/pre&gt;



&lt;h3 class=&#34;header-anchor-wrapper&#34;&gt;撰写标题
  &lt;a href=&#34;#%e6%92%b0%e5%86%99%e6%a0%87%e9%a2%98&#34; class=&#34;header-anchor-link&#34;&gt;
&lt;svg
    xmlns=&#34;http://www.w3.org/2000/svg&#34;
    width=&#34;1rem&#34; height=&#34;1rem&#34; viewBox=&#34;0 0 24 24&#34; fill=&#34;none&#34;
    stroke=&#34;currentColor&#34; stroke-width=&#34;2&#34; stroke-linecap=&#34;round&#34;
    stroke-linejoin=&#34;round&#34;&gt;
    &lt;line x1=&#34;4&#34; y1=&#34;9&#34; x2=&#34;20&#34; y2=&#34;9&#34;&gt;&lt;/line&gt;&lt;line x1=&#34;4&#34; y1=&#34;15&#34; x2=&#34;20&#34; y2=&#34;15&#34;&gt;&lt;/line&gt;&lt;line x1=&#34;10&#34; y1=&#34;3&#34; x2=&#34;8&#34; y2=&#34;21&#34;&gt;&lt;/line&gt;&lt;line x1=&#34;16&#34; y1=&#34;3&#34; x2=&#34;14&#34; y2=&#34;21&#34;&gt;&lt;/line&gt;
&lt;/svg&gt;

&lt;/a&gt;
&lt;/h3&gt;

&lt;pre&gt;&lt;code class=&#34;language-tex&#34;&gt;\title{Title}
\author{Author}
\date{}

\begin{document}
\maketitle
% 显示标题
\end{document}

% 想要设置标题格式可以这样做，设置字体大小
\usepackage{titling}
\pretitle{\begin{center}\fontsize{30pt}{30pt}\selectfont}
\posttitle{\end{center}}
&lt;/code&gt;&lt;/pre&gt;



&lt;h3 class=&#34;header-anchor-wrapper&#34;&gt;插入目录
  &lt;a href=&#34;#%e6%8f%92%e5%85%a5%e7%9b%ae%e5%bd%95&#34; class=&#34;header-anchor-link&#34;&gt;
&lt;svg
    xmlns=&#34;http://www.w3.org/2000/svg&#34;
    width=&#34;1rem&#34; height=&#34;1rem&#34; viewBox=&#34;0 0 24 24&#34; fill=&#34;none&#34;
    stroke=&#34;currentColor&#34; stroke-width=&#34;2&#34; stroke-linecap=&#34;round&#34;
    stroke-linejoin=&#34;round&#34;&gt;
    &lt;line x1=&#34;4&#34; y1=&#34;9&#34; x2=&#34;20&#34; y2=&#34;9&#34;&gt;&lt;/line&gt;&lt;line x1=&#34;4&#34; y1=&#34;15&#34; x2=&#34;20&#34; y2=&#34;15&#34;&gt;&lt;/line&gt;&lt;line x1=&#34;10&#34; y1=&#34;3&#34; x2=&#34;8&#34; y2=&#34;21&#34;&gt;&lt;/line&gt;&lt;line x1=&#34;16&#34; y1=&#34;3&#34; x2=&#34;14&#34; y2=&#34;21&#34;&gt;&lt;/line&gt;
&lt;/svg&gt;

&lt;/a&gt;
&lt;/h3&gt;

&lt;pre&gt;&lt;code class=&#34;language-tex&#34;&gt;% \maketitle
\tableofcontents % Set the TOC
&lt;/code&gt;&lt;/pre&gt;



&lt;h3 class=&#34;header-anchor-wrapper&#34;&gt;设置页边距
  &lt;a href=&#34;#%e8%ae%be%e7%bd%ae%e9%a1%b5%e8%be%b9%e8%b7%9d&#34; class=&#34;header-anchor-link&#34;&gt;
&lt;svg
    xmlns=&#34;http://www.w3.org/2000/svg&#34;
    width=&#34;1rem&#34; height=&#34;1rem&#34; viewBox=&#34;0 0 24 24&#34; fill=&#34;none&#34;
    stroke=&#34;currentColor&#34; stroke-width=&#34;2&#34; stroke-linecap=&#34;round&#34;
    stroke-linejoin=&#34;round&#34;&gt;
    &lt;line x1=&#34;4&#34; y1=&#34;9&#34; x2=&#34;20&#34; y2=&#34;9&#34;&gt;&lt;/line&gt;&lt;line x1=&#34;4&#34; y1=&#34;15&#34; x2=&#34;20&#34; y2=&#34;15&#34;&gt;&lt;/line&gt;&lt;line x1=&#34;10&#34; y1=&#34;3&#34; x2=&#34;8&#34; y2=&#34;21&#34;&gt;&lt;/line&gt;&lt;line x1=&#34;16&#34; y1=&#34;3&#34; x2=&#34;14&#34; y2=&#34;21&#34;&gt;&lt;/line&gt;
&lt;/svg&gt;

&lt;/a&gt;
&lt;/h3&gt;

&lt;pre&gt;&lt;code class=&#34;language-tex&#34;&gt;\usepackage{geometry}
\geometry{left=1in,right=1in,top=1in,bottom=1in} % 单位是英寸
&lt;/code&gt;&lt;/pre&gt;



&lt;h3 class=&#34;header-anchor-wrapper&#34;&gt;显示分页
  &lt;a href=&#34;#%e6%98%be%e7%a4%ba%e5%88%86%e9%a1%b5&#34; class=&#34;header-anchor-link&#34;&gt;
&lt;svg
    xmlns=&#34;http://www.w3.org/2000/svg&#34;
    width=&#34;1rem&#34; height=&#34;1rem&#34; viewBox=&#34;0 0 24 24&#34; fill=&#34;none&#34;
    stroke=&#34;currentColor&#34; stroke-width=&#34;2&#34; stroke-linecap=&#34;round&#34;
    stroke-linejoin=&#34;round&#34;&gt;
    &lt;line x1=&#34;4&#34; y1=&#34;9&#34; x2=&#34;20&#34; y2=&#34;9&#34;&gt;&lt;/line&gt;&lt;line x1=&#34;4&#34; y1=&#34;15&#34; x2=&#34;20&#34; y2=&#34;15&#34;&gt;&lt;/line&gt;&lt;line x1=&#34;10&#34; y1=&#34;3&#34; x2=&#34;8&#34; y2=&#34;21&#34;&gt;&lt;/line&gt;&lt;line x1=&#34;16&#34; y1=&#34;3&#34; x2=&#34;14&#34; y2=&#34;21&#34;&gt;&lt;/line&gt;
&lt;/svg&gt;

&lt;/a&gt;
&lt;/h3&gt;

&lt;pre&gt;&lt;code class=&#34;language-tex&#34;&gt;\newpage
&lt;/code&gt;&lt;/pre&gt;



&lt;h3 class=&#34;header-anchor-wrapper&#34;&gt;撰写注释
  &lt;a href=&#34;#%e6%92%b0%e5%86%99%e6%b3%a8%e9%87%8a&#34; class=&#34;header-anchor-link&#34;&gt;
&lt;svg
    xmlns=&#34;http://www.w3.org/2000/svg&#34;
    width=&#34;1rem&#34; height=&#34;1rem&#34; viewBox=&#34;0 0 24 24&#34; fill=&#34;none&#34;
    stroke=&#34;currentColor&#34; stroke-width=&#34;2&#34; stroke-linecap=&#34;round&#34;
    stroke-linejoin=&#34;round&#34;&gt;
    &lt;line x1=&#34;4&#34; y1=&#34;9&#34; x2=&#34;20&#34; y2=&#34;9&#34;&gt;&lt;/line&gt;&lt;line x1=&#34;4&#34; y1=&#34;15&#34; x2=&#34;20&#34; y2=&#34;15&#34;&gt;&lt;/line&gt;&lt;line x1=&#34;10&#34; y1=&#34;3&#34; x2=&#34;8&#34; y2=&#34;21&#34;&gt;&lt;/line&gt;&lt;line x1=&#34;16&#34; y1=&#34;3&#34; x2=&#34;14&#34; y2=&#34;21&#34;&gt;&lt;/line&gt;
&lt;/svg&gt;

&lt;/a&gt;
&lt;/h3&gt;

&lt;pre&gt;&lt;code class=&#34;language-tex&#34;&gt;% comment 单行注释

% 方法一
\usepackage{verbatim}
\begin{comment}
comments
\end{comment}

% 方法二
\iffalse
comments
\fi
&lt;/code&gt;&lt;/pre&gt;



&lt;h3 class=&#34;header-anchor-wrapper&#34;&gt;层次结构
  &lt;a href=&#34;#%e5%b1%82%e6%ac%a1%e7%bb%93%e6%9e%84&#34; class=&#34;header-anchor-link&#34;&gt;
&lt;svg
    xmlns=&#34;http://www.w3.org/2000/svg&#34;
    width=&#34;1rem&#34; height=&#34;1rem&#34; viewBox=&#34;0 0 24 24&#34; fill=&#34;none&#34;
    stroke=&#34;currentColor&#34; stroke-width=&#34;2&#34; stroke-linecap=&#34;round&#34;
    stroke-linejoin=&#34;round&#34;&gt;
    &lt;line x1=&#34;4&#34; y1=&#34;9&#34; x2=&#34;20&#34; y2=&#34;9&#34;&gt;&lt;/line&gt;&lt;line x1=&#34;4&#34; y1=&#34;15&#34; x2=&#34;20&#34; y2=&#34;15&#34;&gt;&lt;/line&gt;&lt;line x1=&#34;10&#34; y1=&#34;3&#34; x2=&#34;8&#34; y2=&#34;21&#34;&gt;&lt;/line&gt;&lt;line x1=&#34;16&#34; y1=&#34;3&#34; x2=&#34;14&#34; y2=&#34;21&#34;&gt;&lt;/line&gt;
&lt;/svg&gt;

&lt;/a&gt;
&lt;/h3&gt;

&lt;pre&gt;&lt;code class=&#34;language-tex&#34;&gt;% latex一共五级标题
\section{第一}
\subsection{第二}
\subsubsection{第三}
\paragraph{第四}
\subparagraph{第五}
&lt;/code&gt;&lt;/pre&gt;



&lt;h3 class=&#34;header-anchor-wrapper&#34;&gt;插入公式
  &lt;a href=&#34;#%e6%8f%92%e5%85%a5%e5%85%ac%e5%bc%8f&#34; class=&#34;header-anchor-link&#34;&gt;
&lt;svg
    xmlns=&#34;http://www.w3.org/2000/svg&#34;
    width=&#34;1rem&#34; height=&#34;1rem&#34; viewBox=&#34;0 0 24 24&#34; fill=&#34;none&#34;
    stroke=&#34;currentColor&#34; stroke-width=&#34;2&#34; stroke-linecap=&#34;round&#34;
    stroke-linejoin=&#34;round&#34;&gt;
    &lt;line x1=&#34;4&#34; y1=&#34;9&#34; x2=&#34;20&#34; y2=&#34;9&#34;&gt;&lt;/line&gt;&lt;line x1=&#34;4&#34; y1=&#34;15&#34; x2=&#34;20&#34; y2=&#34;15&#34;&gt;&lt;/line&gt;&lt;line x1=&#34;10&#34; y1=&#34;3&#34; x2=&#34;8&#34; y2=&#34;21&#34;&gt;&lt;/line&gt;&lt;line x1=&#34;16&#34; y1=&#34;3&#34; x2=&#34;14&#34; y2=&#34;21&#34;&gt;&lt;/line&gt;
&lt;/svg&gt;

&lt;/a&gt;
&lt;/h3&gt;

&lt;pre&gt;&lt;code class=&#34;language-tex&#34;&gt;\usepackage{amsmath} % use AMS-LaTex

% 行内公式
$ ... $
\[ ... \]

% 编号
\begin{equation}
...
\end{equation}

% 不编号
\begin{equation*}
...
\end{equation*}

\begin{displaymath}
...
\end{displaymath}
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;&lt;strong&gt;Hint:&lt;/strong&gt; 详细介绍见官网&lt;/p&gt;</description>
    </item>
    
    <item>
      <title>本博客中的 shortcode 用法记录</title>
      <link>https://blog.zjuyk.site/notes/shortcodes/</link>
      <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
      
      
      <author>千玄子</author>
      <guid>https://blog.zjuyk.site/notes/shortcodes/</guid>
      <description>


&lt;h2 class=&#34;header-anchor-wrapper&#34;&gt;Admonition
  &lt;a href=&#34;#admonition&#34; class=&#34;header-anchor-link&#34;&gt;
&lt;svg
    xmlns=&#34;http://www.w3.org/2000/svg&#34;
    width=&#34;1rem&#34; height=&#34;1rem&#34; viewBox=&#34;0 0 24 24&#34; fill=&#34;none&#34;
    stroke=&#34;currentColor&#34; stroke-width=&#34;2&#34; stroke-linecap=&#34;round&#34;
    stroke-linejoin=&#34;round&#34;&gt;
    &lt;line x1=&#34;4&#34; y1=&#34;9&#34; x2=&#34;20&#34; y2=&#34;9&#34;&gt;&lt;/line&gt;&lt;line x1=&#34;4&#34; y1=&#34;15&#34; x2=&#34;20&#34; y2=&#34;15&#34;&gt;&lt;/line&gt;&lt;line x1=&#34;10&#34; y1=&#34;3&#34; x2=&#34;8&#34; y2=&#34;21&#34;&gt;&lt;/line&gt;&lt;line x1=&#34;16&#34; y1=&#34;3&#34; x2=&#34;14&#34; y2=&#34;21&#34;&gt;&lt;/line&gt;
&lt;/svg&gt;

&lt;/a&gt;
&lt;/h2&gt;

&lt;p&gt;这里的类型目前支持 note、tip、warning 和 danger，因为我只为这四类配了 css 图标&lt;/p&gt;
&lt;pre&gt;&lt;code class=&#34;language-html&#34;&gt;{{&amp;lt; admonition 类型 &amp;quot;标题&amp;quot; &amp;gt;}}

内容

{{&amp;lt; /admonition &amp;gt;}}
&lt;/code&gt;&lt;/pre&gt;



&lt;div class=&#34;admonition note&#34;&gt;
  &lt;div class=&#34;admonition-title&#34;&gt;标题&lt;/div&gt;
  &lt;div class=&#34;admonition-content&#34;&gt;
    内容
  &lt;/div&gt;
&lt;/div&gt;




&lt;div class=&#34;admonition tip&#34;&gt;
  &lt;div class=&#34;admonition-title&#34;&gt;标题&lt;/div&gt;
  &lt;div class=&#34;admonition-content&#34;&gt;
    内容
  &lt;/div&gt;
&lt;/div&gt;




&lt;div class=&#34;admonition warning&#34;&gt;
  &lt;div class=&#34;admonition-title&#34;&gt;标题&lt;/div&gt;
  &lt;div class=&#34;admonition-content&#34;&gt;
    内容
  &lt;/div&gt;
&lt;/div&gt;




&lt;div class=&#34;admonition danger&#34;&gt;
  &lt;div class=&#34;admonition-title&#34;&gt;标题&lt;/div&gt;
  &lt;div class=&#34;admonition-content&#34;&gt;
    内容
  &lt;/div&gt;
&lt;/div&gt;




&lt;h2 class=&#34;header-anchor-wrapper&#34;&gt;Detail
  &lt;a href=&#34;#detail&#34; class=&#34;header-anchor-link&#34;&gt;
&lt;svg
    xmlns=&#34;http://www.w3.org/2000/svg&#34;
    width=&#34;1rem&#34; height=&#34;1rem&#34; viewBox=&#34;0 0 24 24&#34; fill=&#34;none&#34;
    stroke=&#34;currentColor&#34; stroke-width=&#34;2&#34; stroke-linecap=&#34;round&#34;
    stroke-linejoin=&#34;round&#34;&gt;
    &lt;line x1=&#34;4&#34; y1=&#34;9&#34; x2=&#34;20&#34; y2=&#34;9&#34;&gt;&lt;/line&gt;&lt;line x1=&#34;4&#34; y1=&#34;15&#34; x2=&#34;20&#34; y2=&#34;15&#34;&gt;&lt;/line&gt;&lt;line x1=&#34;10&#34; y1=&#34;3&#34; x2=&#34;8&#34; y2=&#34;21&#34;&gt;&lt;/line&gt;&lt;line x1=&#34;16&#34; y1=&#34;3&#34; x2=&#34;14&#34; y2=&#34;21&#34;&gt;&lt;/line&gt;
&lt;/svg&gt;

&lt;/a&gt;
&lt;/h2&gt;

&lt;pre&gt;&lt;code class=&#34;language-html&#34;&gt;{{&amp;lt; details &amp;quot;点击展开&amp;quot; &amp;gt;}}

内容

{{&amp;lt; /details &amp;gt;}}
&lt;/code&gt;&lt;/pre&gt;
&lt;details&gt;
    &lt;summary&gt;点击展开&lt;/summary&gt;
    &lt;div&gt;
      内容
    &lt;/div&gt;
  &lt;/details&gt;
  



&lt;h2 class=&#34;header-anchor-wrapper&#34;&gt;Mermaid
  &lt;a href=&#34;#mermaid&#34; class=&#34;header-anchor-link&#34;&gt;
&lt;svg
    xmlns=&#34;http://www.w3.org/2000/svg&#34;
    width=&#34;1rem&#34; height=&#34;1rem&#34; viewBox=&#34;0 0 24 24&#34; fill=&#34;none&#34;
    stroke=&#34;currentColor&#34; stroke-width=&#34;2&#34; stroke-linecap=&#34;round&#34;
    stroke-linejoin=&#34;round&#34;&gt;
    &lt;line x1=&#34;4&#34; y1=&#34;9&#34; x2=&#34;20&#34; y2=&#34;9&#34;&gt;&lt;/line&gt;&lt;line x1=&#34;4&#34; y1=&#34;15&#34; x2=&#34;20&#34; y2=&#34;15&#34;&gt;&lt;/line&gt;&lt;line x1=&#34;10&#34; y1=&#34;3&#34; x2=&#34;8&#34; y2=&#34;21&#34;&gt;&lt;/line&gt;&lt;line x1=&#34;16&#34; y1=&#34;3&#34; x2=&#34;14&#34; y2=&#34;21&#34;&gt;&lt;/line&gt;
&lt;/svg&gt;

&lt;/a&gt;
&lt;/h2&gt;

&lt;p&gt;首先需要在 front-matter 里将 mermaid 设置成 true 加载 js&lt;/p&gt;</description>
    </item>
    
  </channel>
</rss>