2007/04/13

GeeXboX + Freevo 的好消息

the Freevo/GeeXboX project has been accepted as a mentoring organization for Google Summer of Code 2007
目前在 GeeXboX 團隊的努力下(個人看法 Ben 的用心非常值得學習),不但已經與 Freevo 達成協議,而且目前已經取得更多人的加入,請參考上述網址。底下是 Ben 發出來的 email 提到的:

For the record, the accepted projects are:
- "LiveCD boot and HDD installation process" by Adir Abraham
- "Controlling Freevo through a simple web interface" by Ky Phan
- "DVB CAM support" by Alessandro Decina
- "Gstreamer Integration" by Killian Faughnan

2007/04/11

亂數產生器 random generator in bash

亂數有時就會用到,bash 有一個亂數產生器,引用方法很簡單: echo $RANDOM , 這會產生 0-32767 的亂數。若要產生別的區間的亂數也很容易,譬如要產生 10-20 的話,只需要 echo $(($RANDOM % 10 + 10)) , 可以自行推演其他範圍怎麼產生,這邊用到 $(( 表示法 )) 是可以當成計算機用的表示法。