<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0"
  xmlns:atom="http://www.w3.org/2005/Atom"
  xmlns:content="http://purl.org/rss/1.0/modules/content/">
  <channel>
    <title>Mindigma&#39;s Blog</title>
    <link>https://777779999.xyz/</link>
    
    <atom:link href="https://777779999.xyz/rss2.xml" rel="self" type="application/rss+xml"/>
    
    <description></description>
    <pubDate>Wed, 26 Nov 2025 02:00:00 GMT</pubDate>
    <generator>http://hexo.io/</generator>
    
    <item>
      <title>英语漂流 / English Drift</title>
      <link>https://777779999.xyz/english-drift/</link>
      <guid>https://777779999.xyz/english-drift/</guid>
      <pubDate>Sun, 21 Sep 2025 07:05:56 GMT</pubDate>
      
      <description>本文将长期更新，记录我对「可理解输入假说」的实践。</description>
      
      
      
      <content:encoded><![CDATA[<p>为了节省空间，我把闲话放到这个页面里 -&gt; <a href="./preface">一些闲话</a></p><h2 id="词汇量变化一览（word-families）">词汇量变化一览（word families）</h2><p><canvas id="lineChart" width="400" height="200"></canvas></p><script src="https://cdn.jsdelivr.net/npm/chart.js"></script><script>    const ctx = document.getElementById('lineChart').getContext('2d');    const myChart = new Chart(ctx, {        type: 'line',        data: {            labels: ["2025/09/21"],            datasets: [{                label: '词汇量',                data: [6400],                borderColor: 'rgb(75, 192, 192)',                tension: 0.1            }]        },        options: {            plugins: {                tooltip: {                    mode: 'index',                    intersect: false                }            },            hover: {                mode: 'index',                intersect: false            },            scales: {                y: {                    beginAtZero: true                }            }        }    });</script><h2 id="漂流日志">漂流日志</h2><h3 id="9-月">9 月</h3><hr><h4 id="阅读">阅读</h4><ul><li><strong>09/26/25</strong><br>  Magic Tree House #1 - Dinosaurs Before Dark</li></ul><h4 id="播客">播客</h4><ul><li><strong>09/21/25</strong><br>  EnglishPod #1-4</li><li><strong>09/22/25</strong><br>  EnglishPod #5</li><li><strong>09/23/25</strong><br>  EnglishPod #6</li><li><strong>09/27/25</strong><br>  EnglishPod #7</li></ul><h3 id="10-月">10 月</h3><hr><h4 id="阅读-t2">阅读</h4><ul><li><strong>10/03/25</strong><br>  Diary of a Wimpy Kid</li><li><strong>10/04/25</strong><br>  Magic Tree House #1 - Dinosaurs Before Dark<br>  Magic Tree House #2 - The Knight at Dawn<br>  Magic Tree House #3 - Mummies in the Morning</li><li><strong>10/09/25</strong><br>  Magic Tree House #4 - Pirates Past Noon</li><li><strong>10/12/25</strong><br>  Magic Tree House #5 - Night of the Ninjas</li><li><strong>10/15/25</strong><br>  Magic Tree House #6 - Afternoon on the Amazon</li><li><strong>10/18/25</strong><br>  Magic Tree House #7 - Sunset of the Sabertooth<br>  Magic Tree House #8 - Midnight on the Moon</li><li><strong>10/19/25</strong><br>  Magic Tree House #9 - Dolphins at Daybreak<br>  Magic Tree House #10 - Ghost Town at Sundown</li><li><strong>10/23/25</strong><br>  Magic Tree House #11 - Lions at Lunchtime</li></ul><h4 id="播客-t2">播客</h4><ul><li><strong>10/04/25</strong><br>  EnglishPod #8-9<br>  EnglishPod #10</li><li><strong>10/12/25</strong><br>  EnglishPod #11<br>  EnglishPod #12</li><li><strong>10/14/25</strong><br>  EnglishPod #13</li></ul><h4 id="影视剧等">影视剧等</h4><ul><li><strong>10/03/25</strong><br>  The Dark Knight</li><li><strong>10/05/25</strong><br>  Interstellar</li><li><strong>10/13/25</strong><br>  Oppenheimer</li><li><strong>10/22/25</strong><br>  The Dark Knight Rises</li></ul><h3 id="11-月">11 月</h3><hr><h4 id="阅读-t3">阅读</h4><ul><li><strong>11/03/25</strong><br>  Magic Tree House #12 - Polar Bears past Bedtime</li><li><strong>11/19/25</strong><br>  Magic Tree House #13 - Vacation under the Volcano</li><li><strong>11/21/25</strong><br>  Magic Tree House #14 - Day of the Dragon King</li></ul><h4 id="影视剧等-t2">影视剧等</h4><ul><li><strong>11/12/25</strong><br>  Peaky Blinders S01E01</li><li><strong>11/16/25</strong><br>  Peaky Blinders S01E02 - S01E03</li><li><strong>11/20/25</strong><br>  Peaky Blinders S01E04</li><li><strong>11/25/25</strong><br>  Peaky Blinders S01E05 - S01E06</li></ul>]]></content:encoded>
      
      
      <category domain="https://777779999.xyz/categories/%E8%8B%B1%E8%AF%AD/">英语</category>
      
      
      <category domain="https://777779999.xyz/tags/%E5%8F%AF%E7%90%86%E8%A7%A3%E8%BE%93%E5%85%A5/">可理解输入</category>
      
      
      <comments>https://777779999.xyz/english-drift/#disqus_thread</comments>
      
    </item>
    
    <item>
      <title>SleepWatcher + blueutil 实现蓝牙随 MacBook 睡眠自动开关</title>
      <link>https://777779999.xyz/sleepwatcher-blueutil/</link>
      <guid>https://777779999.xyz/sleepwatcher-blueutil/</guid>
      <pubDate>Tue, 12 Aug 2025 14:09:14 GMT</pubDate>
      
      <description>本文将介绍如何借助 SleepWatcher 和 blueutil，在 MacBook 进入睡眠和唤醒时自动关闭和开启蓝牙。</description>
      
      
      
      <content:encoded><![CDATA[<p>本文将介绍如何借助 <a href="https://www.bernhard-baehr.de/">SleepWatcher</a> 和 <a href="https://github.com/toy/blueutil">blueutil</a>，在 MacBook 进入睡眠和唤醒时自动关闭和开启蓝牙。</p><h2 id="安装-SleepWatcher-和-blueutil">安装 SleepWatcher 和 blueutil</h2><p>通过 Homebrew 安装：</p><pre><code class="hljs bash">$ brew install sleepwatcher blueutil</code></pre><p>你也可以选择从源码编译 SleepWatcher，官网提供了完整的 Makefile。本文仅介绍使用 Homebrew 的方法。</p><h2 id="配置脚本实现蓝牙开关">配置脚本实现蓝牙开关</h2><p>SleepWatcher 会在系统睡眠和唤醒时分别执行用户主目录下的 <code>~/.sleep</code> 和 <code>~/.wakeup</code> 脚本。我们通过这两个脚本调用 blueutil 来控制蓝牙状态。<br>需要注意的是，SleepWatcher 默认以 root 身份执行命令，但 blueutil 并不支持以 root 身份运行，因此需要切换回普通用户身份来执行。</p><p>执行以下命令确认 blueutil 路径：</p><pre><code class="hljs plaintext">$ which blueutil</code></pre><p>编辑 <code>~/.sleep</code> 脚本，添加以下内容，关闭蓝牙：</p><pre><code class="hljs bash"><span class="hljs-meta">#!/bin/bash</span><span class="hljs-built_in">sudo</span> -u yourUserName blueutilPath -p 0</code></pre><p>编辑 <code>~/.wakeup</code> 脚本，添加以下内容，开启蓝牙：</p><pre><code class="hljs bash"><span class="hljs-meta">#!/bin/bash</span><span class="hljs-built_in">sudo</span> -u yourUserName blueutilPath -p 1</code></pre><p>请自行替换 <code>yourUserName</code> 和 <code>blueutilPath</code>。</p><p>赋予脚本执行权限：</p><pre><code class="hljs bash">$ <span class="hljs-built_in">chmod</span> +x ~/.sleep ~/.wakeup</code></pre><h2 id="启动-SleepWatcher-服务">启动 SleepWatcher 服务</h2><p>最后，启动 SleepWatcher 服务，使配置生效：</p><pre><code class="hljs bash">$ brew services start sleepwatcher</code></pre><p>这样，当 MacBook 进入睡眠时蓝牙自动关闭，唤醒时自动开启。</p>]]></content:encoded>
      
      
      <category domain="https://777779999.xyz/categories/macOS/">macOS</category>
      
      <category domain="https://777779999.xyz/categories/macOS/%E8%87%AA%E5%8A%A8%E5%8C%96/">自动化</category>
      
      
      <category domain="https://777779999.xyz/tags/SleepWatcher/">SleepWatcher</category>
      
      <category domain="https://777779999.xyz/tags/blueutil/">blueutil</category>
      
      <category domain="https://777779999.xyz/tags/%E8%93%9D%E7%89%99/">蓝牙</category>
      
      
      <comments>https://777779999.xyz/sleepwatcher-blueutil/#disqus_thread</comments>
      
    </item>
    
  </channel>
</rss>
