TinyOS is an open source, BSD-licensed operating system designed for low-power wireless devices, such as those used in sensor networks, ubiquitious computing, personal area networks, smart buildings, and smart meters.
Now I’m going to share how to deploy TinyOS 2.1.1 @ Ubuntu 10.10 using repository.
Ubuntu Packages
Before installing, you should add TinyOS repository on repository source file. Run this script
$ sudo gedit /etc/apt/sources.list
Then you’re going to get a dialog as below
Put this two lines of script
#tinyOS
deb http://tinyos.stanford.edu/tinyos/dists/ubuntu edgy main
deb http://tinyos.stanford.edu/tinyos/dists/ubuntu feisty main
Save and close gedit application
TinyOS Installation
Now we’re going to install TinyOS on Ubuntu. Firstly, we update repository
$ sudo apt-get update
Run the following to install TinyOS 2.1.1
$ sudo apt-get install tinyos-2.1.1
Another option, you can check the latest of TinyOS using this script
$ sudo apt-get install tinyos
Then you’ll get the list of TinyOS version as below
After installation, we should update profile
$ gedit ~/.bashrc
Write this script in ~/.bashrc on the bottom of line script file
note: replace yourname by your login account name, such as use jack:jack if your see jack@ubuntu
What’s Next?
Now, you can write a program for TinyOS using nesC. Next section, I’ll write how to configure development environment and to get started nesC programming.
Please read my article how to deploy Telos-based mote [V]
One of the more controversial changes in the Ubuntu 10.04 beta is the Mac OS-inspired change to have window buttons on the left side. We’ll show you how to move the buttons back to the right.
Before
While the change may or may not persist through to the April 29 release of Ubuntu 10.04, in the beta version the maximize, minimize, and close buttons appear in the top left of a window.
How to move the window buttons
The window button locations are dictated by a configuration file. We’ll use the graphical program gconf-editor to change this configuration file.
Press Alt+F2 to bring up the Run Application dialog box, enter “gconf-editor” in the text field, and click on Run.
The Configuration Editor should pop up.
The key that we want to edit is in apps/metacity/general.
Click on the + button next to the “apps” folder, then beside “metacity” in the list of folders expanded for apps, and then click on the “general” folder.
The button layout can be changed by changing the “button_layout” key. Double-click button_layout to edit it.
Change the text in the Value text field to:
menu:minimize,maximize,close
Click OK and the change will occur immediately, changing the location of the window buttons in the Configuration Editor.
Note that this ordering of the window buttons is slightly different than the typical order; in previous versions of Ubuntu and in Windows, the minimize button is to the left of the maximize button.
You can change the button_layout string to reflect that ordering, but using the default Ubuntu 10.04 theme, it looks a bit strange.
If you plan to change the theme, or even just the graphics used for the window buttons, then this ordering may be more natural to you.
After
After this change, all of your windows will have the maximize, minimize, and close buttons on the right.
Ubuntu 10.4 is live. I’ve been using Ubuntu for around 4 to 5 years, and I am a pretty happy user.
From my point of view, the big problem I found on this release (which I just installed 5 minutes ago) is that they changed the window buttons from the right to the left side of the window. I think 95% of the users are used to the buttons on the right side, and I don’t see the point on moving them to the left.
Anyway, I don’t like it, so I searched around, and I’ve found a quick and easy solution.
Press Alt+F2, then type gconf-editor and press enter. That’s for opening the configuration editor.
Once on this editor, in the item tree at the left, you have to look for this path app -> metacity -> general and you doubleclick on the field named button_layout.
Then, you have only to change the value field and put this:
menu:minimize,maximize,close
You save the changes, and voila!! all the windows reconfigured again!
Now all the windows show the minimize, maximize and close buttons on the right again
2. Choose your school from a list and log in with your student information to verify that you're a student.
3. Download the software of your choice.
http://www.dreamspark.com/
Selected items: • Microsoft SQL Server 2008 Developer Edition • Microsoft Visual Studio 2005 Professional Edition • Microsoft Visual Studio 2008 Professional Edition • Microsoft Expression Studio 1.0 • Microsoft Expression Studio 2 • Microsoft Windows Server 2003 R2 Standard Edition • Microsoft Windows Server 2008 Standard Edition
华纳兄弟出品的《蝙蝠侠前传2:黑暗骑士》(The Dark Knight)是今年票房榜上最耀眼的影片,该片上映以来刷新了一连串票房历史纪录,上映第一个周末豪取一亿五千八百万美元,到年终总计在北美市场卷走五 亿三千一百万美元惊人票房,全球总票房更是逼近十亿美元大关!当之无愧地成为年度票房霸主。华纳兄弟影业因此成为今年好莱坞最大赢家,全年北美票房总收入 高达十七亿美元。
派拉蒙影业以十六亿美元年度总票房紧随其后,派拉蒙出品的《钢铁侠》(Iron Man)和《夺宝奇兵IV》(Indiana Jones and the Kingdom of the Crystal Skull)分别位居年度票房榜的亚军和季军,两部大片的北美总票房均超过三亿美元大关,《夺宝奇兵》的全球总票房高达七点八亿美元。同时,派拉蒙旗下的 “梦工场”今年推出的两部动画片《功夫熊猫》(Kung Fu Panda)和《马达加斯加2:逃往非洲》(Madagascar: Escape 2 Africa)名列年度排行榜第六、七位。
索尼影业以十三亿美元北美总票房位居第三,索尼出品的动作片《全民超人》(Hancock)以二点二八亿美元位居年度总票房榜第四位。这部由好莱坞头 号卖座影星威尔·史密斯主演的影片在全球取得六点二亿美元票房。索尼影业出品的00七系列最新影片《量子危机》(Quantum of Solace)跻身年度票房榜前十名,该片全球总票房已突破五亿大关。