-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
24 lines (24 loc) · 14.8 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
<!doctype html><html lang=en><head><meta charset=utf-8><meta http-equiv=X-UA-Compatible content="IE=edge,chrome=1"><title>水阙</title>
<meta name=renderer content="webkit"><meta name=viewport content="width=device-width,initial-scale=1,maximum-scale=1"><meta http-equiv=Cache-Control content="no-transform"><meta http-equiv=Cache-Control content="no-siteapp"><meta name=theme-color content="#f8f5ec"><meta name=msapplication-navbutton-color content="#f8f5ec"><meta name=apple-mobile-web-app-capable content="yes"><meta name=apple-mobile-web-app-status-bar-style content="#f8f5ec"><meta name=author content="Yychi"><meta name=description content="向往水的温柔,在心底打着卷儿。"><meta name=keywords content="水阙,yychi"><meta name=generator content="Hugo 0.140.2 with theme even"><link rel=canonical href=https://guyueshui.github.io/><link href=https://guyueshui.github.io/index.xml rel=alternate type=application/rss+xml title=水阙><link href=https://guyueshui.github.io/index.xml rel=feed type=application/rss+xml title=水阙><link rel=apple-touch-icon sizes=180x180 href=/apple-touch-icon.png><link rel=icon type=image/png sizes=32x32 href=/favicon-32x32.png><link rel=icon type=image/png sizes=16x16 href=/favicon-16x16.png><link rel=manifest href=/manifest.json><link rel=mask-icon href=/safari-pinned-tab.svg color=#5bbad5><script async src=//busuanzi.ibruce.info/busuanzi/2.3/busuanzi.pure.mini.js></script><link href=/sass/main.min.4db6eefa019323deeb0f96ac97b0195c6875d5cb6a98e30c1e245d54b43d54bc.css rel=stylesheet><link rel=stylesheet href=https://cdn.jsdelivr.net/npm/@fancyapps/fancybox@3.1.20/dist/jquery.fancybox.min.css integrity="sha256-7TyXnr2YU040zfSP+rEcz29ggW4j56/ujTPwjMzyqFY=" crossorigin=anonymous><link rel=stylesheet href=/css/even-custom.css><link rel=preconnect href=https://fonts.googleapis.com><link rel=preconnect href=https://fonts.gstatic.com crossorigin><link href="https://fonts.googleapis.com/css2?family=Noto+Sans+SC:wght@400;500;700&family=Noto+Serif+SC:wght@400;500;700&display=swap" rel=stylesheet><meta property="og:url" content="https://guyueshui.github.io/"><meta property="og:site_name" content="水阙"><meta property="og:title" content="水阙"><meta property="og:description" content="向往水的温柔,在心底打着卷儿。"><meta property="og:locale" content="en"><meta property="og:type" content="website"><meta itemprop=name content="水阙"><meta itemprop=description content="向往水的温柔,在心底打着卷儿。"><meta itemprop=datePublished content="2025-01-08T20:36:52+08:00"><meta itemprop=dateModified content="2025-01-09T21:28:49+08:00"><meta name=twitter:card content="summary"><meta name=twitter:title content="水阙"><meta name=twitter:description content="向往水的温柔,在心底打着卷儿。"><!--[if lte IE 9]><script src=https://cdnjs.cloudflare.com/ajax/libs/classlist/1.1.20170427/classList.min.js></script><![endif]--><!--[if lt IE 9]><script src=https://cdn.jsdelivr.net/npm/html5shiv@3.7.3/dist/html5shiv.min.js></script><script src=https://cdn.jsdelivr.net/npm/respond.js@1.4.2/dest/respond.min.js></script><![endif]--></head><body><div id=mobile-navbar class=mobile-navbar><div class=mobile-header-logo><a href=/ class=logo>Yychi's Blog</a></div><div class=mobile-navbar-icon><span></span>
<span></span>
<span></span></div></div><nav id=mobile-menu class="mobile-menu slideout-menu"><ul class=mobile-menu-list><a href=/search/><li class=mobile-menu-item>Search</li></a><a href=/links/><li class=mobile-menu-item>More</li></a><a href=/post/><li class=mobile-menu-item>Archives</li></a><a href=/sketch/><li class=mobile-menu-item>Sketch</li></a><a href=/about/><li class=mobile-menu-item>About</li></a></ul></nav><div class=container id=mobile-panel><header id=header class=header><div class=logo-wrapper><a href=/ class=logo>Yychi's Blog</a></div><nav class=site-navbar><ul id=menu class=menu><li class=menu-item><a class=menu-item-link href=/search/>Search</a></li><li class=menu-item><a class=menu-item-link href=/links/>More</a></li><li class=menu-item><a class=menu-item-link href=/post/>Archives</a></li><li class=menu-item><a class=menu-item-link href=/sketch/>Sketch</a></li><li class=menu-item><a class=menu-item-link href=/about/>About</a></li></ul></nav></header><main id=main class=main><div class=content-wrapper><div id=content class=content><section id=posts class=posts><article class=post><header class=post-header><h1 class=post-title><a class=post-link href=/post/suckless-windows/>痛的少一些!Windows</a></h1><div class=post-meta><span class=post-time>January 8, 2025</span></div></header><div class=post-content><div class=post-summary><p>Windows 痛点例举,</p><ul><li>祖传蓝屏(这一点在 XP 上尤为严重,Win7 以上已经少见许多)。</li><li>静默更新。悄悄下载更新,强制更新,莫名其妙跳出来说要更新,关机时强迫更新。恶心的默认策略!</li><li>万年难用的资源管理器,不带标签页,窗口开一堆。</li><li>开发上来说,编译工具链体验比不上 linux.</li></ul><p>虽然 Windows 很难用,但并不妨碍它桌面市场占用率第一的地位。在生活或者工作中,我还是无法避免地被动使用 windows. 因此,我希望通过一些简单定制,让我的使用体验能好一些。</p></div><div class=read-more><a href=/post/suckless-windows/ class=read-more-link>Read more...</a></div></div></article><article class=post><header class=post-header><h1 class=post-title><a class=post-link href=/post/android-backup/>Android 手机备份攻略</a></h1><div class=post-meta><span class=post-time>March 26, 2024</span></div></header><div class=post-content><div class=post-summary><p>说起 Android 手机的备份,最先闯入眼帘的可能是 XX 搬机助手,某某手机搬家等一键式迁移手机数据的 APP,这些 APP 可以迁移的数据包括,联系人、通话记录、短信、应用(不包括应用数据)、照片视频、文件夹等,此外还包括一些系统设置例如 WIFI 密码<sup id=fnref:1><a href=#fn:1 class=footnote-ref role=doc-noteref>1</a></sup>。</p></div><div class=read-more><a href=/post/android-backup/ class=read-more-link>Read more...</a></div></div></article><article class=post><header class=post-header><h1 class=post-title><a class=post-link href=/post/%E9%BB%91%E5%B1%B1%E5%B0%8F%E5%A6%96/>黑山小妖</a></h1><div class=post-meta><span class=post-time>November 10, 2023</span></div></header><div class=post-content><div class=post-summary><p>今天来说说女儿睡觉的事。女儿十三个多月了,自从五六个月的时候给她一个人睡摇篮,她就能从晚上八九点睡到第二天早上六七点。就这样过了几个月,我在外上班,平时她妈妈带她睡。忽然有段时间,妻子说不舍得她一个人睡,又开始把她抱到床上睡。就这样又过了一段时间。</p></div><div class=read-more><a href=/post/%E9%BB%91%E5%B1%B1%E5%B0%8F%E5%A6%96/ class=read-more-link>Read more...</a></div></div></article><article class=post><header class=post-header><h1 class=post-title><a class=post-link href=/post/eye-comfortable-displayer/>护眼显示器选购指南</a></h1><div class=post-meta><span class=post-time>June 14, 2023</span></div></header><div class=post-content><div class=post-summary><p>常年对着破旧笔记本的粗糙小屏幕,实在是对不起自己的眼睛。这不,趁着今年 618 打算买个显示器。预算 1500,分辨率 2K 起,要求具备莱茵低蓝光认证。</p></div><div class=read-more><a href=/post/eye-comfortable-displayer/ class=read-more-link>Read more...</a></div></div></article><article class=post><header class=post-header><h1 class=post-title><a class=post-link href=/post/share-storage-with-family/>从零开始构建家庭共享存储</a></h1><div class=post-meta><span class=post-time>March 14, 2023</span><div class=post-category><a href=/categories/tech/>tech</a></div></div></header><div class=post-content><div class=post-summary><p>一切都要从前几天给手机刷新 ROM,导致数据丢失说起。</p><p>前些日子,我的 RedmiK40S MIUI13 突然给我自动更新至 MIUI14,这违背了我的意愿。但这还不至于让我动刷机的年头,毕竟年事已高,不再那么想折腾手机。可这次更新,不单单是 MIUI 版本的提升,更是 Android 12 到 13 的版本升级。这直接导致了我的钛备份闪退了,并且使用钛备份还原在 a12 上备份的应用,如果勾选还原应用数据,则必然导致对应应用闪退。应用备份出了问题我是无法接受的。于是,开始上 XDA 找 ROM,随便下了几个,准备动手。</p></div><div class=read-more><a href=/post/share-storage-with-family/ class=read-more-link>Read more...</a></div></div></article><article class=post><header class=post-header><h1 class=post-title><a class=post-link href=/post/extend-swap/>Swap 扩容</a></h1><div class=post-meta><span class=post-time>February 24, 2023</span><div class=post-category><a href=/categories/tech/>tech </a><a href=/categories/linux/>linux</a></div></div></header><div class=post-content><div class=post-summary><p>先前安装系统的时候,swap 分区给小了(机器内存的一半)。我的笔记本内存 8G,swap 给了 4G,当系统已用内存超过 4G,会导致无法<a href=/post/linux-hibernate#%E7%A1%AE%E4%BF%9Dswap%E5%88%86%E5%8C%BA%E8%B6%B3%E5%A4%9F%E5%A4%A7>休眠</a>。如果 swap 给的和本机内存一样大,那么就不会存在 swap 放不下当前工作镜像的问题。但重新分区追加 swap 显然不现实,所以只能让两块 swap 拼凑一下,达到总体有 8G 可用 swap 的效果。</p></div><div class=read-more><a href=/post/extend-swap/ class=read-more-link>Read more...</a></div></div></article><article class=post><header class=post-header><h1 class=post-title><a class=post-link href=/post/birth-of-shang/>喜女</a></h1><div class=post-meta><span class=post-time>November 6, 2022</span><div class=post-category><a href=/categories/%E9%9A%8F%E7%AC%94/>随笔</a></div></div></header><div class=post-content><div class=post-summary><p>壬寅年九月,喜得一女,因作此篇。</p><p>九月孕明珠,</p><p>玲珑宛天成。</p><p>愿织锦绣梦,</p><p>携手度余生。</p></div><div class=read-more><a href=/post/birth-of-shang/ class=read-more-link>Read more...</a></div></div></article><article class=post><header class=post-header><h1 class=post-title><a class=post-link href=/post/cpp-default-argument/>C++ 中的默认参数简介</a></h1><div class=post-meta><span class=post-time>September 14, 2022</span><div class=post-category><a href=/categories/tech/>tech</a></div></div></header><div class=post-content><div class=post-summary><h2 id=minimal-example>Minimal example</h2><div class=highlight><div class=chroma><table class=lntable><tr><td class=lntd><pre tabindex=0 class=chroma><code><span class=lnt>1
</span><span class=lnt>2
</span><span class=lnt>3
</span><span class=lnt>4
</span><span class=lnt>5
</span><span class=lnt>6
</span><span class=lnt>7
</span></code></pre></td><td class=lntd><pre tabindex=0 class=chroma><code class=language-cpp data-lang=cpp><span class=line><span class=cl><span class=kt>int</span> <span class=nf>foo</span><span class=p>(</span><span class=kt>int</span> <span class=n>x</span><span class=p>,</span> <span class=kt>int</span> <span class=n>y</span><span class=o>=</span><span class=mi>1</span><span class=p>)</span> <span class=p>{</span> <span class=k>return</span> <span class=n>x</span> <span class=o>+</span> <span class=n>y</span><span class=p>;</span> <span class=p>}</span>
</span></span><span class=line><span class=cl>
</span></span><span class=line><span class=cl><span class=kt>int</span> <span class=nf>main</span><span class=p>()</span>
</span></span><span class=line><span class=cl><span class=p>{</span>
</span></span><span class=line><span class=cl> <span class=n>cout</span> <span class=o><<</span> <span class=n>foo</span><span class=p>(</span><span class=mi>5</span><span class=p>);</span> <span class=c1>// call foo(5, 1)
</span></span></span><span class=line><span class=cl><span class=c1></span> <span class=k>return</span> <span class=mi>0</span><span class=p>;</span>
</span></span><span class=line><span class=cl><span class=p>}</span>
</span></span></code></pre></td></tr></table></div></div><h2 id=分离编译带来的隐患>分离编译带来的隐患</h2><p>如果函数声明和定义分离,此时就有一个 pitfall。由于默认参数可以定义在函数声明(declaration)中,也可以定义在函数定义(definition)中。</p></div><div class=read-more><a href=/post/cpp-default-argument/ class=read-more-link>Read more...</a></div></div></article><article class=post><header class=post-header><h1 class=post-title><a class=post-link href=/post/fresh-experience-on-munch/>红米 K40S 初体验</a></h1><div class=post-meta><span class=post-time>September 13, 2022</span><div class=post-category><a href=/categories/life/>life</a></div></div></header><div class=post-content><div class=post-summary><p>8 月 8 日入手了一台红米 K40S(设备代号 munch)。蹲了很久了,终于等到 88 购物节一波降价,在某东 1999 拿下顶配版 K40S.</p></div><div class=read-more><a href=/post/fresh-experience-on-munch/ class=read-more-link>Read more...</a></div></div></article></section><nav class=pagination><a class=next href=/page/2/><span class=next-text>Next</span>
<i class="iconfont icon-right"></i></a></nav></div></div></main><footer id=footer class=footer><div class=social-links><a href=mailto:guyueshui002@gmail.com class="iconfont icon-email" title=email></a><a href=https://github.com/guyueshui class="iconfont icon-github" title=github></a><a href=/index.xml type=application/rss+xml class="iconfont icon-rss" title=rss></a></div><div class=copyright><span class=power-by>Powered by <a class=hexo-link href=https://gohugo.io>Hugo</a>
</span><span class=division>|</span>
<span class=theme-info>Theme -
<a class=theme-link href=https://github.com/olOwOlo/hugo-theme-even>Even</a></span><div class=busuanzi-footer></div><span class=copyright-year>©
2018 -
2025<span class=heart><i class="iconfont icon-heart"></i></span><span>Yychi</span></span></div></footer><div class=back-to-top id=back-to-top><i class="iconfont icon-up"></i></div></div><script src=https://cdn.jsdelivr.net/npm/jquery@3.6.0/dist/jquery.min.js integrity="sha256-/xUj+3OJU5yExlq6GSYGSHk7tPXikynS7ogEvDej/m4=" crossorigin=anonymous></script><script src=https://cdn.jsdelivr.net/npm/slideout@1.0.1/dist/slideout.min.js integrity="sha256-t+zJ/g8/KXIJMjSVQdnibt4dlaDxc9zXr/9oNPeWqdg=" crossorigin=anonymous></script><script src=https://cdn.jsdelivr.net/npm/@fancyapps/fancybox@3.1.20/dist/jquery.fancybox.min.js integrity="sha256-XVLffZaxoWfGUEbdzuLi7pwaUJv1cecsQJQqGLe7axY=" crossorigin=anonymous></script><script type=text/javascript src=/js/main.min.4ae89da218555efa0e7093a20b92017d2e1202b66fff9fc2edf4cb8d44b44c6e.js></script></body></html>