<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:blogger='http://schemas.google.com/blogger/2008' xmlns:georss='http://www.georss.org/georss' xmlns:gd="http://schemas.google.com/g/2005" xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-5728548</id><updated>2026-06-27T17:35:04.805+08:00</updated><category term="Programming"/><category term="System"/><category term="Python"/><category term="Travel"/><category term="電腦科技"/><category term="NodeJS"/><category term="旅遊、財經"/><category term="Food"/><category term="html"/><category term="Design"/><category term="android"/><category term="git"/><category term="video"/><category term="旅遊"/><category term="css"/><category term="life"/><category term="ns2"/><category term="restful"/><category term="網路"/><title type='text'>Jerry&#39;s Space</title><subtitle type='html'>This blog is used to write some living concept.</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://jerryhsuth.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5728548/posts/default?redirect=false'/><link rel='alternate' type='text/html' href='http://jerryhsuth.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><link rel='next' type='application/atom+xml' href='http://www.blogger.com/feeds/5728548/posts/default?start-index=26&amp;max-results=25&amp;redirect=false'/><author><name>Jerry Hsu</name><uri>http://www.blogger.com/profile/08257164951113708320</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>131</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-5728548.post-3508253140184110584</id><published>2019-04-26T09:59:00.000+08:00</published><updated>2019-04-26T09:59:45.081+08:00</updated><title type='text'>VScode setting for virtualenv path</title><summary type="text">ref:&amp;nbsp;https://codertw.com/%E4%BC%BA%E6%9C%8D%E5%99%A8/141315/



將以下內容複製到使用者設定(檔案-&amp;gt;首選項-&amp;gt;設定-&amp;gt;使用者設定):


// 將設定放入此檔案中以覆蓋預設設定
{
//python虛擬環境路徑。 下例是指向 &amp;lt;專案目錄&amp;gt;/venv。 也可以直接指向絕對目錄。
&quot;python.venvPath&quot;: &quot;${workspaceFolder}/venv&quot;,
//可選
&quot;python.venvFolders&quot;: [
&quot;envs&quot;,
&quot;.pyenv&quot;,
&quot;.direnv&quot;,
&quot;.venv&quot;,
&quot;venv&quot;
],
//可選。 python.exe在venv下的路徑，需要參考&quot;python.venvPath&quot;配置
&quot;python.pythonPath&quot;: &quot;${</summary><link rel='replies' type='application/atom+xml' href='http://jerryhsuth.blogspot.com/feeds/3508253140184110584/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/5728548/3508253140184110584' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5728548/posts/default/3508253140184110584'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5728548/posts/default/3508253140184110584'/><link rel='alternate' type='text/html' href='http://jerryhsuth.blogspot.com/2019/04/vscode-setting-for-virtualenv-path.html' title='VScode setting for virtualenv path'/><author><name>Jerry Hsu</name><uri>http://www.blogger.com/profile/08257164951113708320</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5728548.post-5363492048784382947</id><published>2018-10-12T23:47:00.002+08:00</published><updated>2018-10-12T23:47:24.393+08:00</updated><title type='text'>git hard reset, revert</title><summary type="text">git 有三區:

git reset有多個選項:


hard: 把branch上的節點資料清除，把workspace所有的資料都清除，由repository上的資料替換
soft: 把branch上的節點資料清除，但workspace的資料不會移除

</summary><link rel='replies' type='application/atom+xml' href='http://jerryhsuth.blogspot.com/feeds/5363492048784382947/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/5728548/5363492048784382947' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5728548/posts/default/5363492048784382947'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5728548/posts/default/5363492048784382947'/><link rel='alternate' type='text/html' href='http://jerryhsuth.blogspot.com/2018/10/git-hard-reset-revert.html' title='git hard reset, revert'/><author><name>Jerry Hsu</name><uri>http://www.blogger.com/profile/08257164951113708320</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5728548.post-6821925765086432281</id><published>2018-10-12T23:12:00.001+08:00</published><updated>2018-10-12T23:42:06.692+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Programming"/><title type='text'>從github下載code後，更改到bitbucket私人專案的步驟</title><summary type="text">有時候因為需要參考到github的程式進行修改，修改後的程式碼要放在私人專案進行測試的話，步驟可參考:

https://stackoverflow.com/questions/46691186/how-to-clone-a-project-from-github-but-use-bitbucket-as-remote-repository

原理:


把github的origin改成另一個名稱, e.g., upstream
新增origin remote 到bitbucket
push 到新origin remote



</summary><link rel='replies' type='application/atom+xml' href='http://jerryhsuth.blogspot.com/feeds/6821925765086432281/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/5728548/6821925765086432281' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5728548/posts/default/6821925765086432281'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5728548/posts/default/6821925765086432281'/><link rel='alternate' type='text/html' href='http://jerryhsuth.blogspot.com/2018/10/githubcodebitbucket.html' title='從github下載code後，更改到bitbucket私人專案的步驟'/><author><name>Jerry Hsu</name><uri>http://www.blogger.com/profile/08257164951113708320</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5728548.post-2941392279659844221</id><published>2018-02-11T22:21:00.002+08:00</published><updated>2018-02-11T22:21:57.051+08:00</updated><title type='text'>Let encrypt ssl install</title><summary type="text">ref:&amp;nbsp; https://certbot.eff.org/#ubuntuxenial-apache

1. 安裝certbot
$ sudo apt-get update
$ sudo apt-get install software-properties-common
$ sudo add-apt-repository ppa:certbot/certbot
$ sudo apt-get update
$ sudo apt-get install python-certbot-apache 

2. 執行下列命令，回答問題後，就完成ssl安裝
$ sudo certbot --authenticator webroot --installer apache


3. 每90天會過期，寫下列命令到 crontab自動展期
crontab -e


# renew ssl </summary><link rel='replies' type='application/atom+xml' href='http://jerryhsuth.blogspot.com/feeds/2941392279659844221/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/5728548/2941392279659844221' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5728548/posts/default/2941392279659844221'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5728548/posts/default/2941392279659844221'/><link rel='alternate' type='text/html' href='http://jerryhsuth.blogspot.com/2018/02/let-encrypt-ssl-install.html' title='Let encrypt ssl install'/><author><name>Jerry Hsu</name><uri>http://www.blogger.com/profile/08257164951113708320</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5728548.post-4201738098493399736</id><published>2018-01-27T22:45:00.003+08:00</published><updated>2018-01-27T22:45:52.399+08:00</updated><title type='text'>Machine Learning好文章</title><summary type="text">http://blog.csdn.net/soulmeetliang/article/details/72619885</summary><link rel='replies' type='application/atom+xml' href='http://jerryhsuth.blogspot.com/feeds/4201738098493399736/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/5728548/4201738098493399736' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5728548/posts/default/4201738098493399736'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5728548/posts/default/4201738098493399736'/><link rel='alternate' type='text/html' href='http://jerryhsuth.blogspot.com/2018/01/machine-learning.html' title='Machine Learning好文章'/><author><name>Jerry Hsu</name><uri>http://www.blogger.com/profile/08257164951113708320</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5728548.post-7549861515221283807</id><published>2018-01-27T12:08:00.000+08:00</published><updated>2018-01-27T12:16:41.094+08:00</updated><title type='text'>Git學習的好資料</title><summary type="text">[線上讀書會] Mouson 主講 git 入門 與應用實務
https://www.youtube.com/watch?v=gVByWjwetVc

[線上讀書會] 語堂 主講 github 實現多人共同開發

https://www.youtube.com/watch?v=OmlGiqilfRI</summary><link rel='replies' type='application/atom+xml' href='http://jerryhsuth.blogspot.com/feeds/7549861515221283807/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/5728548/7549861515221283807' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5728548/posts/default/7549861515221283807'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5728548/posts/default/7549861515221283807'/><link rel='alternate' type='text/html' href='http://jerryhsuth.blogspot.com/2018/01/git.html' title='Git學習的好資料'/><author><name>Jerry Hsu</name><uri>http://www.blogger.com/profile/08257164951113708320</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5728548.post-539170748966307412</id><published>2018-01-23T23:19:00.001+08:00</published><updated>2018-01-27T10:36:23.473+08:00</updated><title type='text'>Vue的好教學影片</title><summary type="text">Vue.js入门学习
https://www.youtube.com/playlist?list=PLu3b11EPo_MfxhGAgO1LTJuDLTMCHIGLv</summary><link rel='replies' type='application/atom+xml' href='http://jerryhsuth.blogspot.com/feeds/539170748966307412/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/5728548/539170748966307412' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5728548/posts/default/539170748966307412'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5728548/posts/default/539170748966307412'/><link rel='alternate' type='text/html' href='http://jerryhsuth.blogspot.com/2018/01/vue.html' title='Vue的好教學影片'/><author><name>Jerry Hsu</name><uri>http://www.blogger.com/profile/08257164951113708320</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5728548.post-986106824814295520</id><published>2018-01-20T23:54:00.000+08:00</published><updated>2018-01-20T23:56:56.917+08:00</updated><title type='text'>HTML APP快速版面規劃</title><summary type="text">nav: black, white
jumbotran: light-blue, dark font
button: green, white
font icon
6-column: white, black
side title: white, light gray
4-column: white, black
foot: green white
facebook font-awesome icon

tool:
fa2png.io</summary><link rel='replies' type='application/atom+xml' href='http://jerryhsuth.blogspot.com/feeds/986106824814295520/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/5728548/986106824814295520' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5728548/posts/default/986106824814295520'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5728548/posts/default/986106824814295520'/><link rel='alternate' type='text/html' href='http://jerryhsuth.blogspot.com/2018/01/html-app.html' title='HTML APP快速版面規劃'/><author><name>Jerry Hsu</name><uri>http://www.blogger.com/profile/08257164951113708320</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5728548.post-3587701329819172913</id><published>2018-01-15T22:39:00.001+08:00</published><updated>2018-01-15T22:39:13.961+08:00</updated><title type='text'>VueRouter的問題</title><summary type="text">如果沒有顯示，要檢查輸入的網址有沒有問題，
預設的情況下，必須為 localhost:8080/#/data/route, 重點在#字號，如果直接用絕對路徑去輸入，那麼vueRouter就會判斷錯誤。

詳
https://stackoverflow.com/questions/40550446/vue-js-routing-to-pages-not-working</summary><link rel='replies' type='application/atom+xml' href='http://jerryhsuth.blogspot.com/feeds/3587701329819172913/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/5728548/3587701329819172913' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5728548/posts/default/3587701329819172913'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5728548/posts/default/3587701329819172913'/><link rel='alternate' type='text/html' href='http://jerryhsuth.blogspot.com/2018/01/vuerouter.html' title='VueRouter的問題'/><author><name>Jerry Hsu</name><uri>http://www.blogger.com/profile/08257164951113708320</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5728548.post-4306259354411322399</id><published>2018-01-13T22:30:00.000+08:00</published><updated>2018-01-14T17:33:35.689+08:00</updated><title type='text'>Word2Vec好資料</title><summary type="text">1.&amp;nbsp;https://youtu.be/Z7XimPdCFZ0

2.&amp;nbsp;https://www.slideshare.net/ywchen88/word2vec-70245972?qid=c15fa37e-19cc-4903-b6a1-4486adc3a265&amp;amp;v=&amp;amp;b=&amp;amp;from_search=9

3. https://www.slideshare.net/HyunYoungLee3/word2-vec-81790245?qid=8ca149b7-4bb7-4b31-a1f8-f787ef8d9903&amp;amp;v=&amp;amp;b=&amp;amp;from_search=8

4.&amp;nbsp;http://www.52nlp.cn/synonyms-%E4%B8%AD%E6%96%87%E8%BF%91%E4%B9%89%E8%AF%8D%E5%B7</summary><link rel='replies' type='application/atom+xml' href='http://jerryhsuth.blogspot.com/feeds/4306259354411322399/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/5728548/4306259354411322399' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5728548/posts/default/4306259354411322399'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5728548/posts/default/4306259354411322399'/><link rel='alternate' type='text/html' href='http://jerryhsuth.blogspot.com/2018/01/word2vec.html' title='Word2Vec好資料'/><author><name>Jerry Hsu</name><uri>http://www.blogger.com/profile/08257164951113708320</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5728548.post-1202022537700551175</id><published>2017-12-07T16:59:00.001+08:00</published><updated>2017-12-07T16:59:09.207+08:00</updated><title type='text'>修正download目錄更新很慢的問題</title><summary type="text">https://www.laptopmag.com/articles/slow-windows-downloads-folder

</summary><link rel='replies' type='application/atom+xml' href='http://jerryhsuth.blogspot.com/feeds/1202022537700551175/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/5728548/1202022537700551175' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5728548/posts/default/1202022537700551175'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5728548/posts/default/1202022537700551175'/><link rel='alternate' type='text/html' href='http://jerryhsuth.blogspot.com/2017/12/download.html' title='修正download目錄更新很慢的問題'/><author><name>Jerry Hsu</name><uri>http://www.blogger.com/profile/08257164951113708320</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5728548.post-2768398823606029474</id><published>2017-11-06T08:46:00.004+08:00</published><updated>2017-11-06T09:03:20.868+08:00</updated><title type='text'>如何在node js中上傳檔案</title><summary type="text">
ref:
multipart/form-data

What does enctype=&#39;multipart/form-data&#39; mean?
https://stackoverflow.com/questions/4526273/what-does-enctype-multipart-form-data-mean

https://www.hacksparrow.com/handle-file-uploads-in-express-node-js.html

1. 可以用express內建的body parser，解出multipart/form-data後，直接利用req.filename來存取資料。

2. 可以在 ios中，找相關程式來形成post的multipart/form-data後，送給server解析
</summary><link rel='replies' type='application/atom+xml' href='http://jerryhsuth.blogspot.com/feeds/2768398823606029474/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/5728548/2768398823606029474' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5728548/posts/default/2768398823606029474'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5728548/posts/default/2768398823606029474'/><link rel='alternate' type='text/html' href='http://jerryhsuth.blogspot.com/2017/11/node-js.html' title='如何在node js中上傳檔案'/><author><name>Jerry Hsu</name><uri>http://www.blogger.com/profile/08257164951113708320</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5728548.post-3961519458727904913</id><published>2017-06-11T12:56:00.000+08:00</published><updated>2017-06-11T12:56:55.974+08:00</updated><title type='text'>處理二欄Word論文時，殺不掉的最後空白頁面</title><summary type="text">在寫二欄Word論文時，常常會碰到殺不掉的最後空白頁面，造成很大的困擾。把最後一頁刪除，則文件格式會跑掉；不刪除，則列印時都會出現最後空白一頁，多送紙。

解決方法:
到最後一行，把字型設定到最小，就可以解決這鳥問題。(不正規解法，但有用。)</summary><link rel='replies' type='application/atom+xml' href='http://jerryhsuth.blogspot.com/feeds/3961519458727904913/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/5728548/3961519458727904913' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5728548/posts/default/3961519458727904913'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5728548/posts/default/3961519458727904913'/><link rel='alternate' type='text/html' href='http://jerryhsuth.blogspot.com/2017/06/word.html' title='處理二欄Word論文時，殺不掉的最後空白頁面'/><author><name>Jerry Hsu</name><uri>http://www.blogger.com/profile/08257164951113708320</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5728548.post-2958176923863303385</id><published>2017-04-17T14:23:00.002+08:00</published><updated>2017-04-18T14:57:49.327+08:00</updated><title type='text'>OpenStack Install with CentOS</title><summary type="text">bg 重裝...Orz



安裝文件參考
https://www.hkitblog.com/?p=28724

vSwitch觀念影片
https://youtu.be/7x-JzMDN6Wc


很重要，必看***Introduction to Open vSwitch (OVS)
https://www.youtube.com/watch?v=rYW7kQRyUvA



心得:
0. 要用對外網路，不要用預設的命令，改用 (https://www.rdoproject.org/networking/neutron-with-existing-external-network/)
packstack --allinone --provision-demo=n --os-neutron-ovs-bridge-mappings=extnet:br-ex -</summary><link rel='replies' type='application/atom+xml' href='http://jerryhsuth.blogspot.com/feeds/2958176923863303385/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/5728548/2958176923863303385' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5728548/posts/default/2958176923863303385'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5728548/posts/default/2958176923863303385'/><link rel='alternate' type='text/html' href='http://jerryhsuth.blogspot.com/2017/04/openstack-install-with-centos.html' title='OpenStack Install with CentOS'/><author><name>Jerry Hsu</name><uri>http://www.blogger.com/profile/08257164951113708320</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5728548.post-8356403223979492937</id><published>2017-04-17T14:14:00.002+08:00</published><updated>2017-04-17T14:17:46.998+08:00</updated><title type='text'>Meteor框架記錄</title><summary type="text">
Meteor框架跟django框架很類似，但也有很多不同的地方，如


meteor框架的架構主要是會分成client及server，資料庫的部分使用mongodb的collection(這部分的程式碼是可以共用的)。


檔案架構如下，其中imports目錄下的程式碼meteor不會主動載入，需要匯入的時候使用import語法匯入





 client
 server
 imports
 public




在各個目錄下面，會需要設計許多html網頁樣板，meteor會自動掃描樣板整合。


網頁樣板中的(只要一份)、(只要一份)、標記，meteor會自動掃描合併


在各個目錄下面，會需要設計許多javascript程式，用來輔助樣板功能


在路由的部分，可使用iron router及flow router，如果沒有要整合其他的前端框架，使用iron router 就可以了</summary><link rel='replies' type='application/atom+xml' href='http://jerryhsuth.blogspot.com/feeds/8356403223979492937/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/5728548/8356403223979492937' title='1 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5728548/posts/default/8356403223979492937'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5728548/posts/default/8356403223979492937'/><link rel='alternate' type='text/html' href='http://jerryhsuth.blogspot.com/2017/04/meteor_17.html' title='Meteor框架記錄'/><author><name>Jerry Hsu</name><uri>http://www.blogger.com/profile/08257164951113708320</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5728548.post-6762656551980472497</id><published>2017-03-14T16:02:00.001+08:00</published><updated>2017-03-14T16:02:21.068+08:00</updated><title type='text'>Install Ubuntu 14.04 on MacAir 2016</title><summary type="text">REF:

1. Get the wireless driver and put into the flash drive

http://askubuntu.com/questions/626642/how-to-install-broadcom-wireless-drivers-offline

&quot;
If you are using Ubuntu 14.04.2 installation media the driver will not build


If you have 14.04.2, then download 64-BIT DRIVER FROM UBUNTU REPOSITORY or 32-BIT DRIVER,
 copy it to your home folder and run the same command. But you still 
need </summary><link rel='replies' type='application/atom+xml' href='http://jerryhsuth.blogspot.com/feeds/6762656551980472497/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/5728548/6762656551980472497' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5728548/posts/default/6762656551980472497'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5728548/posts/default/6762656551980472497'/><link rel='alternate' type='text/html' href='http://jerryhsuth.blogspot.com/2017/03/install-ubuntu-1404-on-macair-2016.html' title='Install Ubuntu 14.04 on MacAir 2016'/><author><name>Jerry Hsu</name><uri>http://www.blogger.com/profile/08257164951113708320</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5728548.post-2792644126867250833</id><published>2017-03-11T12:45:00.001+08:00</published><updated>2017-03-11T12:45:58.077+08:00</updated><title type='text'>Why Docker? VM or Physical</title><summary type="text">一些想法 
Q:Docker 要裝在實體機還是VM中?
裝在實體機中，效能當然是最好。但是如果沒有用到實體機的全部資源，或實體機運算能力強大，可以把實體機切割成多個VMs，例如同時跑 Windows及Linux VM，如此可充分利用硬體資源。

Q:為什麼實體機有了Docker還要裝多個VM?
Docker有一些限制，如不能跑Windows VM等。

Q:為什麼要在雲端VM中跑Docker?
1. 雲端中心有大量資源，只要有錢，運算能力可以隨時Scale UP。網路頻寬可隨時加大。
2. 雲端中心租用以VM為主，Docker需要跑在OS上，所以需要一台實體或VM才可以執行Docker。
3. 用VM容易備份。

Q:要租多台VMs或一台VM with Dockers?
如果系統無特殊需求，當然是一台VM結合多個Dockers，系統資源較為有效利用，且省錢。

Q: Docker的好處是</summary><link rel='replies' type='application/atom+xml' href='http://jerryhsuth.blogspot.com/feeds/2792644126867250833/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/5728548/2792644126867250833' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5728548/posts/default/2792644126867250833'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5728548/posts/default/2792644126867250833'/><link rel='alternate' type='text/html' href='http://jerryhsuth.blogspot.com/2017/03/why-docker-vm-or-physical.html' title='Why Docker? VM or Physical'/><author><name>Jerry Hsu</name><uri>http://www.blogger.com/profile/08257164951113708320</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5728548.post-5821950497408624406</id><published>2017-02-14T17:09:00.003+08:00</published><updated>2017-02-15T10:27:15.678+08:00</updated><title type='text'>SHVC /SHM 編譯Windows 10, VS2015</title><summary type="text">Windows
1. Install&amp;nbsp;TortoiseSVN
2. Go to&amp;nbsp;https://hevc.hhi.fraunhofer.de/shvc
3. Use TortoiseSVN (Click on a folder with right mouse) to download https://hevc.hhi.fraunhofer.de/svn/svn_SHVCSoftware/tags/SHM-12.2/










4. Use visual studio 2015 community to compile.

5. Open the vc solution file.







6. build errors:









7. Install windows 8.1 sdk

8. Build Solution&amp;nbsp;




</summary><link rel='replies' type='application/atom+xml' href='http://jerryhsuth.blogspot.com/feeds/5821950497408624406/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/5728548/5821950497408624406' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5728548/posts/default/5821950497408624406'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5728548/posts/default/5821950497408624406'/><link rel='alternate' type='text/html' href='http://jerryhsuth.blogspot.com/2017/02/shvc-shm.html' title='SHVC /SHM 編譯Windows 10, VS2015'/><author><name>Jerry Hsu</name><uri>http://www.blogger.com/profile/08257164951113708320</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEisyteu6H3NUBrI_72ps2HSXJ8iLepHoNuRenU5VpwkKGg-XCPR6zKYeQdMW-rZdITV2ujRkudYBs1-VagPo2FMmQrm5oI_NIcaKHokJxMinHWjICM7Hopj3TWEd9c-LGN2sJpGjg/s72-c/2017-02-14+17_05_49-Checkout.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5728548.post-4162165630005052608</id><published>2016-12-26T20:30:00.000+08:00</published><updated>2016-12-26T20:33:09.838+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Design"/><category scheme="http://www.blogger.com/atom/ns#" term="Programming"/><title type='text'>Mobile App Design Flow</title><summary type="text">1. Define the Problem and App Solution
2. Define Personas
3. Find the Use Case and User Story
4. Find the feature list
5. Prioritize the feature list (user story? scrum? kaban?)
6. MVP
7. Define main work flows &amp;nbsp;and others.
8. Prototype High Level Wireframe
9. Confirm the wireframe and prototype with users
10. Coding and Testing

references:
https://www.udacity.com/course/</summary><link rel='replies' type='application/atom+xml' href='http://jerryhsuth.blogspot.com/feeds/4162165630005052608/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/5728548/4162165630005052608' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5728548/posts/default/4162165630005052608'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5728548/posts/default/4162165630005052608'/><link rel='alternate' type='text/html' href='http://jerryhsuth.blogspot.com/2016/12/mobile-app-design-flow.html' title='Mobile App Design Flow'/><author><name>Jerry Hsu</name><uri>http://www.blogger.com/profile/08257164951113708320</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5728548.post-8160288063850532355</id><published>2016-11-30T08:22:00.000+08:00</published><updated>2016-11-30T08:22:03.569+08:00</updated><title type='text'>FFMPEG 降低frame數，但保留audio及高視訊品質</title><summary type="text">
ffmpeg -y -i Chap01_06.mp4 -r 15 -c:v libx264 -crf 18 -strict -2 -movflags faststart -c:a copy nnChap01_06.mp4
</summary><link rel='replies' type='application/atom+xml' href='http://jerryhsuth.blogspot.com/feeds/8160288063850532355/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/5728548/8160288063850532355' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5728548/posts/default/8160288063850532355'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5728548/posts/default/8160288063850532355'/><link rel='alternate' type='text/html' href='http://jerryhsuth.blogspot.com/2016/11/ffmpeg-frameaudio.html' title='FFMPEG 降低frame數，但保留audio及高視訊品質'/><author><name>Jerry Hsu</name><uri>http://www.blogger.com/profile/08257164951113708320</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5728548.post-402913162413052373</id><published>2016-11-05T10:03:00.004+08:00</published><updated>2016-11-05T10:51:24.639+08:00</updated><title type='text'>Scrum and user story好投影片</title><summary type="text">http://www.slideshare.net/ertjona/workshop-paper-prototying-game

User Story Mapping Workshop (Design Skills 2016)
http://www.slideshare.net/mozyrko/user-story-mapping-design-skills-2016?qid=03fdb600-19a5-4610-9eb8-f9600f0bede2&amp;amp;v=&amp;amp;b=&amp;amp;from_search=5

Agile meetuphsinchu user story mapping workshop
http://www.slideshare.net/ssusere62027/agile-meetuphsinchu-user-story-mapping-workshop?qid</summary><link rel='replies' type='application/atom+xml' href='http://jerryhsuth.blogspot.com/feeds/402913162413052373/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/5728548/402913162413052373' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5728548/posts/default/402913162413052373'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5728548/posts/default/402913162413052373'/><link rel='alternate' type='text/html' href='http://jerryhsuth.blogspot.com/2016/11/scrum-and-user-story.html' title='Scrum and user story好投影片'/><author><name>Jerry Hsu</name><uri>http://www.blogger.com/profile/08257164951113708320</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5728548.post-5127040388497460178</id><published>2016-11-05T10:03:00.003+08:00</published><updated>2016-11-05T10:07:25.856+08:00</updated><title type='text'>Scrum好投影片</title><summary type="text">http://www.slideshare.net/ertjona/workshop-paper-prototying-game</summary><link rel='replies' type='application/atom+xml' href='http://jerryhsuth.blogspot.com/feeds/5127040388497460178/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/5728548/5127040388497460178' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5728548/posts/default/5127040388497460178'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5728548/posts/default/5127040388497460178'/><link rel='alternate' type='text/html' href='http://jerryhsuth.blogspot.com/2016/11/scrum.html' title='Scrum好投影片'/><author><name>Jerry Hsu</name><uri>http://www.blogger.com/profile/08257164951113708320</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5728548.post-8683311534677738294</id><published>2016-10-25T23:21:00.000+08:00</published><updated>2016-10-25T23:21:05.951+08:00</updated><title type='text'>Word調整目錄及標號字型</title><summary type="text">

目錄部份， 修改各層「目錄」相關樣式就可以了
標號部份，可於插入標號後，按ctrl+shift+s鍵叫出「目前」所在標號的樣式選單，再選「修改」樣式，去修改字型大小就好了。

</summary><link rel='replies' type='application/atom+xml' href='http://jerryhsuth.blogspot.com/feeds/8683311534677738294/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/5728548/8683311534677738294' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5728548/posts/default/8683311534677738294'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5728548/posts/default/8683311534677738294'/><link rel='alternate' type='text/html' href='http://jerryhsuth.blogspot.com/2016/10/word.html' title='Word調整目錄及標號字型'/><author><name>Jerry Hsu</name><uri>http://www.blogger.com/profile/08257164951113708320</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5728548.post-5927311813392205632</id><published>2016-10-15T10:04:00.000+08:00</published><updated>2016-10-15T10:04:58.506+08:00</updated><title type='text'>psnr and ssim 好文章</title><summary type="text">1.&amp;nbsp;Ji Life House: 圖片相似度----SSIM以及PSNR
http://jirongwu81.blogspot.tw/2016/09/ssimpsnr.html

2.&amp;nbsp;视频编码方案之间的比较（HEVC，H.264，MPEG2等）
http://www.cnblogs.com/xkfz007/p/4509746.html

3.&amp;nbsp;電機工程系碩士班碩士學位論文基於SSIM 之H.264 視訊傳輸服務品質

4.&amp;nbsp;[參考] x264命令行參數解釋
https://www.ptt.cc/bbs/AVEncode/M.1305719689.A.615.html

5.&amp;nbsp;Netflix 評估影片品質的方法
https://blog.gslin.org/archives/2016/06/08/6618/netflix-%E8%A9%</summary><link rel='replies' type='application/atom+xml' href='http://jerryhsuth.blogspot.com/feeds/5927311813392205632/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/5728548/5927311813392205632' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5728548/posts/default/5927311813392205632'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5728548/posts/default/5927311813392205632'/><link rel='alternate' type='text/html' href='http://jerryhsuth.blogspot.com/2016/10/psnr-and-ssim.html' title='psnr and ssim 好文章'/><author><name>Jerry Hsu</name><uri>http://www.blogger.com/profile/08257164951113708320</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5728548.post-4918287435774214063</id><published>2016-10-10T00:17:00.005+08:00</published><updated>2016-10-10T00:33:49.103+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="NodeJS"/><title type='text'>Node.js Job Queue </title><summary type="text">Reference:
Kue, https://github.com/Automattic/kue

Document/Example:
https://www.linkedin.com/pulse/job-queue-nodejs-adrien-desbiaux

1. Install Redis
2. Install Kue

Usage:
Producer
1. 建立queue instance
&amp;nbsp; &amp;nbsp; var kue = require(&#39;kue&#39;),
&amp;nbsp; &amp;nbsp; var jobs = kue.createQueue();

2. 建立job
&amp;nbsp; &amp;nbsp; job = jobs.create(&#39;bessel-filter-image&#39;, jobArgs).save();

3. 等待job 結束(callback)
&amp;nbsp; </summary><link rel='replies' type='application/atom+xml' href='http://jerryhsuth.blogspot.com/feeds/4918287435774214063/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/5728548/4918287435774214063' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5728548/posts/default/4918287435774214063'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5728548/posts/default/4918287435774214063'/><link rel='alternate' type='text/html' href='http://jerryhsuth.blogspot.com/2016/10/nodejs-job-queue_10.html' title='Node.js Job Queue '/><author><name>Jerry Hsu</name><uri>http://www.blogger.com/profile/08257164951113708320</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry></feed>