hugo daily push 2018-11-27 22:00:01

This commit is contained in:
2018-11-27 22:00:02 +08:00
parent 0c2f130df5
commit 68264ee494
46 changed files with 2217 additions and 174 deletions

View File

@@ -5,11 +5,65 @@
<link>https://h.cowbay.org/post/</link>
<description>Recent content in Posts on MC部落</description>
<generator>Hugo -- gohugo.io</generator>
<lastBuildDate>Thu, 15 Nov 2018 11:06:28 +0800</lastBuildDate>
<lastBuildDate>Tue, 27 Nov 2018 16:50:53 +0800</lastBuildDate>
<atom:link href="https://h.cowbay.org/post/index.xml" rel="self" type="application/rss+xml" />
<item>
<title>[筆記] Ansible how to use &#39;list&#39; in yaml file </title>
<link>https://h.cowbay.org/post/ansible-selectattr/</link>
<pubDate>Tue, 27 Nov 2018 16:50:53 +0800</pubDate>
<guid>https://h.cowbay.org/post/ansible-selectattr/</guid>
<description>&lt;p&gt;這幾天在玩ansible 時,碰到一個問題&lt;/p&gt;
&lt;p&gt;假如我有個yaml檔作為資料來源檔名是 abc.yml&lt;/p&gt;
&lt;p&gt;大概長這樣&lt;/p&gt;
&lt;pre&gt;&lt;code&gt; &amp;quot;teams&amp;quot;: [
{
&amp;quot;chinese_name&amp;quot;: &amp;quot;TEAM1&amp;quot;,
&amp;quot;description&amp;quot;: &amp;quot;TEAM1&amp;quot;,
&amp;quot;gid&amp;quot;: 10125,
&amp;quot;location&amp;quot;: [
&amp;quot;hq&amp;quot;
],
&amp;quot;name&amp;quot;: &amp;quot;aa&amp;quot;,
&amp;quot;users&amp;quot;: [
&amp;quot;chen&amp;quot;,
&amp;quot;chou&amp;quot;,
&amp;quot;huani&amp;quot;,
&amp;quot;yey&amp;quot;,
&amp;quot;wa&amp;quot;
]
},
{
&amp;quot;chinese_name&amp;quot;: &amp;quot;TEAM2&amp;quot;,
&amp;quot;description&amp;quot;: &amp;quot;TEAM2&amp;quot;,
&amp;quot;gid&amp;quot;: 10126,
&amp;quot;location&amp;quot;: [
&amp;quot;hq&amp;quot;
],
&amp;quot;name&amp;quot;: &amp;quot;bb&amp;quot;,
&amp;quot;users&amp;quot;: [
&amp;quot;chhiao&amp;quot;,
&amp;quot;chgc&amp;quot;,
&amp;quot;chy&amp;quot;,
&amp;quot;hsi&amp;quot;,
&amp;quot;li&amp;quot;,
&amp;quot;li&amp;quot;,
&amp;quot;chgchi&amp;quot;
]
}
]
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;&lt;/p&gt;</description>
</item>
<item>
<title>[筆記] 為了metabase 修改 firefox 開啟網頁時使用的預設語言 change the preferred language in firefox for metabase</title>
<link>https://h.cowbay.org/post/change-preferred-language-in-firefox/</link>