<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/">
  <channel>
    <title>MacOS on AIHugoBlog</title>
    <link>/categories/macos/</link>
    <description>Recent content in MacOS on AIHugoBlog</description>
    <generator>Hugo</generator>
    <language>zh-cn</language>
    <lastBuildDate>Fri, 13 Jan 2023 11:28:44 +0800</lastBuildDate>
    <atom:link href="/categories/macos/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>黑苹果Config.plist文件常用修改项</title>
      <link>/posts/hei-ping-guo-configplist-wen-jian-chang-yong-xiu-gai-xiang/</link>
      <pubDate>Fri, 13 Jan 2023 11:28:44 +0800</pubDate>
      <guid>/posts/hei-ping-guo-configplist-wen-jian-chang-yong-xiu-gai-xiang/</guid>
      <description>###1.修改启动选项时间Root&amp;ndash;&amp;gt;Misc&amp;mdash;&amp;gt;Boot&amp;ndash;&amp;gt;timeout项的number值改为想要等待的时间，单位秒###2.取消开机日志Root&amp;ndash;&amp;gt;Misc&amp;mdash;&amp;gt;Debug&amp;ndash;&amp;gt;Target项的number值改为0即为关闭开机日志###3.声卡I</description>
    </item>
    <item>
      <title>Mac 模拟鼠标点击工具Cliclick</title>
      <link>/posts/mac-mo-ni-shu-biao-dian-ji-gong-ju-cliclick/</link>
      <pubDate>Fri, 13 Jan 2023 11:26:16 +0800</pubDate>
      <guid>/posts/mac-mo-ni-shu-biao-dian-ji-gong-ju-cliclick/</guid>
      <description>&lt;h3 id=&#34;1安装&#34;&gt;1.安装&lt;/h3&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;brew install cliclick
&lt;/code&gt;&lt;/pre&gt;&lt;h3 id=&#34;2使用&#34;&gt;2.使用&lt;/h3&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;# 打印当前鼠标位置
$ /usr/local/bin/cliclick p
# 点击指定位置坐标
$ /usr/local/bin/cliclick c:x,y (x横坐标，y纵坐标)
&lt;/code&gt;&lt;/pre&gt;&lt;h3 id=&#34;3python代码&#34;&gt;3.python代码&lt;/h3&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;import os
import time

cmd1 = &amp;#34;/usr/local/bin/cliclick c:3451,392&amp;#34;
for i in range(5):
    mess1 = os.system(cmd1)
    print(mess1)
    time.sleep(1)
    print(&amp;#39;----&amp;#39; + str(i+1) + &amp;#39;------&amp;#39;)
&lt;/code&gt;&lt;/pre&gt;</description>
    </item>
    <item>
      <title>MacOS常用命令</title>
      <link>/posts/macos-chang-yong-ming-ling/</link>
      <pubDate>Fri, 13 Jan 2023 11:25:16 +0800</pubDate>
      <guid>/posts/macos-chang-yong-ming-ling/</guid>
      <description>1.查看EFI所在分区sudo diskutil list2. 挂载分区sudo diskutil mount disk0s1###3.允许任意安装源sudo spctl &amp;ndash;master-disable4.查找端口对应的进程号#以5000端口为例lsof -i :5000# 杀死进程kill -9</description>
    </item>
    <item>
      <title>Mac苹果笔记本重新安装</title>
      <link>/posts/mac-ping-guo-bi-ji-ben-zhong-xin-an-zhuang/</link>
      <pubDate>Fri, 13 Jan 2023 11:24:20 +0800</pubDate>
      <guid>/posts/mac-ping-guo-bi-ji-ben-zhong-xin-an-zhuang/</guid>
      <description>&lt;h3 id=&#34;1comand--r-进入recover模式&#34;&gt;1.comand + R 进入recover模式&lt;/h3&gt;
&lt;h3 id=&#34;2清除格式化硬盘&#34;&gt;2.清除格式化硬盘&lt;/h3&gt;
&lt;h3 id=&#34;3reinstall-mac&#34;&gt;3.reinstall mac&lt;/h3&gt;
&lt;h3 id=&#34;4注意&#34;&gt;4.注意：&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;出现 this item is temporarily unavailable&lt;/li&gt;
&lt;li&gt;开启mac按住：comand + option + r + p&lt;/li&gt;
&lt;li&gt;重启多次后，再进入recovere模式&lt;/li&gt;
&lt;/ul&gt;</description>
    </item>
    <item>
      <title>Mac常用快捷键</title>
      <link>/posts/mac-chang-yong-kuai-jie-jian/</link>
      <pubDate>Fri, 13 Jan 2023 11:23:48 +0800</pubDate>
      <guid>/posts/mac-chang-yong-kuai-jie-jian/</guid>
      <description>&lt;h3 id=&#34;截图&#34;&gt;截图&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;command + shift + 4&lt;/li&gt;
&lt;/ul&gt;
&lt;h3 id=&#34;休眠&#34;&gt;休眠&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;command + option + power&lt;/li&gt;
&lt;/ul&gt;
&lt;h3 id=&#34;复制&#34;&gt;复制&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;command + c&lt;/li&gt;
&lt;/ul&gt;
&lt;h3 id=&#34;粘帖&#34;&gt;粘帖&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;command + v&lt;/li&gt;
&lt;/ul&gt;
&lt;h3 id=&#34;剪切&#34;&gt;剪切&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;command + option + v&lt;/li&gt;
&lt;/ul&gt;
&lt;h3 id=&#34;搜索&#34;&gt;搜索&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;command + 空格&lt;/li&gt;
&lt;/ul&gt;
&lt;h3 id=&#34;访问网络共享&#34;&gt;访问网络共享&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;command + k&lt;/li&gt;
&lt;/ul&gt;
&lt;h3 id=&#34;网页刷新&#34;&gt;网页刷新&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;command + r&lt;/li&gt;
&lt;/ul&gt;
&lt;h3 id=&#34;网页强制刷新&#34;&gt;网页强制刷新&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;command + shift + r&lt;/li&gt;
&lt;/ul&gt;
&lt;h3 id=&#34;应用退出全屏&#34;&gt;应用退出全屏&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;command + ctrl + f&lt;/li&gt;
&lt;/ul&gt;</description>
    </item>
    <item>
      <title>MAC电脑HomeBrew国内源安装卸载方法</title>
      <link>/posts/mac-dian-nao-homebrew-guo-nei-yuan-an-zhuang-xie-zai-fang-fa/</link>
      <pubDate>Fri, 13 Jan 2023 10:07:59 +0800</pubDate>
      <guid>/posts/mac-dian-nao-homebrew-guo-nei-yuan-an-zhuang-xie-zai-fang-fa/</guid>
      <description>&lt;ul&gt;
&lt;li&gt;安装&lt;/li&gt;
&lt;/ul&gt;
&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; style=&#34;color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;&#34;&gt;&lt;code class=&#34;language-bash&#34; data-lang=&#34;bash&#34;&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;/bin/bash -c &lt;span style=&#34;color:#e6db74&#34;&gt;&amp;#34;&lt;/span&gt;&lt;span style=&#34;color:#66d9ef&#34;&gt;$(&lt;/span&gt;curl -fsSL https://cdn.jsdelivr.net/gh/ineo6/homebrew-install/install.sh&lt;span style=&#34;color:#66d9ef&#34;&gt;)&lt;/span&gt;&lt;span style=&#34;color:#e6db74&#34;&gt;&amp;#34;&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;ul&gt;
&lt;li&gt;卸载&lt;/li&gt;
&lt;/ul&gt;
&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; style=&#34;color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;&#34;&gt;&lt;code class=&#34;language-bash&#34; data-lang=&#34;bash&#34;&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;/bin/zsh -c &lt;span style=&#34;color:#e6db74&#34;&gt;&amp;#34;&lt;/span&gt;&lt;span style=&#34;color:#66d9ef&#34;&gt;$(&lt;/span&gt;curl -fsSL https://gitee.com/cunkai/HomebrewCN/raw/master/HomebrewUninstall.sh&lt;span style=&#34;color:#66d9ef&#34;&gt;)&lt;/span&gt;&lt;span style=&#34;color:#e6db74&#34;&gt;&amp;#34;&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;</description>
    </item>
    <item>
      <title>Macos安装node.js</title>
      <link>/posts/macos-an-zhuang-nodejs/</link>
      <pubDate>Thu, 12 Jan 2023 16:07:44 +0800</pubDate>
      <guid>/posts/macos-an-zhuang-nodejs/</guid>
      <description>&lt;h3 id=&#34;1首先确保已安装xcode和homebrew&#34;&gt;1.首先确保已安装xcode和homebrew&lt;/h3&gt;
&lt;h3 id=&#34;2安装&#34;&gt;2.安装&lt;/h3&gt;
&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; style=&#34;color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;&#34;&gt;&lt;code class=&#34;language-bash&#34; data-lang=&#34;bash&#34;&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;brew install node
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;h3 id=&#34;3检查&#34;&gt;3.检查&lt;/h3&gt;
&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; style=&#34;color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;&#34;&gt;&lt;code class=&#34;language-bash&#34; data-lang=&#34;bash&#34;&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;node -v
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;npm -v
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;h3 id=&#34;4更换为淘宝镜像&#34;&gt;4.更换为淘宝镜像&lt;/h3&gt;
&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; style=&#34;color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;&#34;&gt;&lt;code class=&#34;language-bash&#34; data-lang=&#34;bash&#34;&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;sudo npm install -g cnpm --registry&lt;span style=&#34;color:#f92672&#34;&gt;=&lt;/span&gt;https://registry.npm.taobao.org --verbose
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;</description>
    </item>
  </channel>
</rss>
