<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="/linen-theme/css/rss-en.xsl"?>
<rss version="2.0">
<channel>
  <title>想四处走走看看</title>
  <link>http://example.com</link>
  <description>blog、编程、生活</description>
  <lastBuildDate>Wed, 29 Apr 2026 09:08:18 GMT</lastBuildDate>
  <image>
      <url>http://example.com/favicon.svg</url>
      <title>想四处走走看看</title>
      <link>http://example.com</link>
    </image>
  
    <item>
      <title>iphone 飞行指南</title>
      <link>http://example.com/2026/02/05/%E6%8A%98%E8%85%BE/apple/iphone-%E9%A3%9E%E8%A1%8C%E6%8C%87%E5%8D%97/</link>
      <guid>http://example.com/2026/02/05/%E6%8A%98%E8%85%BE/apple/iphone-%E9%A3%9E%E8%A1%8C%E6%8C%87%E5%8D%97/</guid>
      <pubDate>Feb 5, 2026</pubDate>
      <description><![CDATA[<!-- 
①②③④⑤⑥⑦⑧⑨⑩⑪⑫⑬⑭⑮⑯⑰⑱⑲⑳
<font color=#FF4500></font>
<font color=#D2691E></font>
<font color=#008B45></font>
← ↑ → ↓ ↖ ↙ ↗ ↘ ↕
https://dict.youdao.com/dictvoice?audio=sit&type=2
网址链接中的空格用 %20 转义
「」
✅ ☑️ ❌ ❎ ❗ ‼️ 🔖 📌 📝 🐳 📷 🐧 👉 👇 🥦 🔆 🎨 
-->

<br>

<h2 id="官方"><a href="#官方" class="headerlink" title="官方"></a>官方</h2><ul>
<li><a href="https://www.hubweb.cn/">Apple 产品参数中心</a> </li>
<li><a href="https://www.apple.com.cn/shop/trade-in">Apple 换购</a></li>
</ul>
<br>

<h2 id="一日一技"><a href="#一日一技" class="headerlink" title="一日一技"></a>一日一技</h2><ul>
<li><a href="https://sspai.com/post/88334">「助你苹安」iPhone 一键遥控 Android 热点，简单设置强化双持体验</a></li>
<li><a href="https://razeen.me/posts/easy-ways-backup-iphone-over-wifi/">通过 Wi-Fi 自动备份你的 iPhone 到 Nas</a>，关于备份速度配合<a href="#%E9%AB%98%E9%80%9F%E5%A4%87%E4%BB%BD">高速备份</a>一起服用。</li>
<li><a href="https://sspai.com/post/76016">怎样将 iPhone 备份保存到 Mac 的外部存储设备</a>，关于备份速度配合<a href="#%E9%AB%98%E9%80%9F%E5%A4%87%E4%BB%BD">高速备份</a>一起服用。</li>
</ul>
<br>

<h2 id="快捷指令"><a href="#快捷指令" class="headerlink" title="快捷指令"></a>快捷指令</h2><ul>
<li><a href="https://www.icloud.com/shortcuts/a42cdb71027c4b67a6be0f60f8bf0b42">位置修正（离线版）：通过地图获取<code>GCJ02</code>坐标位置后转换为<code>WGS84</code>坐标再设置自动化</a>，配合 <a href="#iphone%E8%87%AA%E5%8A%A8%E5%8C%96%E5%88%B0%E8%BE%BE%E4%BD%8D%E7%BD%AE%E4%B8%8D%E6%89%A7%E8%A1%8C">「iphone自动化到达位置不执行」</a> 一起服用。</li>
<li><a href="https://zhuanlan.zhihu.com/p/685730902">自动添加菜鸟驿站和丰巢取件码短信到提醒事项</a>。</li>
<li><a href="https://sspai.com/page/playbook/zh-CN">少数派 快捷指令库</a></li>
</ul>
<br>

<h2 id="手册"><a href="#手册" class="headerlink" title="手册"></a>手册</h2><h3 id="iphone自动化到达位置不执行"><a href="#iphone自动化到达位置不执行" class="headerlink" title="iphone自动化到达位置不执行"></a>iphone自动化到达位置不执行</h3><ul>
<li><a href="https://discussionschinese.apple.com/thread/255206814?sortBy=rank">iphone个人自动化到达位置不执行</a></li>
<li><a href="https://linux.do/t/topic/113939">IOS快捷指令自动化定位不生效解决方法</a></li>
</ul>
<blockquote>
<p>中国大陆地图主要使用三种坐标系：国际标准的WGS84，国家测绘强制加密的GCJ-02（火星坐标系），以及百度的BD-09。互联网地图服务（如高德、腾讯）强制使用GCJ-02，百度使用BD-09，而设备底层导航通常基于WGS84。转换需使用特定算法。</p>
<p>苹果地图国内使用的是高德服务、自动化的位置触发貌似是使用的WGS坐标（即未偏移的坐标）。使用地图选点或者地址选点，呈现给用户的是国内经过偏移的位置（实际上用户没有偏移的这个概念，因为“我的位置”也是偏移后的）。所以设置自动化里的位置时，如果使用地址选点，给到苹果服务器的坐标就是偏移的。</p>
</blockquote>
<p>解决方法：</p>
<p>通过地图获取<code>GCJ02</code>坐标位置后转换为<code>WGS84</code>坐标再设置自动化，设置自动化时，直接填入经纬度选择第一个匹配的结果。</p>
<p>位置修正（离线版）快捷指令：<a href="https://www.icloud.com/shortcuts/a42cdb71027c4b67a6be0f60f8bf0b42">https://www.icloud.com/shortcuts/a42cdb71027c4b67a6be0f60f8bf0b42</a></p>
<div style="text-align:center">
    <img loading="lazy" src="通过地图获取GCJ02坐标位置后转换为WGS84坐标再设置自动化.png" style="width:100%;"  alt="通过地图获取GCJ02坐标位置后转换为WGS84坐标再设置自动化"/>
</div>

<br>

<h3 id="去广告-Shadowrocket"><a href="#去广告-Shadowrocket" class="headerlink" title="去广告 Shadowrocket"></a>去广告 Shadowrocket</h3><ul>
<li><a href="https://www.v2ex.com/t/1059847">iPhone 上国内软件打开就有 5 秒的广告，兄弟们都是用什么方法彻底解决这个广告的</a></li>
<li><a href="https://johnshall.github.io/Shadowrocket-ADBlock-Rules-Forever/">最完善的 iOS Shadowrocket规则</a></li>
</ul>
<br>

<h3 id="旧版本APP"><a href="#旧版本APP" class="headerlink" title="旧版本APP"></a>旧版本APP</h3><blockquote style="border-left: 4px solid #6495ED; background-color: #F5F5F5; padding: 10px 20px;">
  <p><a href="https://www.v2ex.com/t/1025333#reply34" target="_blank">分享一下你们在用的旧版本 app 以及理由</a></p>
</blockquote>

<ul>
<li>百度网盘：11.23.0 （无开屏广告，没有恶心的首页）</li>
<li>QQ：8.8.23（没有开屏广告、是植入 Unity 前的最后一版（ 8.8.50 ），而且是唯一支持 iOS 系统的长按文字跨应用拖拽功能的版本）</li>
<li>支付宝：10.2.96 （轻巧流畅）</li>
<li>美团：12.0.202 （无开屏广告，无短视频）</li>
<li>高德地图：12.00.1 （无开屏广告）</li>
<li>知乎：6.7.0 （无开屏广告）</li>
<li>百度贴吧：12.28.3 （无开屏广告）</li>
<li>闲鱼 7.9.80 （无开屏广告）</li>
<li>bilibili：有条件从外区下载</li>
<li>微博国际版</li>
</ul>
<br>

<h2 id="相机"><a href="#相机" class="headerlink" title="相机"></a>相机</h2><div style="text-align:center">
    <span style="width:48%;display:inline-block">
        <img loading="lazy" src="相机-1.jpg" alt="相机-1"
             style="zoom:100%;"/>
    </span>
    <span style="width:48%;display:inline-block">
        <img loading="lazy" src="相机-2.jpg" alt="相机-2"
             style="zoom:100%;"/>
    </span>
</div>

<p></p>

<div style="text-align:center">
    <span style="width:48%;display:inline-block">
        <img loading="lazy" src="相机-3.jpg" alt="相机-3"
             style="zoom:100%;"/>
    </span>
    <span style="width:48%;display:inline-block">
        <img loading="lazy" src="相机-4.jpg" alt="相机-4"
             style="zoom:100%;"/>
    </span>
</div>

<p></p>

<div style="text-align:center">
    <span style="width:48%;display:inline-block">
        <img loading="lazy" src="相机-5.jpg" alt="相机-5"
             style="zoom:100%;"/>
    </span>
    <span style="width:48%;display:inline-block">
        <img loading="lazy" src="相机-6.jpg" alt="相机-6"
             style="zoom:100%;"/>
    </span>
</div>

<p></p>

<div style="text-align:center">
    <span style="width:48%;display:inline-block">
        <img loading="lazy" src="相机-7.jpg" alt="相机-7"
             style="zoom:100%;"/>
    </span>
    <span style="width:48%;display:inline-block">
        <img loading="lazy" src="相机-8.jpg" alt="相机-8"
             style="zoom:100%;"/>
    </span>
</div>
<br>
]]></description>
    </item>
    <item>
      <title>Mac 飞行指南</title>
      <link>http://example.com/2026/02/05/%E6%8A%98%E8%85%BE/apple/Mac-%E9%A3%9E%E8%A1%8C%E6%8C%87%E5%8D%97/</link>
      <guid>http://example.com/2026/02/05/%E6%8A%98%E8%85%BE/apple/Mac-%E9%A3%9E%E8%A1%8C%E6%8C%87%E5%8D%97/</guid>
      <pubDate>Feb 5, 2026</pubDate>
      <description><![CDATA[<!-- 
①②③④⑤⑥⑦⑧⑨⑩⑪⑫⑬⑭⑮⑯⑰⑱⑲⑳
<font color=#FF4500></font>
<font color=#D2691E></font>
<font color=#008B45></font>
← ↑ → ↓ ↖ ↙ ↗ ↘ ↕
https://dict.youdao.com/dictvoice?audio=sit&type=2
网址链接中的空格用 %20 转义
「」
✅ ☑️ ❌ ❎ ❗ ‼️ 🔖 📌 📝 🐳 📷 🐧 👉 👇 🥦 🔆 🎨 
-->

<br>

<h2 id="官方"><a href="#官方" class="headerlink" title="官方"></a>官方</h2><ul>
<li><a href="https://www.hubweb.cn/">Apple 产品参数中心</a></li>
<li><a href="https://www.apple.com.cn/shop/trade-in">Apple 换购</a></li>
<li><a href="https://support.apple.com/zh-cn/guide/mac-help/mh27903/10.15/mac/10.15">抹掉并重新安装 macOS - Apple 支持 (中国)</a></li>
<li><a href="https://support.apple.com/zh-cn/HT211683">如何获取旧版 macOS - Apple 支持 (中国)</a></li>
<li><a href="https://discussionschinese.apple.com/thread/251418860">如何安装指定版本的mac操作系统 - Apple 社区</a></li>
</ul>
<h2 id="指南-教程"><a href="#指南-教程" class="headerlink" title="指南&amp;教程"></a>指南&amp;教程</h2><ul>
<li><a href="https://github.com/shockerli/mac-initialize?continueFlag=1e3b4ed0538916759229a4cc02c865ee">💻 Mac 开光指南（V2），为你的新 Mac 系统提供一份快速食用方法</a></li>
<li><a href="https://44maker.github.io/wiki/Mac/index.html#start">Mac教程 一站式解决大部分Mac问题</a> </li>
<li><a href="https://blog.dreamtobe.cn/mac_to_nas/">将MacMini&#x2F;Macbook改为家庭服务器</a></li>
<li><a href="https://www.applegamingwiki.com/wiki/M1_CrossOver_Windows_compatible_games_list">M芯片 游戏兼容列表（M1 CrossOver Windows compatible games list）</a></li>
</ul>
<br>

<h2 id="一日一技"><a href="#一日一技" class="headerlink" title="一日一技"></a>一日一技</h2><ul>
<li><a href="https://sspai.com/post/78613">一日一技 | 重启试试不是长久之计，两条命令帮你排查意外关机成因</a>。</li>
</ul>
<br>

<h2 id="手册"><a href="#手册" class="headerlink" title="手册"></a>手册</h2><h3 id="高速备份"><a href="#高速备份" class="headerlink" title="高速备份"></a>高速备份</h3><p>Mac 备份非常慢。如果你的 Mac 是第一次在这个上面进行备份，第一次备份一般都很慢，可以调节参数的方式将其调节为全速进行备份，记得备份完后将其调整回来，否则可能会导致你的电脑在正常使用的时候由于同时在备份导致卡顿。</p>
<pre><code class="shell"># 打开终端，执行如下命令开启全速备份：
sudo sysctl debug.lowpri_throttle_enabled=0

#关闭全速备份：
sudo sysctl debug.lowpri_throttle_enabled=1
</code></pre>
<br>

<h3 id="查看当前系统的显示器休眠时间"><a href="#查看当前系统的显示器休眠时间" class="headerlink" title="查看当前系统的显示器休眠时间"></a>查看当前系统的显示器休眠时间</h3><pre><code class="shell">pmset -g | grep displaysleep
</code></pre>
<p>正常情况是设置的秒数。如果出现比如<code>wechat</code>或其他app名字，说明此app正在阻止系统进入睡眠和显示器休眠。</p>
<br>

<h3 id="App提示已损坏无法打开"><a href="#App提示已损坏无法打开" class="headerlink" title="App提示已损坏无法打开"></a>App提示已损坏无法打开</h3><ul>
<li><a href="https://xclient.info/a/4f212972-733a-5d3d-b3a5-dca2557cf2db.html">macOS Catalina 已损坏无法打开解决办法</a></li>
</ul>
<pre><code class="shell">sudo xattr -d com.apple.quarantine /Applications/xxxx.app
# 注意：/Applications/xxxx.app 换成你的App路径（推荐直接将.app文件拖入终端中自动生成路径，以防空格等转义字符手动复制或输入出现错误）
</code></pre>
<br>

<h3 id="缩小顶部菜单间距"><a href="#缩小顶部菜单间距" class="headerlink" title="缩小顶部菜单间距"></a>缩小顶部菜单间距</h3><blockquote style="border-left: 4px solid #6495ED; background-color: #F5F5F5; padding: 10px 20px;">
  <a href="https://www.v2ex.com/t/1047186" target="_blank">macos 无需软件缩小托盘图标间隔</a>
</blockquote>


<pre><code class="shell"># 指定间距, 命令末尾 x 改为想要的数字, 推荐 5 比较合适
defaults -currentHost write -globalDomain NSStatusItemSpacing -int x
# 还原
defaults -currentHost delete -globalDomain NSStatusItemSpacing

# 指定内边距, 命令末尾 x 改为想要的数字
defaults -currentHost write -globalDomain NSStatusItemSelectionPadding -int x
# 还原
defaults -currentHost delete -globalDomain NSStatusItemSelectionPadding

# 查询当前间距
defaults -currentHost read -globalDomain NSStatusItemSpacing
defaults -currentHost read -globalDomain NSStatusItemSelectionPadding
</code></pre>
<br>

<h3 id="idleassetd-占用大量内存和流量"><a href="#idleassetd-占用大量内存和流量" class="headerlink" title="idleassetd 占用大量内存和流量"></a>idleassetd 占用大量内存和流量</h3><blockquote style="border-left: 4px solid #6495ED; background-color: #F5F5F5; padding: 10px 20px;">
  <a href="https://zhuanlan.zhihu.com/p/716646233" target="_blank">Mac令人疯狂的idleassetd占用大量内存和流量</a>
</blockquote>

<p>因为开启了屏幕保护程序，mac 后台在下载超大的 4k 120hz 的屏保程序。</p>
<div style="text-align:center">
 <img loading="lazy" src="idleassetd-占用大量内存和流量.png" style="width:80%;"  alt="不活跃时启动屏幕保护程序设为永不（可选）"/>
</div>

<p>删除下载的文件：</p>
<pre><code class="shell">访达路径：/Library/Application Support/com.apple.idleassetsd/Customer/4KSDR240FPS
</code></pre>
<p>关闭自动下载命令：</p>
<pre><code class="shell">sudo defaults write /Library/Application\ Support/com.apple.idleassetsd AutomaticDownload -bool false 
</code></pre>
<br>

<h3 id="意外关机-重启排查"><a href="#意外关机-重启排查" class="headerlink" title="意外关机&amp;重启排查"></a>意外关机&amp;重启排查</h3><ul>
<li><a href="https://sspai.com/post/78613">一日一技 | 重启试试不是长久之计，两条命令帮你排查意外关机成因</a></li>
</ul>
<p>查看系统日志，命令行输入：</p>
<pre><code class="shell">log show --predicate &#39;eventMessage contains &quot;Previous shutdown cause&quot;&#39; --last 24h
</code></pre>
<table>
<thead>
<tr>
<th>命令块</th>
<th>解释</th>
</tr>
</thead>
<tbody><tr>
<td><code>log show</code></td>
<td>macOS 的系统日志命令，查看显示系统日志内容。</td>
</tr>
<tr>
<td><code>--predicate &#39;eventMessage contains &quot;Previous shutdown cause&quot;&#39;</code></td>
<td>这是一个<strong>筛选条件</strong>，只显示日志中包含 <code>&quot;Previous shutdown cause&quot;(此前关机的原因)</code> 的内容。</td>
</tr>
<tr>
<td><code>--last 24h</code></td>
<td>表示只查看<strong>最近24小时内</strong>的日志。</td>
</tr>
</tbody></table>
<p>静待一段时间，你就能看到日志筛选后到结果，我们需要注意的信息就是<code>Previous shutdown cause</code>后续跟随的数字，这个数字代表着 Mac 电脑上次是因为什么原因而关闭的。总的来说，负数的代码通常是因硬件而关机的，该信息由系统管理控制器 (SMC)或处理器本身报告；而正数因软件而关机的。</p>
<table>
<thead>
<tr>
<th>数字</th>
<th>解释</th>
<th>解决方案</th>
</tr>
</thead>
<tbody><tr>
<td>5</td>
<td>正常关机</td>
<td>由用户或命令发起的关机，没有问题</td>
</tr>
<tr>
<td>3</td>
<td>硬关机</td>
<td>因电源按钮关机 如果不是由你按下的话，需要检查电源按钮</td>
</tr>
<tr>
<td>0</td>
<td>断电</td>
<td>因断电导致的关机，具体参见下文</td>
</tr>
<tr>
<td>-3</td>
<td>多个温度传感器温度过高</td>
<td>安装可以获取传感器温度度数的软件， 检查具体传感器的问题，并在必要的 情况下向 Apple 申请维修。</td>
</tr>
<tr>
<td>-14</td>
<td>瞬态尖峰或浪涌</td>
<td>Mac Pro 上内置电源的问题，可能需要售后</td>
</tr>
<tr>
<td>-20</td>
<td>T2 芯片关机</td>
<td>由 T2 芯片或 BridgeOS 引起的关机 反复出现需要进行售后</td>
</tr>
<tr>
<td>-60</td>
<td>损坏的主目录区块</td>
<td>备份你的数据，擦除磁盘并重新安装 macOS 在重新安装前可能会有数据丢失的风险</td>
</tr>
<tr>
<td>-61&#x2F;-62</td>
<td>定时器监测到未响应 的程序并关闭&#x2F;重启系统</td>
<td>在未响应的程序导致内核崩溃之前， 强行重启计算机，具体参见下文</td>
</tr>
<tr>
<td>-65</td>
<td>未知</td>
<td>重装 macOS 大概率解决</td>
</tr>
<tr>
<td>-71</td>
<td>内存模块过热</td>
<td>对于台式机：更换内存，确认是否是硬件问题 对于笔记本：检查温度、风扇和传感器 通用：清理风扇和气道，寻求售后</td>
</tr>
<tr>
<td>-74</td>
<td>电池温度过高</td>
<td><a href="https://support.apple.com/zh-cn/HT201295">重置 smc</a> 检查电池硬件是否正常，或寻求售后</td>
</tr>
<tr>
<td>-75</td>
<td>无法连接 AC 适配器</td>
<td>检查插头、适配器、线缆和硬件接口</td>
</tr>
<tr>
<td>-78</td>
<td>AC 适配器回报错误的电流</td>
<td>检查插头、适配器、线缆和硬件接口</td>
</tr>
<tr>
<td>-79</td>
<td>电池回报错误的电流</td>
<td>检查电池、检查电池是否连接到主板</td>
</tr>
<tr>
<td>-85</td>
<td>芯片温度过高</td>
<td>检查 CPU、GPU、SoC 的散热系统或风扇</td>
</tr>
<tr>
<td>-95</td>
<td>CPU 温度过高</td>
<td>检查 CPU 散热或风扇、<a href="https://support.apple.com/zh-cn/HT201295">重置 smc</a></td>
</tr>
<tr>
<td>-100</td>
<td>电源温度过高</td>
<td>检查风扇或气流、移除外接电源</td>
</tr>
<tr>
<td>-102</td>
<td>电压过高</td>
<td>电压过高导致关机保护，检查电源或电池</td>
</tr>
<tr>
<td>-103</td>
<td>电池欠压</td>
<td>检查电池，或更换电池</td>
</tr>
<tr>
<td>-104</td>
<td>未知</td>
<td>可能与电池有关，检查电池，或更换电池</td>
</tr>
<tr>
<td>-108&#x2F;-112&#x2F;-128</td>
<td>未知</td>
<td>可能与内存有关，检查内存，或更换内存</td>
</tr>
</tbody></table>
<br>

<h3 id="输入法切换时关闭图标提示"><a href="#输入法切换时关闭图标提示" class="headerlink" title="输入法切换时关闭图标提示"></a>输入法切换时关闭图标提示</h3><p>macOS 14后的系统，输入法切换时关闭图标提示。</p>
<blockquote style="border-left: 4px solid #6495ED; background-color: #F5F5F5; padding: 10px 20px;">
  <a href="https://discussionschinese.apple.com/thread/255178136?sortBy=rank" target="_blank">macOS 14 Sonoma 输入法切换时，如何关闭图标提示</a>
</blockquote>

<pre><code class="shell"># 执行命令、输入密码、重启电脑
sudo defaults write /Library/Preferences/FeatureFlags/Domain/UIKit.plist redesigned_text_cursor -dict-add Enabled -bool NO
</code></pre>
<div style="text-align:center">
 <img loading="lazy" src="mac-切换输入法图标提示.png" style="width:60%;"  alt="mac 切换输入法图标提示"/>
</div>

<br>

<h3 id="查看-icloud-中保存的图书"><a href="#查看-icloud-中保存的图书" class="headerlink" title="查看 icloud 中保存的图书"></a>查看 icloud 中保存的图书</h3><p>在 mac finder 中查看 icloud 中保存的图书</p>
<ul>
<li><code>~/Library/Mobile Documents/iCloud~com~apple~iBooks/Documents</code></li>
</ul>
<div style="text-align:center">
    <span style="width:48%;display:inline-block">
        <img loading="lazy" src="icloud-图书-1.png" alt="icloud-图书-1"
             style="zoom:100%;"/>
    </span>
    <span style="width:48%;display:inline-block">
        <img loading="lazy" src="icloud-图书-2.png" alt="icloud-图书-2"
             style="zoom:100%;"/>
    </span>
</div>

<br>

<h3 id="避免盖下盖子被休眠"><a href="#避免盖下盖子被休眠" class="headerlink" title="避免盖下盖子被休眠"></a>避免盖下盖子被休眠</h3><p>避免盖下盖子被休眠：</p>
<pre><code class="shell">sudo pmset -b sleep 0; sudo pmset -b disablesleep 1
</code></pre>
<p>重新恢复休眠能：</p>
<pre><code class="shell">sudo pmset -b sleep 5; sudo pmset -b disablesleep 0
</code></pre>
<br>

<h3 id="为啥Mac启动台图标删不掉？"><a href="#为啥Mac启动台图标删不掉？" class="headerlink" title="为啥Mac启动台图标删不掉？"></a>为啥Mac启动台图标删不掉？</h3><ul>
<li><a href="https://sspai.com/post/85136">为啥Mac启动台图标删不掉？</a></li>
</ul>
<ol>
<li><p>打开 Finder</p>
</li>
<li><p>按下 <code>command+shift+G</code> 启动前往窗口</p>
</li>
<li><p>在前往中输入地址 <code>/private/var/folders</code> 后回车</p>
</li>
<li><p>在当前文件路径下搜索 <code>com.apple.dock.launchpad</code> 这个文件夹</p>
</li>
<li><p>进入后有个文件夹叫 <code>db</code></p>
</li>
<li><p>打开终端，通过 <code>cd</code> 命令进入该文件夹</p>
</li>
<li><p>确认路径无误后在终端输入：</p>
</li>
</ol>
<pre><code class="shell"> sqlite3 db &quot;delete from apps where title=&#39; 应用名称 &#39;;&quot;&amp;&amp;killall Dock`
 
 # 从Dock中移除指定名称的应用程序快捷方式图标,并重启Dock
</code></pre>
<ol start="8">
<li>看见窗口跳动后即成功</li>
</ol>
<br>

<h3 id="‘聚焦’、mds-进程高负载"><a href="#‘聚焦’、mds-进程高负载" class="headerlink" title="‘聚焦’、mds*进程高负载"></a>‘聚焦’、mds*进程高负载</h3><pre><code class="shell"># 禁止&#39;聚焦&#39;索引文件

关闭：`sudo mdutil -a -i off`
打开：`sudo mdutil -a -i on`
</code></pre>
<p>尝试了上面这个方法不太行，反其道行之，把硬盘下所有主要目录（用户、应用程序、系统、资源库）加入到’聚焦’的隐私选项中。</p>
<br>

<h3 id="查看写入量"><a href="#查看写入量" class="headerlink" title="查看写入量"></a>查看写入量</h3><pre><code class="shell"># smartmontools
安装：`brew install smartmontools`
执行命令：`smartctl -a disk0`
关注参数：`Data Units Read`、`Data Units Written`
</code></pre>
<br>

<h3 id="应用隐藏与恢复"><a href="#应用隐藏与恢复" class="headerlink" title="应用隐藏与恢复"></a>应用隐藏与恢复</h3><ul>
<li><code>command + h</code> 快捷键隐藏的应用，可以通过<code>command + tab</code>恢复。</li>
<li><code>command + m</code> 快捷键隐藏的应用，可以通过<code>command + tab</code>选中应用，松开时按住<code>option</code>恢复；或者通过鼠标点击app图标恢复。</li>
</ul>
<br>

<h2 id="工具-app"><a href="#工具-app" class="headerlink" title="工具&amp;app"></a>工具&amp;app</h2><ul>
<li>微信导出&amp;备份：<a href="http://wxbackup.com/guide?v=1772252947969">http://wxbackup.com/guide?v=1772252947969</a> <p></p></li>
<li>一键激活JetBrains全家桶：<a href="https://linux.do/t/topic/694120">https://linux.do/t/topic/694120</a> <p></p></li>
<li>pronotes：Apple 备忘录插件应用，支持部分 markdown 语法。 <p></p></li>
<li>iterm2<ul>
<li>快捷键打开iterm2窗口：Preferences -&gt; Keys -&gt; HotKey -&gt; 点击”Create a Dedicated Hotkey Window”<br>弹出的窗口中，勾选”Double-tap key”，然后设置打开窗口的快捷键。</li>
<li>iterm2 关闭命令行遮罩：<code>General / Selection uncheck the option &quot;Clicking on a command selects it to restrict Find and Filter&quot;</code> <p></p></li>
</ul>
</li>
<li>硬盘测速工具：Blackmagic Disk Speed Test <p></p></li>
<li>蓝牙设备解锁：<a href="https://github.com/ts1/BLEUnlock">BLEUnlock &lt;使用iPhone、Apple Watch或任何其他蓝牙LE设备锁定&#x2F;解锁Mac&gt;</a> <p></p></li>
<li><a href="https://twitter.com/Kaiyi42/status/1705203656080208202">微信双开</a>：<div style="text-align:center">
 <img loading="lazy" src="F6oZlFUasAAB4w4.png" style="width:75%;"  alt="macOS - wx双开"/>
</div> <p></p></li>
<li>cnpm：<code>sudo npm install -g cnpm --registry=https://registry.npm.taobao.org;</code> <p></p></li>
<li>oh-my-zsh(oh-my-zsh 从 github 指向 gitee)：<code>sh -c &quot;$(curl -fsSL https://gitee.com/shmhlsy/oh-my-zsh-install.sh/raw/master/install.sh)&quot;</code> <p></p></li>
<li>homeBrew(国内源安装)：<code>/bin/zsh -c &quot;$(curl -fsSL https://gitee.com/cunkai/HomebrewCN/raw/master/Homebrew.sh)&quot; speed</code> <p></p></li>
<li>telnet：<code>brew install telnet</code></li>
</ul>
<br>
]]></description>
    </item>
    <item>
      <title>🔖 开发 Cheat Sheet</title>
      <link>http://example.com/2020/02/14/%E7%BC%96%E7%A8%8B/%E5%BC%80%E5%8F%91-Cheat-Sheet/</link>
      <guid>http://example.com/2020/02/14/%E7%BC%96%E7%A8%8B/%E5%BC%80%E5%8F%91-Cheat-Sheet/</guid>
      <pubDate>Feb 14, 2020</pubDate>
      <description><![CDATA[<!-- 
①②③④⑤⑥⑦⑧⑨⑩⑪⑫⑬⑭⑮⑯⑰⑱⑲⑳
<font color=#FF4500></font>
<font color=#D2691E></font>
<font color=#008B45></font>
← ↑ → ↓ ↖ ↙ ↗ ↘ ↕
https://dict.youdao.com/dictvoice?audio=sit&type=2
网址链接中的空格用 %20 转义
「」
✅ ☑️ ❌ ❎ ❗ ‼️ 🔖 📌 📝 🐳 📷 🐧 👉 👇 🥦 🔆 🎨 
-->

<h2 id="文档"><a href="#文档" class="headerlink" title="文档"></a>文档</h2><ul>
<li>写接口文档，把对接人当 SB 看待，一定要写的很详细，防止后续扯皮、甩锅。</li>
<li>文档后续变更，要同步 <u>添加&#x2F;更新</u> 文档中的 <b>变更记录</b>，方便日后溯源。同时也方便自己迅速回忆。</li>
</ul>
<br/>

<h2 id="客户沟通"><a href="#客户沟通" class="headerlink" title="客户沟通"></a>客户沟通</h2><p>在与客户沟通预期时几个原则：</p>
<ol>
<li>一定要给客户选择权，永远不要说不，要有条件地说是。</li>
<li>降低期望的同时给予其他的补偿。</li>
<li>提高期望的同时附加更多的条件。</li>
<li>对于比较大的期望要分步骤达到客户的期望。</li>
<li>不要帮客户做决定，而是给客户提供尽可能多的选项，然后引导客户做决定。</li>
</ol>
<div style="text-align:center"><img loading="lazy" src="客户沟通.jpg" alt="客户沟通" style="width:60%;" /></div>

<br/>

<h2 id="Java"><a href="#Java" class="headerlink" title="Java"></a>Java</h2><h3 id="IntelliJ-IDEA-找不到符号"><a href="#IntelliJ-IDEA-找不到符号" class="headerlink" title="IntelliJ IDEA: 找不到符号"></a>IntelliJ IDEA: 找不到符号</h3><p>关键词：IntelliJ IDEA、lombok、maven</p>
<p>现象：build编译项目时，总是出现<code>java：找不到符号</code>这个错误提示，导致编译中断。</p>
<p>解决方案：settings -&gt; Build,Exection,Deployment -&gt; Compiler -&gt;  Shared build process VM options 输入框。</p>
<p>添加如下配置：<code>-Djps.track.ap.dependencies=false</code></p>
<br/>

<h3 id="注释写法"><a href="#注释写法" class="headerlink" title="注释写法"></a>注释写法</h3><p>备忘源码中注释样式的各种写法，提高注释水平。</p>
<ul>
<li>列表<br>关键词：<code>&lt;ul&gt;&lt;/ul&gt;</code>、<code>&lt;li&gt;&lt;/li&gt;</code><div style="text-align:center"><img loading="lazy" src="Java注释样式写法01.png" alt="" style="width:90%;" /></div></li>
</ul>
<br/>

<ul>
<li>注释中包含代码<br>关键词：<code>&lt;pre&gt;&lt;/pre&gt;</code>、<code>{@code}</code><div style="text-align:center"><img loading="lazy" src="Java注释样式写法02.png" alt="" style="width:90%;" /></div></li>
</ul>
<br/>

<ul>
<li>注释继承<br>接口的实现类，使用 <code>{@inheritDoc}</code> 注解，在阅读模式下，显示接口方法中的注释。<div style="text-align:center"><img loading="lazy" src="inheritDoc注解.png" alt="inheritDoc注解" style="width:90%;" /></div></li>
</ul>
<br/>

<ul>
<li>直接引用变量值<br>关键词：<code>{@value}</code><div style="text-align:center">
  <span style="width:49%;display:inline-block">
      <img loading="lazy" src="@value-1.png" alt=""
           style="zoom:100%;"/>
  </span>
  <span style="width:49%;display:inline-block">
      <img loading="lazy" src="@value-2.png" alt=""
           style="zoom:100%;"/>
  </span>
</div></li>
</ul>
<br/>

<ul>
<li>package-info.java<br><code>pacakge-info.java</code> 是一个Java文件，可以添加到任何的Java源码包中。<code>pacakge-info.java</code> 的目标是提供一个包级的文档说明或者是包级的注释。<br>如 spring-boot 源码中的示例：<pre><code class="java">/*
 * Copyright 2012-2017 the original author or authors.
 *
 * Licensed under the Apache License, Version 2.0 (the &quot;License&quot;);
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *      https://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an &quot;AS IS&quot; BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */

/**
 * Core Spring Boot classes.
 *
 * @see org.springframework.boot.SpringApplication
 */
package org.springframework.boot;
</code></pre>
注意：在 IDEA 中 <code>package-info.java</code> 文件不能随便被创建，会出现 <code>This is not a valid Java qualified name</code> 错误，可以通过创建一个普通的文件来变相创建 <code>pacakge-info.java</code> 文件。</li>
</ul>
<br/>

<h2 id="端口占用"><a href="#端口占用" class="headerlink" title="端口占用"></a>端口占用</h2><ul>
<li><p>macOS</p>
<ul>
<li><code>sudo lsof -i tcp:8080</code> 查看8080端口被哪个程序占用</li>
<li><code>sudo kill -9 PID</code> 杀掉指定进程</li>
</ul>
</li>
<li><p>windows </p>
<ul>
<li>打开cmd（命令行） </li>
<li>netstat -ano|findstr 端口号 </li>
<li>taskkill &#x2F;pid 进程号 &#x2F;F<br>端口信息最后一列即进程号</li>
</ul>
</li>
</ul>
<blockquote>
<p>  遇到 kill 进程失败，可以使用第三方工具强制kill，例如：火绒-火绒剑</p>
</blockquote>
<br>

<h2 id="WebStorm"><a href="#WebStorm" class="headerlink" title="WebStorm"></a>WebStorm</h2><h3 id="debug模式"><a href="#debug模式" class="headerlink" title="debug模式"></a>debug模式</h3><p>项目正常启动后，按住 <code>command + shift</code>，然后点击local#url，自动开启debug模式。</p>
<p>注意：只对localhost地址有效，对Network地址无效。</p>
<h3 id="Live-Template"><a href="#Live-Template" class="headerlink" title="Live Template"></a>Live Template</h3><h4 id="function"><a href="#function" class="headerlink" title="function"></a>function</h4><pre><code class="tex">function $NAME$(): $TYPE$ {
    $end$
}
</code></pre>
<h4 id="箭头函数"><a href="#箭头函数" class="headerlink" title="箭头函数"></a>箭头函数</h4><div style="text-align:center"><img loading="lazy" src="webStorm箭头函数.png" alt="webStorm箭头函数" style="width:100%;" /></div>

<pre><code class="tex">() =&gt; {
    $end$
}
</code></pre>
<br/>

]]></description>
    </item>
</channel>
</rss>