By Unknown | Sunday, December 30, 2012
Posted in: | 0 comments

2012-12-30聽力

SA 60s Science Forest Canopy Color Reveals CO2 Uptake When autumn rolls around, the leaf peepers come out in force. Armed with digital cameras, they record the most spectacular displays of fall foliage. Well according to a study in the journal Functional Ecology [Toshie Mizunuma et al., The relationship between carbon dioxide uptake and canopy colour from two camera systems in a deciduous forest in southern England], those images may be more

Read more
By Unknown | Thursday, December 27, 2012
Posted in: , | 0 comments

Calculation dihedral angle from 2 vectors

計算acos的簡單範例,先用以下公式求出cos值,再利用acos得到角度 /* acos example */ #include <stdio.h> #include <math.h> #define PI 3.14159265 int main () { double param, result; param = 0.5; result = acos (param) * 180.0 / PI; printf ("The arc cosine of %lf is %lf degrees.\n", param, result ); return 0; } 參考 cplusplus.com Dihedraal angl

Read more
By Unknown | Wednesday, December 19, 2012
Posted in: , | 0 comments

Linked List

這個禮拜最令我傷神的,不過幸好很久以前有想過一次,所以要回復記憶比較沒有那麼困難。首先我先把C++版本的linked list刻出來,當然骨幹是參考別人的,然後自己有改了些東西,沒花多久時間很快就用出來了。 以下是標頭檔: class CKLinkList{ private: struct node { int x; int y; int z; node *link; } *p; int count_i; public: CKLinkList(); void append(int); void insert_after(int,int); void insert_first(int); void display(void);

Read more
By Unknown | Friday, December 14, 2012
Posted in: | 0 comments

Tempo Run

剛剛喵了一下我的跑步計畫,Tempo Run的配速看了之後覺得還有些不輕鬆。約8KM的距離速度在pace 5左右。根據最近這兩個禮拜在操場跑下來的結果,似乎400m@120s需要熱個將近10圈之後才有可能,所以我看短時間還是先把目標速訂在130s然後再慢慢加到12

Read more
By Unknown | Friday, December 14, 2012
Posted in: | 0 comments

Sublime 2快捷鍵

從網路上轉貼來的sublime2快捷鍵,我想我應該滿需要的 快捷鍵說明 Ctrl + X刪除一整行。(windows中會被剪下蓋掉,但是也可以用來快速把一行拿掉) Ctrl + Enter在游標所在的那一行下方,插入一空白行。(若只按Enter,游標後方若有字會被一併換到下行去) Ctrl + Shift + Enter在游標所在的那一行上方,插入一空白行。 Ctrl +  Shift  + ↑將你游標所在那行往上搬移。 Ctrl +  Shift  + ↓將你游標所在那行往下搬移。 Ctrl + L選取游標所在的單行,當你連續按時,他會往下繼續選取。 Ctrl + D選取游標所在的單字,當你連續按時,他會選取在同個檔案裡面的相同字。 Ctrl + M跑到離自己最近的父母去。(例如大/小括號{},()) Ctrl + Shift + M選取同父母的其他行。(例如大/小括號{},()) Ctrl

Read more