<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Roy</title>
    <description>The latest articles on DEV Community by Roy (@icy1900).</description>
    <link>https://dev.to/icy1900</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F387220%2Fed074c97-4640-4279-a38e-6e5d91c31ca6.png</url>
      <title>DEV Community: Roy</title>
      <link>https://dev.to/icy1900</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/icy1900"/>
    <language>en</language>
    <item>
      <title>Testing UDP port connectivity</title>
      <dc:creator>Roy</dc:creator>
      <pubDate>Tue, 27 Sep 2022 01:29:41 +0000</pubDate>
      <link>https://dev.to/icy1900/testing-udp-port-connectivity-heg</link>
      <guid>https://dev.to/icy1900/testing-udp-port-connectivity-heg</guid>
      <description>&lt;p&gt;&lt;a href="https://serverfault.com/a/416269/576644"&gt;https://serverfault.com/a/416269/576644&lt;/a&gt;&lt;/p&gt;

</description>
      <category>network</category>
    </item>
    <item>
      <title>Answer: Using Ansible to stop service that might not exist</title>
      <dc:creator>Roy</dc:creator>
      <pubDate>Thu, 08 Sep 2022 07:50:58 +0000</pubDate>
      <link>https://dev.to/icy1900/answer-using-ansible-to-stop-service-that-might-not-exist-3cd8</link>
      <guid>https://dev.to/icy1900/answer-using-ansible-to-stop-service-that-might-not-exist-3cd8</guid>
      <description>&lt;div class="ltag__stackexchange--container"&gt;
  &lt;div class="ltag__stackexchange--title-container"&gt;
    
      &lt;div class="ltag__stackexchange--title"&gt;
        &lt;div class="ltag__stackexchange--header"&gt;
          &lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--7Gn-iPj_--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev.to/assets/stackoverflow-logo-b42691ae545e4810b105ee957979a853a696085e67e43ee14c5699cf3e890fb4.svg" alt=""&gt;
          &lt;a href="https://stackoverflow.com/questions/51765306/using-ansible-to-stop-service-that-might-not-exist/65798370#65798370" rel="noopener noreferrer"&gt;
            &lt;span class="title-flare"&gt;answer&lt;/span&gt; re: Using Ansible to stop service that might not exist
          &lt;/a&gt;
        &lt;/div&gt;
        &lt;div class="ltag__stackexchange--post-metadata"&gt;
          &lt;span&gt;Jan 19 '21&lt;/span&gt;
        &lt;/div&gt;
      &lt;/div&gt;
      &lt;a class="ltag__stackexchange--score-container" href="https://stackoverflow.com/questions/51765306/using-ansible-to-stop-service-that-might-not-exist/65798370#65798370" rel="noopener noreferrer"&gt;
        &lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--Y9mJpuJP--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev.to/assets/stackexchange-arrow-up-eff2e2849e67d156181d258e38802c0b57fa011f74164a7f97675ca3b6ab756b.svg" alt=""&gt;
        &lt;div class="ltag__stackexchange--score-number"&gt;
          4
        &lt;/div&gt;
        &lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--wif5Zq3z--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev.to/assets/stackexchange-arrow-down-4349fac0dd932d284fab7e4dd9846f19a3710558efde0d2dfd05897f3eeb9aba.svg" alt=""&gt;
      &lt;/a&gt;
    
  &lt;/div&gt;
  &lt;div class="ltag__stackexchange--body"&gt;
    
&lt;p&gt;The following will register the module output in &lt;code&gt;service_stop&lt;/code&gt;; if the module execution's standard output does not contain &lt;code&gt;"Could not find the requested service"&lt;/code&gt; AND the service fails to stop based on return code, the module execution will fail. Since you did not include the entire stack trace I…&lt;/p&gt;
    
  &lt;/div&gt;
  &lt;div class="ltag__stackexchange--btn--container"&gt;
    &lt;a href="https://stackoverflow.com/questions/51765306/using-ansible-to-stop-service-that-might-not-exist/65798370#65798370" class="ltag__stackexchange--btn" rel="noopener noreferrer"&gt;Open Full Answer&lt;/a&gt;
  &lt;/div&gt;
&lt;/div&gt;


</description>
    </item>
    <item>
      <title>cheat command</title>
      <dc:creator>Roy</dc:creator>
      <pubDate>Fri, 26 Aug 2022 02:12:36 +0000</pubDate>
      <link>https://dev.to/icy1900/cheat-command-of4</link>
      <guid>https://dev.to/icy1900/cheat-command-of4</guid>
      <description>&lt;p&gt;&lt;a href="https://github.com/cheat/cheat"&gt;cheat&lt;/a&gt;&lt;/p&gt;

</description>
      <category>linux</category>
      <category>command</category>
    </item>
    <item>
      <title>压测nginx出现no live upstreams while connecting to upstream的问题分析</title>
      <dc:creator>Roy</dc:creator>
      <pubDate>Wed, 24 Aug 2022 08:35:08 +0000</pubDate>
      <link>https://dev.to/icy1900/ya-ce-nginxchu-xian-no-live-upstreams-while-connecting-to-upstreamde-wen-ti-fen-xi-2e39</link>
      <guid>https://dev.to/icy1900/ya-ce-nginxchu-xian-no-live-upstreams-while-connecting-to-upstreamde-wen-ti-fen-xi-2e39</guid>
      <description>&lt;p&gt;&lt;a href="https://cloud.tencent.com/developer/article/1743145"&gt;压测nginx出现no live upstreams while connecting to upstream的问题分析&lt;br&gt;
&lt;/a&gt;&lt;/p&gt;

</description>
      <category>nginx</category>
    </item>
    <item>
      <title>yaml indentation</title>
      <dc:creator>Roy</dc:creator>
      <pubDate>Fri, 19 Aug 2022 01:57:48 +0000</pubDate>
      <link>https://dev.to/icy1900/yaml-indentation-ijl</link>
      <guid>https://dev.to/icy1900/yaml-indentation-ijl</guid>
      <description>&lt;p&gt;&lt;a href="https://stackoverflow.com/a/71968274/4016028"&gt;https://stackoverflow.com/a/71968274/4016028&lt;/a&gt; &lt;/p&gt;

</description>
      <category>yaml</category>
    </item>
    <item>
      <title>Local taskbar visible during remote desktop fullscreen</title>
      <dc:creator>Roy</dc:creator>
      <pubDate>Wed, 03 Aug 2022 09:54:39 +0000</pubDate>
      <link>https://dev.to/icy1900/local-taskbar-visible-during-remote-desktop-fullscreen-2o5</link>
      <guid>https://dev.to/icy1900/local-taskbar-visible-during-remote-desktop-fullscreen-2o5</guid>
      <description>&lt;p&gt;&lt;a href="https://superuser.com/questions/1243000/local-taskbar-visible-during-remote-desktop-fullscreen"&gt;Local taskbar visible during remote desktop fullscreen&lt;/a&gt;&lt;/p&gt;

</description>
      <category>troubleshootin</category>
      <category>windows</category>
    </item>
    <item>
      <title>Why does the dot command (source) not work on files without path in zsh?</title>
      <dc:creator>Roy</dc:creator>
      <pubDate>Wed, 03 Aug 2022 05:36:59 +0000</pubDate>
      <link>https://dev.to/icy1900/why-does-the-dot-command-source-not-work-on-files-without-path-in-zsh-3ee5</link>
      <guid>https://dev.to/icy1900/why-does-the-dot-command-source-not-work-on-files-without-path-in-zsh-3ee5</guid>
      <description>&lt;p&gt;&lt;a href="https://superuser.com/a/1499030"&gt;Why does the dot command (source) not work on files without path in zsh?&lt;/a&gt;&lt;/p&gt;

</description>
      <category>zsh</category>
    </item>
    <item>
      <title>nginx upstream failover</title>
      <dc:creator>Roy</dc:creator>
      <pubDate>Mon, 11 Jul 2022 07:30:04 +0000</pubDate>
      <link>https://dev.to/icy1900/nginx-upstream-failover-51e4</link>
      <guid>https://dev.to/icy1900/nginx-upstream-failover-51e4</guid>
      <description>&lt;p&gt;&lt;a href="https://nginx.org/en/docs/http/ngx_http_proxy_module.html#proxy_next_upstream"&gt;proxy_next_upstream&lt;/a&gt;&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;proxy_next_upstream  http_502 http_504 error timeout invalid_header;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



</description>
      <category>nginx</category>
    </item>
    <item>
      <title>nginx, consul, mysql high availability</title>
      <dc:creator>Roy</dc:creator>
      <pubDate>Thu, 07 Jul 2022 22:03:19 +0000</pubDate>
      <link>https://dev.to/icy1900/nginx-consul-mysql-high-availability-46b8</link>
      <guid>https://dev.to/icy1900/nginx-consul-mysql-high-availability-46b8</guid>
      <description>&lt;p&gt;昨天晚上睡觉的时候想，可以用nginx为 MySQL 做反向代理，upstream server 只有一个， backup upstream server 则为另一个，这样可以保证只往一个MySQL实例当中写，upstream server 中使用consul提供的域名，由consul提供健康检测，或者用其它机制检测两台MySQL的健康状态，更新 consul kv 存储， consul-template 更新nginx 配置文件&lt;/p&gt;

</description>
      <category>nginx</category>
      <category>consul</category>
      <category>mysql</category>
    </item>
    <item>
      <title>abrt-watch-log</title>
      <dc:creator>Roy</dc:creator>
      <pubDate>Wed, 06 Jul 2022 07:07:24 +0000</pubDate>
      <link>https://dev.to/icy1900/abrt-watch-log-2fof</link>
      <guid>https://dev.to/icy1900/abrt-watch-log-2fof</guid>
      <description>&lt;p&gt;&lt;a href="https://unix.stackexchange.com/questions/220717/cpu-warning-abrt-watch-log"&gt;CPU warning - abrt-watch-log&lt;/a&gt;&lt;/p&gt;

</description>
    </item>
    <item>
      <title>get available memory in gb using single bash shell command</title>
      <dc:creator>Roy</dc:creator>
      <pubDate>Wed, 29 Jun 2022 08:42:37 +0000</pubDate>
      <link>https://dev.to/icy1900/get-available-memory-in-gb-using-single-bash-shell-command-1nb1</link>
      <guid>https://dev.to/icy1900/get-available-memory-in-gb-using-single-bash-shell-command-1nb1</guid>
      <description>&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;awk '/MemFree/ { printf "%.3f \n", $2/1024/1024 }' /proc/meminfo

&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;a href="https://stackoverflow.com/a/34938001/4016028"&gt;https://stackoverflow.com/a/34938001/4016028&lt;/a&gt;&lt;/p&gt;

</description>
      <category>tips</category>
      <category>command</category>
    </item>
    <item>
      <title>get the number of cpus</title>
      <dc:creator>Roy</dc:creator>
      <pubDate>Wed, 29 Jun 2022 08:34:25 +0000</pubDate>
      <link>https://dev.to/icy1900/get-the-number-of-cpus-43o2</link>
      <guid>https://dev.to/icy1900/get-the-number-of-cpus-43o2</guid>
      <description>&lt;p&gt;&lt;code&gt;nproc&lt;/code&gt;&lt;/p&gt;

</description>
      <category>tips</category>
      <category>command</category>
      <category>linux</category>
    </item>
  </channel>
</rss>
