<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by 樂哥哥人生經驗實驗室 on Medium]]></title>
        <description><![CDATA[Stories by 樂哥哥人生經驗實驗室 on Medium]]></description>
        <link>https://medium.com/@lab.1021?source=rss-b32a4694880a------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*l-nKHV4cjCzVSVwM5qIBew.png</url>
            <title>Stories by 樂哥哥人生經驗實驗室 on Medium</title>
            <link>https://medium.com/@lab.1021?source=rss-b32a4694880a------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Tue, 01 Dec 2026 13:54:38 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@lab.1021/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Laravel + Vue3 環境安裝]]></title>
            <link>https://medium.com/@lab.1021/laravel-vue3-%E7%92%B0%E5%A2%83%E5%AE%89%E8%A3%9D-95db955d3b3d?source=rss-b32a4694880a------2</link>
            <guid isPermaLink="false">https://medium.com/p/95db955d3b3d</guid>
            <category><![CDATA[vue]]></category>
            <category><![CDATA[vue-3]]></category>
            <category><![CDATA[mix]]></category>
            <category><![CDATA[laravel]]></category>
            <category><![CDATA[vuejs]]></category>
            <dc:creator><![CDATA[樂哥哥人生經驗實驗室]]></dc:creator>
            <pubDate>Mon, 28 Mar 2022 07:25:47 GMT</pubDate>
            <atom:updated>2022-03-28T07:50:32.806Z</atom:updated>
            <content:encoded><![CDATA[<p>目前 Laravel8|9 還只支援 Vue 2，如果要整合 Vue 3 可參考這篇，只要 3個步驟簡單又不出錯。</p><ol><li>首先建立 Laravel 專案，並利用 laravel/ui 初始化 vue2 環境</li></ol><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/6cbac812a05bfe379ba51fe19be3543a/href">https://medium.com/media/6cbac812a05bfe379ba51fe19be3543a/href</a></iframe><p>其中 php artisan ui vue 會建立 vue 相關目錄和變更一些檔案</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/0550bc34ae955385004bc6cc87d4c25b/href">https://medium.com/media/0550bc34ae955385004bc6cc87d4c25b/href</a></iframe><p>2. 升級 vue3 版本</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/36b4f195cc29d5a6ae482c7b309d7861/href">https://medium.com/media/36b4f195cc29d5a6ae482c7b309d7861/href</a></iframe><p>注意：執行 npm run dev 雖然不會發生錯誤，但前台載入 app.js 會發生錯誤，原因是 vue2 和 vue3 框架載入和應用方式的差異導致錯誤，請變更 app.js 檔案。</p><p>3. 變更 resources/js/app.js 以符合 vue3 規格</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/bdd92c3615e05d1ae898b52767ef9ed8/href">https://medium.com/media/bdd92c3615e05d1ae898b52767ef9ed8/href</a></iframe><p>需要修改的是 11 和 36~40 行，修改完成後執行 npm run dev 即可。</p><p>恭喜你又完成了本篇的內容</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=95db955d3b3d" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Internet Explorer’s CSS rules limits]]></title>
            <link>https://medium.com/@lab.1021/internet-explorer-s-css-rules-limits-1ef3c6093e48?source=rss-b32a4694880a------2</link>
            <guid isPermaLink="false">https://medium.com/p/1ef3c6093e48</guid>
            <category><![CDATA[css]]></category>
            <category><![CDATA[web-development]]></category>
            <dc:creator><![CDATA[樂哥哥人生經驗實驗室]]></dc:creator>
            <pubDate>Mon, 16 Nov 2015 06:43:13 GMT</pubDate>
            <atom:updated>2015-11-16T06:43:13.131Z</atom:updated>
            <content:encoded><![CDATA[<p>有時候前端人員在測試CSS都很正常，一旦環境換成 IE 之後狀況就一堆，檢查都沒問題，但就是跑版了，真的很苦惱。其實，有時候問題不是在你寫的CSS上面，而是在 IE 版本上。</p><p>關於 IE 6 to 9 對 CSS 的限制：</p><ol><li>1個CSS檔的selectors 數上限只能有 4095個<br>(A sheet may contain up to 4095 selectors)</li><li>最多只能 匯入(import) 31個CSS檔案<br>(A sheet may @import up to 31 sheets)</li><li>匯入(import)深度最多只有 4層，從第1層開始算起<br>(@import nesting supports up to 4 levels deep)</li></ol><blockquote><strong>Update</strong>: IE10 Platform Preview #2 significantly <a href="http://msdn.microsoft.com/en-us/ie/hh272902#_CSSRemoveLimits">raises the limits</a> described above. In IE10 (any browser/document mode):<br>1. A sheet may contain up to 65534 rules<br>2. A document may use up to 4095 stylesheets<br>3. @import nesting is limited to 4095 levels (due to the 4095 stylesheet limit)</blockquote><p>因此，以後檢查不出問題前，先了解你測試的環境吧。</p><p><a href="http://stackoverflow.com/a/9906889">Internet Explorer&#39;s CSS rules limits</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=1ef3c6093e48" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[天使投資簡報方式]]></title>
            <link>https://medium.com/@lab.1021/%E5%A4%A9%E4%BD%BF%E6%8A%95%E8%B3%87%E7%B0%A1%E5%A0%B1%E6%96%B9%E5%BC%8F-56798669b647?source=rss-b32a4694880a------2</link>
            <guid isPermaLink="false">https://medium.com/p/56798669b647</guid>
            <category><![CDATA[poesia]]></category>
            <dc:creator><![CDATA[樂哥哥人生經驗實驗室]]></dc:creator>
            <pubDate>Sun, 08 Nov 2015 06:48:16 GMT</pubDate>
            <atom:updated>2015-11-08T06:48:16.346Z</atom:updated>
            <content:encoded><![CDATA[<p>建議用3分鐘說你的夢想你的方向。用2分鐘說為什麼你可以然後介紹團隊。最忌諱介紹市場。（開玩笑，市場他們都比你熟，還浪費時間在這）</p><p>from <a href="https://www.facebook.com/antu1">Anderssen Tu​</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=56798669b647" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[以下這一段無聲的影片,雖然沒有精彩的劇情,雖然只是一個小動作,我卻感動不已,謝謝這位媽媽妳為這世界種下愛的種子,也給了您的孩子懂得愛,也為冷漠的世界帶來一點光~]]></title>
            <link>https://medium.com/@lab.1021/%E4%BB%A5%E4%B8%8B%E9%80%99%E4%B8%80%E6%AE%B5%E7%84%A1%E8%81%B2%E7%9A%84%E5%BD%B1%E7%89%87-%E9%9B%96%E7%84%B6%E6%B2%92%E6%9C%89%E7%B2%BE%E5%BD%A9%E7%9A%84%E5%8A%87%E6%83%85-%E9%9B%96%E7%84%B6%E5%8F%AA%E6%98%AF%E4%B8%80%E5%80%8B%E5%B0%8F%E5%8B%95%E4%BD%9C-%E6%88%91%E5%8D%BB%E6%84%9F%E5%8B%95%E4%B8%8D%E5%B7%B2-%E8%AC%9D%E8%AC%9D%E9%80%99%E4%BD%8D%E5%AA%BD%E5%AA%BD%E5%A6%B3%E7%82%BA%E9%80%99%E4%B8%96%E7%95%8C%E7%A8%AE%E4%B8%8B%E6%84%9B%E7%9A%84%E7%A8%AE%E5%AD%90-%E4%B9%9F%E7%B5%A6%E4%BA%86%E6%82%A8%E7%9A%84%E5%AD%A9%E5%AD%90%E6%87%82%E5%BE%97%E6%84%9B-%E4%B9%9F%E7%82%BA%E5%86%B7%E6%BC%A0%E7%9A%84%E4%B8%96%E7%95%8C%E5%B8%B6%E4%BE%86%E4%B8%80%E9%BB%9E%E5%85%89-3b99c4735784?source=rss-b32a4694880a------2</link>
            <guid isPermaLink="false">https://medium.com/p/3b99c4735784</guid>
            <dc:creator><![CDATA[樂哥哥人生經驗實驗室]]></dc:creator>
            <pubDate>Mon, 05 Oct 2015 16:03:27 GMT</pubDate>
            <atom:updated>2015-10-05T16:03:27.276Z</atom:updated>
            <content:encoded><![CDATA[<iframe src="https://cdn.embedly.com/widgets/media.html?url=https%3A%2F%2Fwww.facebook.com%2F100000898220226%2Fvideos%2F820447277995205%2F&amp;src=https%3A%2F%2Fwww.facebook.com%2Fvideo%2Fembed%3Fvideo_id%3D820447277995205&amp;type=text%2Fhtml&amp;key=d04bfffea46d4aeda930ec88cc64b87c&amp;schema=facebook" width="800" height="600" frameborder="0" scrolling="no"><a href="https://medium.com/media/4959fb67ed1dbca79004465897c86aa1/href">https://medium.com/media/4959fb67ed1dbca79004465897c86aa1/href</a></iframe><p>以下這一段無聲的影片,雖然沒有精彩的劇情,雖然只是一個小動作,我卻感動不已,謝謝這位媽媽妳為這世界種下愛的種子,也給了您的孩子懂得愛,也為冷漠的世界帶來一點光~</p><p>來源<a href="https://www.facebook.com/apjiyi/posts/10204681065337793">https://www.facebook.com/apjiyi/posts/10204681065337793</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=3b99c4735784" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[jQuery masonry 使用問題]]></title>
            <link>https://medium.com/@lab.1021/jquery-masonry-%E4%BD%BF%E7%94%A8%E5%95%8F%E9%A1%8C-7f279b11b180?source=rss-b32a4694880a------2</link>
            <guid isPermaLink="false">https://medium.com/p/7f279b11b180</guid>
            <category><![CDATA[css]]></category>
            <category><![CDATA[masonry]]></category>
            <dc:creator><![CDATA[樂哥哥人生經驗實驗室]]></dc:creator>
            <pubDate>Sat, 03 Oct 2015 17:21:00 GMT</pubDate>
            <atom:updated>2015-10-03T17:21:00.003Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*DaIwSlmR5qMwLcQdAbCs1w.png" /></figure><p>歡迎來到 <a href="#">masonry</a> 排版傻傻搞不清楚文章教學，首先使用 <a href="#">jquery masonry</a> 只會遇到一個問題，而且是大多數初學者都會遇到的問題。所以你安靜聽我說，忘掉你遇到的問題，聽聽我們公司的情況。</p><p>先講答案：<strong><em>第1個item元件的寛度將定義所有元件初始寛度</em></strong></p><p>講完了，聽不懂? 那就把我們公司的情況看完吧。</p><p>昨天公司製作瀑布式排版時，發現 .box 不聽話沒依照自訂的寛度排序，我花了至少花了1個下午解決這問題。所以你花10分鐘看完而且解決這問題，恭喜你賺到1個下午。</p><p><strong>講解開始：</strong></p><p>原本預想排版長這樣(圖1)，左側為 CSS Style</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*OwNYmfbc3urHFJop7te4MQ.png" /></figure><p>結果程式跑完後長這樣…..沒錯，<a href="#">masonry</a>沒照樣式排版</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*6Y_uDRt5guCsnq-HCV6MQw.png" /></figure><p>後來，我查到 <a href="#">masonry</a>說：「強烈建議在javascript加入columnWidth選項」，這樣才會正常顯示。他看完後立馬加入columnWidth……</p><pre>&lt;style&gt;<br>...<br>&lt;/style&gt;</pre><pre>&lt;script type=&quot;text/javascript&quot;&gt;<br>$(function () {<br>    $(&#39;.masonry&#39;).masonry({<br>        itemSelector: &#39;.box&#39;,<br>        columnWidth: &#39;.box&#39;,<br>        percentPosition: true<br>    });<br>});<br>&lt;/script&gt;</pre><pre>&lt;div class=&quot;masonry&quot;&gt;<br>    &lt;div class=&quot;box pink w1&quot;&gt;...&lt;/div&gt;<br>    &lt;div class=&quot;box yellow w2&quot;&gt;...&lt;/div&gt;<br>    &lt;div class=&quot;box blue1 w2&quot;&gt;...&lt;/div&gt;<br>    &lt;div class=&quot;box greenw2&quot;&gt;...&lt;/div&gt;<br>    &lt;div class=&quot;box blu2 w2&quot;&gt;...&lt;/div&gt;<br>    &lt;div class=&quot;box pink w1&quot;&gt;...&lt;/div&gt;<br>&lt;/div&gt;</pre><p>結果跑出來長這樣….沒錯喔，他們疊在一起了</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*xL-b-e-uFb44lOiAKFSghw.png" /></figure><p>後來，試了「設定高度」、「強烈設定寛度」都無效。最後，眼針發現 <a href="#">masonry</a> 給的範例中有一個元件叫 .grid-sizer (沒錯，就是缺了它)。最後，終於解決問題了，請參考以下範例。</p><pre>&lt;style&gt;<br>/* grid */<br>.box { float: left; }<br>.box.w1 { width: 100%; }<br>.box.w2 { width: 50%; }</pre><pre><strong>/* 記得設定最小寛度的尺寸 */</strong><br><strong>.grid-sizer { width: 50%; }</strong></pre><pre>/* color */<br>.box.pink    { background-color: #FFDAD8; }<br>.box.yellow { background-color: #FFE3AE; }<br>.box.green  { background-color: #DFEDD6; }<br>.box.blue1  { background-color: #D4E3FC; }<br>.box.blue2  { background-color: #C9F1FD; }<br>&lt;/style&gt;</pre><pre>&lt;script type=&quot;text/javascript&quot;&gt;<br>$(function () {<br>    $(&#39;.masonry&#39;).masonry({<br>        itemSelector: &#39;.box&#39;,<br>        columnWidth: &#39;.grid-sizer&#39;,<br>        percentPosition: true<br>    });<br>});<br>&lt;/script&gt;</pre><pre>&lt;div class=&quot;masonry&quot;&gt;<strong><br>    &lt;!-- </strong>第1個item元件的寛度將定義所有元件初始寛度 <strong>--&gt;</strong><br><strong>    &lt;div class=&quot;grid-sizer&quot;&gt;&lt;/div&gt; </strong><br>    &lt;div class=&quot;box pink w1&quot;&gt;...&lt;/div&gt;<br>    &lt;div class=&quot;box yellow w2&quot;&gt;...&lt;/div&gt;<br>    &lt;div class=&quot;box blue1 w2&quot;&gt;...&lt;/div&gt;<br>    &lt;div class=&quot;box greenw2&quot;&gt;...&lt;/div&gt;<br>    &lt;div class=&quot;box blu2 w2&quot;&gt;...&lt;/div&gt;<br>    &lt;div class=&quot;box pink w1&quot;&gt;...&lt;/div&gt;<br>&lt;/div&gt;</pre><p>這樣就完成了。</p><p>附上今晚宵夜文</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*w8rBUj4xA3tf2VbhilU-WA.jpeg" /></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=7f279b11b180" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[生活就像一盒綜合巧克力，你永遠不知道你會得到什麼。
Life is like a box of many kinds of chocolate flavors, you never know…]]></title>
            <link>https://medium.com/@lab.1021/%E7%94%9F%E6%B4%BB%E5%B0%B1%E5%83%8F%E4%B8%80%E7%9B%92%E7%B6%9C%E5%90%88%E5%B7%A7%E5%85%8B%E5%8A%9B-%E4%BD%A0%E6%B0%B8%E9%81%A0%E4%B8%8D%E7%9F%A5%E9%81%93%E4%BD%A0%E6%9C%83%E5%BE%97%E5%88%B0%E4%BB%80%E9%BA%BC-life-is-like-a-box-of-many-kinds-of-chocolate-flavors-you-never-know-d2af4348cbf6?source=rss-b32a4694880a------2</link>
            <guid isPermaLink="false">https://medium.com/p/d2af4348cbf6</guid>
            <dc:creator><![CDATA[樂哥哥人生經驗實驗室]]></dc:creator>
            <pubDate>Sat, 03 Oct 2015 15:25:46 GMT</pubDate>
            <atom:updated>2015-10-03T15:31:24.148Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/900/1*Uzrde0Gtljuee_STThfPIA.jpeg" /></figure><blockquote>生活就像一盒綜合巧克力，你永遠不知道你會得到什麼。<br>Life is like a box of many kinds of chocolate flavors, you never know what you will get.</blockquote><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=d2af4348cbf6" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[任何一種服務業，都只提供有限的服務。
Any kind of service, provide only limited services.]]></title>
            <link>https://medium.com/@lab.1021/%E4%BB%BB%E4%BD%95%E4%B8%80%E7%A8%AE%E6%9C%8D%E5%8B%99%E6%A5%AD-%E9%83%BD%E5%8F%AA%E6%8F%90%E4%BE%9B%E6%9C%89%E9%99%90%E7%9A%84%E6%9C%8D%E5%8B%99-any-kind-of-service-provide-only-limited-services-d531565768c4?source=rss-b32a4694880a------2</link>
            <guid isPermaLink="false">https://medium.com/p/d531565768c4</guid>
            <dc:creator><![CDATA[樂哥哥人生經驗實驗室]]></dc:creator>
            <pubDate>Sat, 03 Oct 2015 01:56:02 GMT</pubDate>
            <atom:updated>2015-10-03T01:56:02.103Z</atom:updated>
            <content:encoded><![CDATA[<blockquote>任何一種服務業，都只提供有限的服務。<br>Any kind of service, provide only limited services.</blockquote><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=d531565768c4" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[OS X El Capitan (10.11) 安裝SASS失敗解決方法]]></title>
            <link>https://medium.com/@lab.1021/os-x-el-capitan-10-11-%E5%AE%89%E8%A3%9Dsass%E5%A4%B1%E6%95%97%E8%A7%A3%E6%B1%BA%E6%96%B9%E6%B3%95-3739ad67c553?source=rss-b32a4694880a------2</link>
            <guid isPermaLink="false">https://medium.com/p/3739ad67c553</guid>
            <category><![CDATA[el-capitan]]></category>
            <category><![CDATA[developer]]></category>
            <category><![CDATA[sass]]></category>
            <dc:creator><![CDATA[樂哥哥人生經驗實驗室]]></dc:creator>
            <pubDate>Fri, 02 Oct 2015 17:34:09 GMT</pubDate>
            <atom:updated>2015-10-03T01:33:43.280Z</atom:updated>
            <content:encoded><![CDATA[<p>每當 Mac OS 升級時，開發者都會遇到相同類似的問題，像是 Apache 自動升級、Xcode要重裝之類的。之前裝過的一些gem可能也不能使用，像我們公司的設計師就發現在os升級後 compass 指令就失效了。</p><pre>ERROR:  While executing gem ... (Errno::EPERM)<br>    Operation not permitted - /usr/bin/sass</pre><p>所以這篇就是為解決 ruby gem 失效後，我們應該依循的方法。</p><p>在 Github 的 Sass專案找到國外也有開發者遇到相同問題，我們也依 <a href="https://github.com/unclenorton"><strong>unclenorton</strong></a><strong> </strong>的方法解決問題。貼上來源：</p><p><a href="https://github.com/sass/sass/issues/1768#issuecomment-129013885">Installing sass on OS X 10.11 (El Capitan) · Issue #1768 · sass/sass</a></p><p>基本上 <a href="https://github.com/unclenorton"><strong>unclenorton</strong></a><strong> </strong>說只要將ruby環境升級到2.2.2就能解決問題，事不遲疑立馬安裝，果然問題一下就解決了。</p><ol><li>在 AppStroe 下載安裝最新的 Xcode <a href="https://itunes.apple.com/tw/app/xcode/id497799835?l=zh&amp;mt=12">https://itunes.apple.com/tw/app/xcode/id497799835?l=zh&amp;mt=12</a></li><li><strong>Install Homebrew</strong></li></ol><pre>$ ruby -e &quot;$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)&quot;</pre><p>3. <strong>Install Ruby</strong></p><pre>$ brew install rbenv ruby-build</pre><pre># 加入 rbenv 到指令視窗界面 (如果使用 oh-my-zsh 請看右邊欄的commented)<br>$ echo &#39;if which rbenv &gt; /dev/null; then eval &quot;$(rbenv init -)&quot;; fi&#39; &gt;&gt; ~/.bash_profile<br>$ source ~/.bash_profile</pre><pre># 安裝最新版Ruby<br>$ rbenv install 2.2.3<br>$ rbenv global 2.2.3<br>$ ruby -v</pre><pre># 請重開視窗(原本執行過 source ~/.bash_profile 應該不用，但not work)</pre><p>4. 升級 Gem 版本</p><pre>$ sudo gem update --system</pre><p>5. 安裝 compass</p><pre>$ sudo gem install compass<br>$ compass -v                            <br>Compass 1.0.3 (Polaris)<br>Copyright (c) 2008-2015 Chris Eppstein<br>Released under the MIT License.<br>Compass is charityware.<br>Please make a tax deductable donation for a worthy cause: <a href="http://umdf.org/compass">http://umdf.org/compass</a></pre><p>以上，謝謝大家賞文 bye</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=3739ad67c553" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>