Skip to content

Commit

Permalink
Deploying to pages from @ f6149f1 🚀
Browse files Browse the repository at this point in the history
  • Loading branch information
zhanghuid committed Aug 6, 2024
1 parent 6dc0576 commit 39da5b0
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 7 deletions.
2 changes: 1 addition & 1 deletion data.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion data.json

Large diffs are not rendered by default.

6 changes: 2 additions & 4 deletions docs/practice/curl.html
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,8 @@
</svg></div><div class="menu-modal"><a aria-hidden="true" class="leve2 tocs-link" data-num="2" href="#计算请求时的各个响应时间">计算请求时的各个响应时间</a><a aria-hidden="true" class="leve3 tocs-link" data-num="3" href="#curl">curl</a><a aria-hidden="true" class="leve3 tocs-link" data-num="3" href="#httpstat">httpstat</a></div></div><div class="h1wrap-body"><div class="wrap h2body-exist"><div class="wrap-header h2wrap"><h2 id="计算请求时的各个响应时间"><a aria-hidden="true" tabindex="-1" href="#计算请求时的各个响应时间"><span class="icon icon-link"></span></a>计算请求时的各个响应时间</h2><div class="wrap-body">
<!--rehype:body-class=cols-1-->
</div></div><div class="h2wrap-body cols-1"><div class="wrap h3body-not-exist"><div class="wrap-header h3wrap"><h3 id="curl"><a aria-hidden="true" tabindex="-1" href="#curl"><span class="icon icon-link"></span></a>curl</h3><div class="wrap-body">
<pre class="language-bash"><code class="language-bash code-highlight"><span class="code-line"><span class="token function">curl</span> <span class="token parameter variable">-o</span> /dev/null <span class="token parameter variable">-s</span> <span class="token punctuation">\</span>
</span><span class="code-line"> <span class="token parameter variable">-w</span> %<span class="token punctuation">{</span>time_namelookup<span class="token punctuation">}</span>::%<span class="token punctuation">{</span>time_connect<span class="token punctuation">}</span>::%<span class="token punctuation">{</span>time_starttransfer<span class="token punctuation">}</span>::%<span class="token punctuation">{</span>time_total<span class="token punctuation">}</span>::%<span class="token punctuation">{</span>speed_download<span class="token punctuation">}</span><span class="token string">"<span class="token entity" title="\n">\n</span>"</span> <span class="token punctuation">\</span>
</span><span class="code-line"> --data-binary @req.dat https://www.baidu.com
<pre class="language-bash"><code class="language-bash code-highlight"><span class="code-line"><span class="token function">curl</span> <span class="token parameter variable">-o</span> /dev/null <span class="token parameter variable">-s</span> <span class="token parameter variable">-w</span> <span class="token punctuation">\</span>
</span><span class="code-line"> <span class="token string">"time_namelookup:%{time_namelookup}<span class="token entity" title="\n">\n</span>time_connect: %{time_connect}<span class="token entity" title="\n">\n</span>time_starttransfer: %{time_starttransfer}<span class="token entity" title="\n">\n</span>time_total: %{time_total}<span class="token entity" title="\n">\n</span>"</span> https://www.baidu.com
</span><span class="code-line">
</span><span class="code-line"><span class="token comment"># 参数说明</span>
</span><span class="code-line"><span class="token parameter variable">-o</span> /dev/null: 将请求的输出重定向到 /dev/null,即丢弃输出。
Expand All @@ -46,7 +45,6 @@
</span><span class="code-line"> %<span class="token punctuation">{</span>time_total<span class="token punctuation">}</span>: 表示总的传输时间(秒)。
</span><span class="code-line"> %<span class="token punctuation">{</span>speed_download<span class="token punctuation">}</span>: 表示平均下载速度(每秒字节数)。
</span><span class="code-line"> <span class="token string">"<span class="token entity" title="\\">\\</span>n"</span><span class="token builtin class-name">:</span> 在格式化输出的末尾添加换行符。
</span><span class="code-line">--data-binary @req.dat: 发送文件 req.dat 的二进制内容作为请求体。
</span><span class="code-line">https://www.baidu.com: 发送请求的目标 URL。
</span><span class="code-line">
</span></code></pre>
Expand Down
2 changes: 1 addition & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@
<p style="padding: 15px 10px;border: 1px solid;border-top: none;"><a href="./docs/practice/linux-dd.html">Linux - dd 备忘</a></p>
<!--rehype:style=padding: 15px 10px;border: 1px solid;border-top: none;-->

</div></div><div class="h2wrap-body"></div></div></div></div><footer class="footer-wrap"><footer class="max-container">© 2024 <a href="https://refs.whoops.space" target="_blank">huid</a>. Updated on 2024/07/31 11:47:37</footer></footer><script src="data.js?v=0.0.1" defer></script><script src="js/fuse.min.js?v=0.0.1" defer></script><script src="js/main.js?v=0.0.1" defer></script><div id="mysearch"><div class="mysearch-box"><div class="mysearch-input"><div><svg xmlns="http://www.w3.org/2000/svg" height="1em" width="1em" viewBox="0 0 18 18">
</div></div><div class="h2wrap-body"></div></div></div></div><footer class="footer-wrap"><footer class="max-container">© 2024 <a href="https://refs.whoops.space" target="_blank">huid</a>. Updated on 2024/08/06 11:40:53</footer></footer><script src="data.js?v=0.0.1" defer></script><script src="js/fuse.min.js?v=0.0.1" defer></script><script src="js/main.js?v=0.0.1" defer></script><div id="mysearch"><div class="mysearch-box"><div class="mysearch-input"><div><svg xmlns="http://www.w3.org/2000/svg" height="1em" width="1em" viewBox="0 0 18 18">
<path fill="currentColor" d="M17.71,16.29 L14.31,12.9 C15.4069846,11.5024547 16.0022094,9.77665502 16,8 C16,3.581722 12.418278,0 8,0 C3.581722,0 0,3.581722 0,8 C0,12.418278 3.581722,16 8,16 C9.77665502,16.0022094 11.5024547,15.4069846 12.9,14.31 L16.29,17.71 C16.4777666,17.8993127 16.7333625,18.0057983 17,18.0057983 C17.2666375,18.0057983 17.5222334,17.8993127 17.71,17.71 C17.8993127,17.5222334 18.0057983,17.2666375 18.0057983,17 C18.0057983,16.7333625 17.8993127,16.4777666 17.71,16.29 Z M2,8 C2,4.6862915 4.6862915,2 8,2 C11.3137085,2 14,4.6862915 14,8 C14,11.3137085 11.3137085,14 8,14 C4.6862915,14 2,11.3137085 2,8 Z"></path>
</svg><input id="mysearch-input" type="search" placeholder="搜索" autocomplete="off"><div class="mysearch-clear"></div></div><button id="mysearch-close" type="button">搜索</button></div><div class="mysearch-result"><div id="mysearch-menu"></div><div id="mysearch-content"></div></div></div></div></body>
</html>

0 comments on commit 39da5b0

Please sign in to comment.