2018年1月23日星期二

Python for Finance 1

前言

心中一直都想運用電腦幫助自己分析股票。可惜不努力,懶,沒恆心,只想不做。
但是,覺得自己要變了。人生差不多過了三分一,仍一事無成。
有夢,就要去追。有想,就要去做。努力吧!
記錄,助我學習。
發現,如果我能將所學的,簡易寫出來,我會很興奮。
希望我能堅持下去。

2017年1月23日星期一

Git Command- A simple Way


Intro
As a beginner of using Git, I want to keep it simple and don't want to study deeply into it.
2 days of study and research on Git is enough for me.
Most Useful Command
I find that, below command is the most useful and can help me to do the version control perfectly in most of the time.

2017年1月21日星期六

Git: stash and checkout

 
As we know, if you want to checkout, you must need to clean your working DIR.
That's it, create a commit or stash you change.
Stash, means save your files on a temporary place in a stack data structure.
Below is a example on this.

2016年9月2日星期五

MCU 01 : STM32F105 VS STM32F103



前言

研究一下STM32F105和STM32F103的分別。

Overall 的分别

IO Pin 少了。第一感觉到的。哈。

硬件上的分别

不解释太多了。看图最清楚。从datasheet上查到。
硬件差别

2016年9月1日星期四

MCU 00:初探

前言

最近因工作關係,加上自己是電子工程出身,但居然並不熟悉MCU,實在有點難抬起頭來,所以是時候努力研究一下MCU了

其實,MCU一值都有興趣去學,但怪自己懶,不肯花時間去鑽研,怕麻煩。因為要學MCU,事前都要做很多預備的事。
第一件事,就是我應該選哪一種MCU來學?MCU有分好多種,8051系列,PIC,ARM系列,架構不同,且亦都分8bit ,16 bit,32bit的。最近幾年又有什麼Rasperry Pi,Ardinuo等等。我該如何選擇?

2016年7月31日星期日

Lycamobile SIM卡$58 試用


[18Jun2018 更新] 大约半年前不能用了,連不到網,如要買,請三思。

網上查到,聽聞過這張貌似很好的儲值卡,於是試一試。

吸引我的地方是便宜,$18,有3G速度和500MB的數據量。相比起其他的便宜很多。太多數的Plan是>$100,且本身電話,不支持4G網絡.........

如果只是想上上網,玩玩wechat、whatsapp,看看新聞資訊、在車上打發時間,500MB,3G的速度,夠用了。

在家附近問了兩三間的7-11,只有一間有$58的,其他的都是$98。奇怪的是,OK店雖然有,但不能買......店員說公司不給他去買......














2016年7月14日星期四

Excel VBA 2a:Learning MSXML2.XMLHTTP

Introduction

What is MSXML2.XMLHTTP?

It is an object in Excel VBA for sending request to the server. YOu can use this object to get the response from the website.

MSXML2 objects in Excel VBA

There are many object in Excel VBA in the MSXML2
There should be a little diference between them, but I really don’t know the difference. Ha, maybe I will know in the future.
Now, 6.0 is the updated version.
So far, I just MSXML.XMLHTTP is work fine for me in Excel2010
Microsoft.XMLHTTP
Microsoft.XMLHTTP.1.0
Msxml2.ServerXMLHTTP
Msxml2.ServerXMLHTTP.3.0
Msxml2.ServerXMLHTTP.5.0
Msxml2.ServerXMLHTTP.6.0
Msxml2.XMLHTTP.3.0
Msxml2.XMLHTTP.5.0
Msxml2.XMLHTTP.6.0