<?xml version='1.0' encoding='UTF-8'?>
<rss xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/" version="2.0"><channel><title>moonzfzs' BlogSpace</title><link>https://qwtoe.github.io</link><description>生活中不必要渴求别人的理解与认同。In life it is unnecessary to crave others' understanding and approval.</description><copyright>moonzfzs' BlogSpace</copyright><docs>http://www.rssboard.org/rss-specification</docs><generator>python-feedgen</generator><image><url>https://img.icons8.com/?size=100&amp;id=rYxZhsdVXXJS&amp;format=png&amp;color=000000</url><title>avatar</title><link>https://qwtoe.github.io</link></image><lastBuildDate>Tue, 24 Sep 2024 15:11:29 +0000</lastBuildDate><managingEditor>moonzfzs' BlogSpace</managingEditor><ttl>60</ttl><webMaster>moonzfzs' BlogSpace</webMaster><item><title>freqtrade环境搭建指南&amp;踩坑</title><link>https://qwtoe.github.io/post/freqtrade-huan-jing-da-jian-zhi-nan-%26-cai-keng.html</link><description>背景：空白服务器&#13;
&#13;
首先，在https://www.freqtrade.io/en/stable/docker_quickstart/根据提示，通过 docker 进行环境搭建。</description><guid isPermaLink="true">https://qwtoe.github.io/post/freqtrade-huan-jing-da-jian-zhi-nan-%26-cai-keng.html</guid><pubDate>Tue, 24 Sep 2024 15:11:05 +0000</pubDate></item><item><title>TradingView自定义自己的BarCount指标</title><link>https://qwtoe.github.io/post/TradingView-zi-ding-yi-zi-ji-de-BarCount-zhi-biao.html</link><description>根据纽约的开盘时间-结束时间显示BarCount，其他时间不显示，还可以定义默认几根K线显示一个BarCount。</description><guid isPermaLink="true">https://qwtoe.github.io/post/TradingView-zi-ding-yi-zi-ji-de-BarCount-zhi-biao.html</guid><pubDate>Wed, 18 Sep 2024 14:05:53 +0000</pubDate></item><item><title>[Codeforces]2008B Square or Not</title><link>https://qwtoe.github.io/post/%5BCodeforces%5D2008B%20Square%20or%20Not.html</link><description>[2008B](https://codeforces.com/problemset/problem/2008/B)	[Square or Not](https://codeforces.com/problemset/problem/2008/B)&#13;
&#13;
思路：&#13;
&#13;
1、先判断是否为平方数；&#13;
2、遍历正方形，计算`(i,j)`所对应在 str 中的下标，判断正方形边缘是否为1，内部是否为0。</description><guid isPermaLink="true">https://qwtoe.github.io/post/%5BCodeforces%5D2008B%20Square%20or%20Not.html</guid><pubDate>Tue, 17 Sep 2024 06:10:22 +0000</pubDate></item><item><title>VS Code终端命令执行后出现 __vsc_prompt_cmd_original: command not found</title><link>https://qwtoe.github.io/post/VS%20Code-zhong-duan-ming-ling-zhi-xing-hou-chu-xian-%20__vsc_prompt_cmd_original-%20command%20not%20found.html</link><description>操作系统：Ubuntu Server 20.04 LTS 64bit&#13;
&#13;
VS Code终端命令执行后老是出现 `__vsc_prompt_cmd_original: command not found` ：&#13;
&#13;
![](https://moonpic.oss-cn-beijing.aliyuncs.com/tf-feb/20240603222452.png)&#13;
&#13;
解决方案：&#13;
&#13;
1、`vim ~/.bashrc` &#13;
2、在~/.bashrc里面加入命令：`unset PROMPT_COMMAND`&#13;
3、`source ~/.bashrc` &#13;
&#13;
&lt;!-- ##{'script':'&lt;script src='https://blog.meekdai.com/Gmeek/plugins/GmeekVercount.js'&gt;&lt;/script&gt;'}## --&gt;。</description><guid isPermaLink="true">https://qwtoe.github.io/post/VS%20Code-zhong-duan-ming-ling-zhi-xing-hou-chu-xian-%20__vsc_prompt_cmd_original-%20command%20not%20found.html</guid><pubDate>Mon, 16 Sep 2024 15:13:50 +0000</pubDate></item><item><title>Mac上安装node.js</title><link>https://qwtoe.github.io/post/Mac-shang-an-zhuang-node.js.html</link><description>官网的安装教程 https://nodejs.org/en/download/package-manager ：&#13;
```bash&#13;
# installs nvm (Node Version Manager)&#13;
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.40.0/install.sh | bash&#13;
&#13;
# download and install Node.js (you may need to restart the terminal)&#13;
nvm install 20&#13;
&#13;
# verifies the right Node.js version is in the environment&#13;
node -v # should print `v20.17.0`&#13;
&#13;
# verifies the right npm version is in the environment&#13;
npm -v # should print `10.8.2`&#13;
```&#13;
&#13;
但是执行第一条命令就报错：`Failed to connect to raw.githubusercontent.com port 443 after 8 ms: Couldn't connect to server` &#13;
&#13;
**解决办法：**&#13;
&#13;
&#13;
1、https://www.ipaddress.com 查询 `raw.githubusercontent.com` 域名的 ip 地址。</description><guid isPermaLink="true">https://qwtoe.github.io/post/Mac-shang-an-zhuang-node.js.html</guid><pubDate>Mon, 16 Sep 2024 08:08:01 +0000</pubDate></item></channel></rss>