2016年3月30日 星期三

add --ignore-installed parameter to resolve it can't uninstall system python

sudo pip install virtualenvwrapper --upgrade --ignore-installed six



忽略已經安裝的six packages

年金改革若1年沒完成 林萬億:我下台

當把下列這兩篇文章擺在一起,就知道未來的一年又是動盪的一年,林萬億為台大社工系教授,

應該不是財經專家,年金改革我想每個人都知道得做,只是怎樣做才能讓大家都滿意,並實現

公平正義,

 

http://www.cna.com.tw/news/aipl/201603300051-1.aspx

年金改革若1年沒完成 林萬億:我下台

http://news.ltn.com.tw/news/politics/paper/901387  

星期專訪》林萬億︰年金改革 各黨總統參選人應表態

今天的好心情,一大早就被台鐵的誤點整個破壞掉了

一個月前就提早買的早鳥票,早上還還想說早點出門,多一些緩衝時間(雖然這樣做高鐵就沒意義,因為省下的時間全部被浪費掉),

結果在火車開車前五分鐘左右到車站,顯示誤點五分鐘,想一想,我還有30分鐘的緩衝時間,就毅然決然的刷卡進站,以前是早就見識

過台鐵不準確的預報,但這次距離車程只有五分鐘的距離,開車時間也是很不准,實在很難想像,就一路看者誤點時間從五分鐘->改成

十分鐘,這時候小小緊張一下,打個電話跟老婆題了一下,有點衝動想衝出去改交通工具,但想說應該還是勉強來得及,結果事與願違

誤點時間又改成20分鐘,然後變成22分鐘,.....

台鐵:我對你其實真的已經沒有過度的期待了,只要求你提供具有參考性的資訊也做不到嘛?最笨的,可以提供一本預估時間表,或請人

開發一個app給隨車清潔人員,可以即時顯示現在誤點幾分鐘,這樣其他的車站就可以一次顯示正確的資訊,趕時間了旅客就可以去找其他

交通工具,個人真的覺得台鐵需要多一些演練的SOP,才有機會改進效率

2016年3月29日 星期二

Unable to find remote helper for 'https'解决办法:

 是了網路很多種解決方法,幾乎都沒什麼用,後來發現最簡單的就是自行建立git-remote-https 的連結

自行把Xcode裡面的git-remote-https 建立symbolic link 到brew 安裝的folder


ln -s /Applications/Xcode.app/Contents/Developer/usr/libexec/git-core/git-remote-https  /Volumes/MacintoshHD/usr/local/bin/git-remote-https

內容農場氾濫的省思

以word smith 而言,不管你要寫的是吸引人家的眼光的愛的故事,還是專業的財經新聞,他都可以在短時間內大量產出,不過觀看這類的技術應該都是單純使用pattern來套用,

而非近日火紅的Machine learning來訓練電腦寫文章,

Word smith:  https://automatedinsights.com/product/

 

NewImage

[Plugin] Can't open YAR - Yet Another Relogger

YAR -Yet another relogger is plug-in of demonbuddy.   If you encounter launch problem, you can try to delete the cached files.

The folder path was usually located on  C:\windows\[YourUserName]\AppData\local\[Yet Another Relogger]

Just delete it and relaunch YAR again.

 

 

2016年3月28日 星期一

換個角色就換個腦袋

http://udn.com/news/story/1/1591067-緩降電價?張景森:草案應退回重擬

新聞解讀,這個張先生也是民進黨的智庫,從民進黨執政,常常就會跑出來,但個人對他的政策,還真沒找到有什麼讓人印象深刻的部份

台灣真的沒人才了嘛?一定要同一批人玩了幾十年還在玩嘛?

2016年3月15日 星期二

林全出任閣揆: 失望與失落

看到這則新聞,救讓我心裡浮現出,民進黨一貫的問題,就是沒人才,把每個人弄的好像什麼位置都能當,讓我想到之前

突然想起以前在陳水扁時代,呂秀蓮,諷刺陳水扁的一段話,他說阿扁政府真是會用人,來一個學科學的人去管政治

(指李遠哲),然一個搞政治的去管科學(指呂秀蓮),很多阿扁時期的官員明明就能力不好,做的不怎麼樣,現在全搖身

一變變成熟手政務官回來了~~orz....

Install kano os on raspberry pi

1. Download kano os from kano web site

http://www2.kano.me/downloads

2.Burn kano image to SD

3.boot up from your raspberry pi 3

4.Skip kano_init_flow since we don’t buy a kano kit

  ** the default password is kano

  * modify   config file which was located in your home directory     /home/[UserName]/.init-flow.json

  change “complete”: false  —>   “complete”: true"

reference: 

https://github.com/KanoComputing/kano-init-flow/blob/master/kano_init_flow/controller.py

5. resize sd if your kano os didn’t use all SD card 

#sudo fdisk /dev/mmcblk0

Then, in the fdisk program, you must press the d, 2, n, p, 2, Enter, Enter, and w key, in this exact same order, pressing the Enter key after each one. After that, reboot the Ubuntu MATE operating system, open the Terminal app again and run the following command.

#sudo  resize2fs /dev/mmcblk0p2

How to restore a deleted onenote page

復原不小心誤刪的onenote