-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
21 lines (21 loc) · 18.9 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
<!doctype html><html lang=en-us><head><meta name=generator content="Hugo 0.111.3"><meta charset=utf-8><meta name=viewport content="width=device-width,initial-scale=1"><meta name=robots content="noodp"><title>Simon (Yu Ma)</title><meta name=Description content="Progress is the activity of today and the assurance of tomorrow."><meta property="og:title" content="Simon (Yu Ma)"><meta property="og:description" content="Progress is the activity of today and the assurance of tomorrow."><meta property="og:type" content="website"><meta property="og:url" content="https://simonmy.com/"><meta name=twitter:card content="summary"><meta name=twitter:title content="Simon (Yu Ma)"><meta name=twitter:description content="Progress is the activity of today and the assurance of tomorrow."><meta name=application-name content="Simon (Yu Ma)"><meta name=apple-mobile-web-app-title content="Simon (Yu Ma)"><meta name=theme-color content="#f8f8f8"><meta name=msapplication-TileColor content="#da532c"><link rel="shortcut icon" type=image/x-icon href=/favicon.ico><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=apple-touch-icon sizes=180x180 href=/apple-touch-icon.png><link rel=mask-icon href=/safari-pinned-tab.svg color=#5bbad5><link rel=canonical href=https://simonmy.com/><link rel=alternate href=/index.xml type=application/rss+xml title="Simon (Yu Ma)"><link rel=feed href=/index.xml type=application/rss+xml title="Simon (Yu Ma)"><link rel=stylesheet href=/lib/normalize/normalize.min.css><link rel=stylesheet href=/css/color.css><link rel=stylesheet href=/css/style.min.css><link rel=preload as=style onload='this.onload=null,this.rel="stylesheet"' href=/lib/fontawesome-free/all.min.css><noscript><link rel=stylesheet href=/lib/fontawesome-free/all.min.css></noscript><link rel=preload as=style onload='this.onload=null,this.rel="stylesheet"' href=/lib/animate/animate.min.css><noscript><link rel=stylesheet href=/lib/animate/animate.min.css></noscript><script type=application/ld+json>{"@context":"http://schema.org","@type":"WebSite","url":"https:\/\/simonmy.com\/","inLanguage":"en-us","description":"Progress is the activity of today and the assurance of tomorrow.","name":"Simon (Yu Ma)"}</script><script src=//instant.page/5.1.1 defer type=module integrity=sha384-MWfCL6g1OTGsbSwfuMHc8+8J2u71/LA8dzlIN3ycajckxuZZmF+DNjdm7O6H3PSq></script></head><body header-desktop=fixed header-mobile=auto><script type=text/javascript>function setTheme(e){document.body.setAttribute("theme",e),document.documentElement.style.setProperty("color-scheme",e==="light"?"light":"dark"),window.theme=e}function saveTheme(e){window.localStorage&&localStorage.setItem("theme",e)}function getMeta(e){const t=document.getElementsByTagName("meta");for(let n=0;n<t.length;n++)if(t[n].getAttribute("name")===e)return t[n];return""}if(window.localStorage&&localStorage.getItem("theme")){let e=localStorage.getItem("theme");e==="light"||e==="dark"||e==="black"?setTheme(e):setTheme(window.matchMedia&&window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light")}else""==="light"||""==="dark"||""==="black"?(setTheme(""),saveTheme("")):(saveTheme("auto"),setTheme(window.matchMedia&&window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light"));let metaColors={light:"#f8f8f8",dark:"#252627",black:"#000000"};getMeta("theme-color").content=metaColors[document.body.getAttribute("theme")]</script><div id=back-to-top></div><div id=mask></div><div class=wrapper><header class=desktop id=header-desktop><div class=header-wrapper><div class=header-title><a href=/ title="Simon (Yu Ma)">Simon (Yu Ma)</a></div><div class=menu><div class=menu-inner><a class=menu-item href=/posts/>Posts </a><a class=menu-item href=/tags/>Tags </a><a class=menu-item href=/categories/>Categories </a><a class=menu-item href=/friends/ title=友情链接>Links </a><span class="menu-item delimiter"></span><span class="menu-item search" id=search-desktop>
<input type=text placeholder=搜索文章标题或内容... id=search-input-desktop>
<a href=# class="search-button search-toggle" id=search-toggle-desktop title=搜索><i class="fas fa-search fa-fw"></i></a>
<a href=# class="search-button search-clear" id=search-clear-desktop title=清空><i class="fas fa-times-circle fa-fw"></i></a>
<span class="search-button search-loading" id=search-loading-desktop><i class="fas fa-spinner fa-fw fa-spin"></i></span>
</span><a href=# class="menu-item theme-switch" title=切换主题><i class="fas fa-adjust fa-fw"></i></a></div></div></div></header><header class=mobile id=header-mobile><div class=header-container><div class=header-wrapper><div class=header-title><a href=/ title="Simon (Yu Ma)">Simon (Yu Ma)</a></div><div class=menu-toggle id=menu-toggle-mobile><span></span><span></span><span></span></div></div><div class=menu id=menu-mobile><div class=search-wrapper><div class="search mobile" id=search-mobile><input type=text placeholder=搜索文章标题或内容... id=search-input-mobile>
<a href=# class="search-button search-toggle" id=search-toggle-mobile title=搜索><i class="fas fa-search fa-fw"></i></a>
<a href=# class="search-button search-clear" id=search-clear-mobile title=清空><i class="fas fa-times-circle fa-fw"></i></a>
<span class="search-button search-loading" id=search-loading-mobile><i class="fas fa-spinner fa-fw fa-spin"></i></span></div><a href=# class=search-cancel id=search-cancel-mobile>取消</a></div><a class=menu-item href=/posts/ title>Posts</a><a class=menu-item href=/tags/ title>Tags</a><a class=menu-item href=/categories/ title>Categories</a><a class=menu-item href=/friends/ title=友情链接>Links</a><a href=# class="menu-item theme-switch" title=切换主题>
<i class="fas fa-adjust fa-fw"></i></a></div></div></header><div class="search-dropdown desktop"><div id=search-dropdown-desktop></div></div><div class="search-dropdown mobile"><div id=search-dropdown-mobile></div></div><main class=main><div class=container><div class="page home" posts><article class="single summary" itemscope itemtype=http://schema.org/Article><h1 class=single-title itemprop="name headline"><a href=/posts/changing-the-git-history-of-your-repository-using-a-script/>Changing the Git history of your repository using a script</a></h1><div class=post-meta><span class=post-author><i class="author fas fa-user-circle fa-fw"></i><a href=/ title=Author rel=author class=author>Simon (Yu Ma)</a>
</span> <span class=post-publish>发布于 <time datetime="2022-05-08 18:00">2022-05-08 18:00</time></span> <span class=post-category>收录于 </span> <span class=post-category>类别 <a href=/categories/%E6%9D%82%E6%8A%80%E6%B5%85%E5%B0%9D/><i class="far fa-folder fa-fw"></i>杂技浅尝</a></span></div><div class=content>We’ve created a script that will change any commits that previously had the old email address in its author or committer fields to use the correct name and email address. Note: Running this script rewrites history for all repository collaborators. After completing these steps, any person with forks or clones must fetch the rewritten history and rebase any local changes into the rewritten history. Before running this script, you’ll need:</div><div class=post-footer><a href=/posts/changing-the-git-history-of-your-repository-using-a-script/>阅读全文</a></div></article><article class="single summary" itemscope itemtype=http://schema.org/Article><h1 class=single-title itemprop="name headline"><a href=/posts/mac%E4%BD%BF%E7%94%A8tar%E5%91%BD%E4%BB%A4%E6%89%93%E5%8C%85%E5%A4%9A%E5%87%BA%E9%9A%90%E8%97%8F%E6%96%87%E4%BB%B6/>Mac使用tar命令打包多出隐藏文件</a></h1><div class=post-meta><span class=post-author><i class="author fas fa-user-circle fa-fw"></i><a href=/ title=Author rel=author class=author>Simon (Yu Ma)</a>
</span> <span class=post-publish>发布于 <time datetime="2021-06-25 22:56">2021-06-25 22:56</time></span> <span class=post-category>收录于 </span> <span class=post-category>类别 <a href=/categories/%E6%9D%82%E6%8A%80%E6%B5%85%E5%B0%9D/><i class="far fa-folder fa-fw"></i>杂技浅尝</a></span></div><div class=content>现象近期遇到了一个非常诡异的事情,在MacOS上打的tar包,在linux上解压多出了一些 ._ 开头的隐藏文件。 问题排查我们来看下这个目录的内容</div><div class=post-footer><a href=/posts/mac%E4%BD%BF%E7%94%A8tar%E5%91%BD%E4%BB%A4%E6%89%93%E5%8C%85%E5%A4%9A%E5%87%BA%E9%9A%90%E8%97%8F%E6%96%87%E4%BB%B6/>阅读全文</a></div></article><article class="single summary" itemscope itemtype=http://schema.org/Article><h1 class=single-title itemprop="name headline"><a href=/posts/mac-os%E5%8D%87%E7%BA%A7bigsur%E5%90%8Ehomebrew%E5%BC%82%E5%B8%B8/>Mac OS升级BigSur后Homebrew异常</a></h1><div class=post-meta><span class=post-author><i class="author fas fa-user-circle fa-fw"></i><a href=/ title=Author rel=author class=author>Simon (Yu Ma)</a>
</span> <span class=post-publish>发布于 <time datetime="2020-11-17 12:48">2020-11-17 12:48</time></span> <span class=post-category>收录于 </span> <span class=post-category>类别 <a href=/categories/%E6%9D%82%E6%8A%80%E6%B5%85%E5%B0%9D/><i class="far fa-folder fa-fw"></i>杂技浅尝</a></span></div><div class=content>异常信息 1 2 3 Error: An exception occurred within a child process: NoMethodError: undefined method `path' for nil:NilClass Did you mean? paths 解决方案 1 2 3 sudo rm -rf /Library/Developer/CommandLineTools sudo xcode-select --install brew update-reset 参考文章:https://discourse.brew.s</div><div class=post-footer><a href=/posts/mac-os%E5%8D%87%E7%BA%A7bigsur%E5%90%8Ehomebrew%E5%BC%82%E5%B8%B8/>阅读全文</a></div></article><article class="single summary" itemscope itemtype=http://schema.org/Article><h1 class=single-title itemprop="name headline"><a href=/posts/archlinux%E5%AE%89%E8%A3%85%E6%90%9C%E7%8B%97%E8%BE%93%E5%85%A5%E6%B3%95/>Archlinux安装搜狗输入法</a></h1><div class=post-meta><span class=post-author><i class="author fas fa-user-circle fa-fw"></i><a href=/ title=Author rel=author class=author>Simon (Yu Ma)</a>
</span> <span class=post-publish>发布于 <time datetime="2020-06-22 00:03">2020-06-22 00:03</time></span> <span class=post-category>收录于 </span> <span class=post-category>类别 <a href=/categories/%E6%9D%82%E6%8A%80%E6%B5%85%E5%B0%9D/><i class="far fa-folder fa-fw"></i>杂技浅尝</a></span></div><div class=content>写在前面archlinux安装搜狗输入法本不是新闻,AUR上早有大神打好了包,网上安装的文章也已经烂大街了。 这里主要为了解决从今年1月左右A</div><div class=post-footer><a href=/posts/archlinux%E5%AE%89%E8%A3%85%E6%90%9C%E7%8B%97%E8%BE%93%E5%85%A5%E6%B3%95/>阅读全文</a></div></article><article class="single summary" itemscope itemtype=http://schema.org/Article><h1 class=single-title itemprop="name headline"><a href=/posts/uninstall-monitoring-services-on-alibaba-cloud/>彻底卸载阿里云服务器上的各种监控服务</a></h1><div class=post-meta><span class=post-author><i class="author fas fa-user-circle fa-fw"></i><a href=/ title=Author rel=author class=author>Simon (Yu Ma)</a>
</span> <span class=post-publish>发布于 <time datetime="2020-02-21 18:04">2020-02-21 18:04</time></span> <span class=post-category>收录于 </span> <span class=post-category>类别 <a href=/categories/%E6%9D%82%E6%8A%80%E6%B5%85%E5%B0%9D/><i class="far fa-folder fa-fw"></i>杂技浅尝</a></span></div><div class=content>用过阿里云服务器(ECS、轻量应用服务器)的人应该都知道,阿里云提供的系统镜像里预装了它的各种监控服务。 这些监控服务的存在使得人们可以直接在</div><div class=post-footer><a href=/posts/uninstall-monitoring-services-on-alibaba-cloud/>阅读全文</a></div></article><article class="single summary" itemscope itemtype=http://schema.org/Article><h1 class=single-title itemprop="name headline"><a href=/posts/make-a-usb-boot-disk-in-mac-os/>MacOS下制作启动盘</a></h1><div class=post-meta><span class=post-author><i class="author fas fa-user-circle fa-fw"></i><a href=/ title=Author rel=author class=author>Simon (Yu Ma)</a>
</span> <span class=post-publish>发布于 <time datetime="2020-02-09 06:39">2020-02-09 06:39</time></span> <span class=post-category>收录于 </span> <span class=post-category>类别 <a href=/categories/%E6%9D%82%E6%8A%80%E6%B5%85%E5%B0%9D/><i class="far fa-folder fa-fw"></i>杂技浅尝</a></span></div><div class=content>LinuxLinux系统直接用现成的工具,没有什么花头。推荐几个好用的工具: Etcher直接下载安装使用,UI操作就不详细介绍了 下载地址:h</div><div class=post-footer><a href=/posts/make-a-usb-boot-disk-in-mac-os/>阅读全文</a></div></article><article class="single summary" itemscope itemtype=http://schema.org/Article><h1 class=single-title itemprop="name headline"><a href=/posts/%E5%9B%BD%E8%A1%8Ciphone%E7%94%A8%E6%88%B7%E5%A6%82%E4%BD%95%E4%BD%BF%E7%94%A8facetime-audio/>国行iPhone用户如何使用FaceTime Audio</a></h1><div class=post-meta><span class=post-author><i class="author fas fa-user-circle fa-fw"></i><a href=/ title=Author rel=author class=author>Simon (Yu Ma)</a>
</span> <span class=post-publish>发布于 <time datetime="2020-01-22 15:35">2020-01-22 15:35</time></span> <span class=post-category>收录于 </span> <span class=post-category>类别 <a href=/categories/%E6%9D%82%E6%8A%80%E6%B5%85%E5%B0%9D/><i class="far fa-folder fa-fw"></i>杂技浅尝</a></span></div><div class=content>背景现象这里就不再多说了,国行的iPhone只能使用FaceTime Video,无法使用FaceTime Audio。通俗的来说,就是国内买的</div><div class=post-footer><a href=/posts/%E5%9B%BD%E8%A1%8Ciphone%E7%94%A8%E6%88%B7%E5%A6%82%E4%BD%95%E4%BD%BF%E7%94%A8facetime-audio/>阅读全文</a></div></article><article class="single summary" itemscope itemtype=http://schema.org/Article><h1 class=single-title itemprop="name headline"><a href=/posts/%E6%9B%BF%E6%8D%A2%E5%8F%8A%E9%87%8D%E7%BD%AEhomebrew%E9%BB%98%E8%AE%A4%E6%BA%90/>替换及重置Homebrew默认源</a></h1><div class=post-meta><span class=post-author><i class="author fas fa-user-circle fa-fw"></i><a href=/ title=Author rel=author class=author>Simon (Yu Ma)</a>
</span> <span class=post-publish>发布于 <time datetime="2020-01-16 14:58">2020-01-16 14:58</time></span> <span class=post-category>收录于 </span> <span class=post-category>类别 <a href=/categories/%E6%9D%82%E6%8A%80%E6%B5%85%E5%B0%9D/><i class="far fa-folder fa-fw"></i>杂技浅尝</a></span></div><div class=content>Formula 索引 (brew update) 替换为国内镜像仓库 1 2 3 4 5 6 7 git -C "$(brew --repo)" remote set-url origin https://mirrors.tuna.tsinghua.edu.cn/git/homebrew/brew.git git -C "$(brew --repo homebrew/core)" remote set-url origin https://mirrors.tuna.tsinghua.edu.cn/git/homebrew/homebrew-core.git git -C "$(brew --repo homebrew/cask)" remote set-url origin https://mirrors.tuna.tsinghua.edu.cn/git/homebrew/homebrew-cask.git brew update 还原官方仓库 1 2 3 4 5 6 7 git -C "$(brew --repo)" remote set-url origin https://github.com/Homebrew/brew.git</div><div class=post-footer><a href=/posts/%E6%9B%BF%E6%8D%A2%E5%8F%8A%E9%87%8D%E7%BD%AEhomebrew%E9%BB%98%E8%AE%A4%E6%BA%90/>阅读全文</a></div></article><article class="single summary" itemscope itemtype=http://schema.org/Article><h1 class=single-title itemprop="name headline"><a href=/posts/how-to-change-the-docker-default-subnet-ip-address/>修改Docker0的IP地址</a></h1><div class=post-meta><span class=post-author><i class="author fas fa-user-circle fa-fw"></i><a href=/ title=Author rel=author class=author>Simon (Yu Ma)</a>
</span> <span class=post-publish>发布于 <time datetime="2017-08-24 01:16">2017-08-24 01:16</time></span> <span class=post-category>收录于 </span> <span class=post-category>类别 <a href=/categories/%E6%9D%82%E6%8A%80%E6%B5%85%E5%B0%9D/><i class="far fa-folder fa-fw"></i>杂技浅尝</a></span></div><div class=content>Docker默认使用的网桥 docker0 的网段是 172.17.0.1,正好和公司网络冲突。 网上的资料也一如既往的狗血,在这里记录下自己的配置。 以下步骤自</div><div class=post-footer><a href=/posts/how-to-change-the-docker-default-subnet-ip-address/>阅读全文</a></div></article><article class="single summary" itemscope itemtype=http://schema.org/Article><h1 class=single-title itemprop="name headline"><a href=/posts/linux-%E5%88%A9%E7%94%A8google-authenticator%E5%AE%9E%E7%8E%B0ssh%E7%99%BB%E5%BD%95%E5%8F%8C%E5%9B%A0%E7%B4%A0%E8%AE%A4%E8%AF%81/>Linux 利用Google Authenticator实现ssh登录双因素认证</a></h1><div class=post-meta><span class=post-author><i class="author fas fa-user-circle fa-fw"></i><a href=/ title=Author rel=author class=author>Simon (Yu Ma)</a>
</span> <span class=post-publish>发布于 <time datetime="2017-03-20 02:15">2017-03-20 02:15</time></span> <span class=post-category>收录于 </span> <span class=post-category>类别 <a href=/categories/%E6%9D%82%E6%8A%80%E6%B5%85%E5%B0%9D/><i class="far fa-folder fa-fw"></i>杂技浅尝</a></span></div><div class=content>前因前些天因为工作需要在阿里云弄了一批VPC机器,刚开始是每个人都给了账号密码让其登录控制,又因为各种问题,收回了权限。 为了控制登录权限,所</div><div class=post-footer><a href=/posts/linux-%E5%88%A9%E7%94%A8google-authenticator%E5%AE%9E%E7%8E%B0ssh%E7%99%BB%E5%BD%95%E5%8F%8C%E5%9B%A0%E7%B4%A0%E8%AE%A4%E8%AF%81/>阅读全文</a></div></article></div></div></main><footer class=footer><div class=footer-container><div class=footer-line><i class="far fa-copyright fa-fw"></i><span itemprop=copyrightYear>2022 - 2023</span><span class=author itemprop=copyrightHolder> <a href=/ target=_blank rel="noopener noreferrer"></a></span></div><div class=footer-line></div><div class=footer-line></div></div></footer></div><div id=fixed-buttons><a href=#back-to-top id=back-to-top-button class=fixed-button title=回到顶部><i class="fas fa-arrow-up fa-fw"></i>
</a><a href=# id=view-comments class=fixed-button title=查看评论><i class="fas fa-comment fa-fw"></i></a></div><div class=assets><script type=text/javascript>window.config={code:{copyTitle:"复制到剪贴板",maxShownLines:200},search:{distance:100,findAllMatches:!1,fuseIndexURL:"/index.json",highlightTag:"em",ignoreFieldNorm:!1,ignoreLocation:!1,isCaseSensitive:!1,location:0,maxResultLength:10,minMatchCharLength:2,noResultsFound:"没有找到结果",snippetLength:50,threshold:.3,type:"fuse",useExtendedSearch:!1}}</script><script type=text/javascript src=/lib/clipboard/clipboard.min.js></script><script type=text/javascript src=/js/theme.min.js defer></script><script type=text/javascript>window.dataLayer=window.dataLayer||[];function gtag(){dataLayer.push(arguments)}gtag("js",new Date),gtag("config","G-6GP123JQ3E",{anonymize_ip:!0})</script><script type=text/javascript src="https://www.googletagmanager.com/gtag/js?id=G-6GP123JQ3E" async></script></div></body></html>