<?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>Problems on Sirius&#39; Blog</title>
    <link>https://sirius2alpha.github.io/categories/problems/</link>
    <description>Recent content in Problems on Sirius&#39; Blog</description>
    <image>
      <title>Sirius&#39; Blog</title>
      <url>https://sirius2alpha.github.io/%3Clink%20or%20path%20of%20image%20for%20opengraph,%20twitter-cards%3E</url>
      <link>https://sirius2alpha.github.io/%3Clink%20or%20path%20of%20image%20for%20opengraph,%20twitter-cards%3E</link>
    </image>
    <generator>Hugo -- 0.127.0</generator>
    <language>en-us</language>
    <lastBuildDate>Wed, 25 Dec 2024 00:00:00 +0000</lastBuildDate>
    <atom:link href="https://sirius2alpha.github.io/categories/problems/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>Docker run hello-world 超时</title>
      <link>https://sirius2alpha.github.io/posts/notes/3-resources/%E9%97%AE%E9%A2%98%E8%AE%B0%E5%BD%95/docker-install/</link>
      <pubDate>Wed, 25 Dec 2024 00:00:00 +0000</pubDate>
      <guid>https://sirius2alpha.github.io/posts/notes/3-resources/%E9%97%AE%E9%A2%98%E8%AE%B0%E5%BD%95/docker-install/</guid>
      <description>Docker无法连接仓库</description>
    </item>
    <item>
      <title>在linux上配置clash，通过Dashboard控制</title>
      <link>https://sirius2alpha.github.io/posts/notes/3-resources/%E9%97%AE%E9%A2%98%E8%AE%B0%E5%BD%95/problem-clash_for_linux/</link>
      <pubDate>Mon, 08 Jan 2024 00:00:00 +0000</pubDate>
      <guid>https://sirius2alpha.github.io/posts/notes/3-resources/%E9%97%AE%E9%A2%98%E8%AE%B0%E5%BD%95/problem-clash_for_linux/</guid>
      <description>记录配置clash的过程</description>
    </item>
    <item>
      <title>mysql用户被锁定</title>
      <link>https://sirius2alpha.github.io/posts/notes/3-resources/%E9%97%AE%E9%A2%98%E8%AE%B0%E5%BD%95/mysql-user-was-blocked/</link>
      <pubDate>Tue, 10 Oct 2023 00:00:00 +0000</pubDate>
      <guid>https://sirius2alpha.github.io/posts/notes/3-resources/%E9%97%AE%E9%A2%98%E8%AE%B0%E5%BD%95/mysql-user-was-blocked/</guid>
      <description>突然发现root账户莫名其妙登不上去</description>
    </item>
    <item>
      <title>pycharm中找不到包的问题</title>
      <link>https://sirius2alpha.github.io/posts/notes/3-resources/%E9%97%AE%E9%A2%98%E8%AE%B0%E5%BD%95/pycharm-not-found-packages/</link>
      <pubDate>Mon, 31 Jul 2023 00:00:00 +0000</pubDate>
      <guid>https://sirius2alpha.github.io/posts/notes/3-resources/%E9%97%AE%E9%A2%98%E8%AE%B0%E5%BD%95/pycharm-not-found-packages/</guid>
      <description>VScode快捷键 快捷键 功能 Shift + Alt + F 格式化文档 Format document Ctrl+X 剪切行（空选定） Cut line (empty selection) Ctrl+C 复制行（空选定）Copy line (empty selection) Ctrl+Shift+K 删除行 Delete line Alt+ ↑ / ↓ 向上/向下移动行 Move line up/down Shift+Alt + ↓ / ↑ 向上/向下复制行 Copy line up/down Ctrl+Enter 在下面插入行 Insert line below Ctrl+Shift+Enter 在上面插入行 Insert line above F12 转到定义 Go to Definition Alt + F12 Peek定义 Peek Definition Ctrl + Shift + P，F1 显示命令面板 Show Command Palette pycharm中找不到包的问题 对于pycharm中虚拟环境，下面的目录没有在pycharm中终端安装上的包</description>
    </item>
    <item>
      <title>ping github.com</title>
      <link>https://sirius2alpha.github.io/posts/notes/3-resources/%E9%97%AE%E9%A2%98%E8%AE%B0%E5%BD%95/ping-github.com/</link>
      <pubDate>Sun, 30 Jul 2023 00:00:00 +0000</pubDate>
      <guid>https://sirius2alpha.github.io/posts/notes/3-resources/%E9%97%AE%E9%A2%98%E8%AE%B0%E5%BD%95/ping-github.com/</guid>
      <description>问题初现 在Windows上，挂了Clash，平时网页版的GitHub还是能正常跑的，因为平时开发主要是在Ubuntu上，所以git工具在Windows上用的不多。这次突发奇想，想把Windows和Ubuntu上的笔记整合到一个GitHub仓库上，并实现更新文件后自动拉取推送的功能，所以我现在Ubuntu上推送了一部分笔记到仓库中，再计划将Windows上的笔记也弄上去。
然后在配置Windows上的笔记文件夹Git环境，发现git老是报错ssh22端口连接超时。
我检查了：
GitHub仓库上的SSH公钥配置，正常 Git的HTTP和HTTPS代理，正常 // 查看git有没有代理 git config --global -l // 配置git代理 git config --global http.proxy 127.0.0.1:7890 git config --global https.proxy 127.0.0.1:7890 // 取消git网络代理 git config --global --unset http.proxy git config --global --unset https.proxy 也想不通为啥，然后我就在博客园中看到了一篇文章：https://www.cnblogs.com/oldboyooxx/p/10387150.html
主要就是说：1、检查IP配置问题；2、检查防火墙状态
然后我就去ping github.com，发现ping不通，开代理不开代理都不行，怪！
我想起来可以通过改主机hosts的方式访问，https://www.cnblogs.com/xuexianqi/p/13219719.html，改了之后github.com就能ping通了。
再然后就发现SSH22端口超时的问题也解决了，然后就开始合并笔记了~
脚本自动同步 对于笔记自动保存之后每次都要git手动提交未免也太麻烦了，然后我想试试通过一个git脚本来自动完成就好了。
git pull origin master git add . git commit -m &amp;#34;update&amp;#34; git push origin master 脚本的内容很简单啊，就是基础的这几步命令。
现在的问题就是怎么让他在保存文件的时候自动执行呢？而且希望如果同步的时候出错，能够把错误信息打印出来，可以是日志的方式。
人工办法：在写笔记之前进行一次脚本运行，写笔记，写完笔记之后，再运行一次脚本。
稍微聪明一点的办法：在打开和关闭文件夹/Typora的时候运行脚本。</description>
    </item>
  </channel>
</rss>
