git 在Fedora上的安裝

由於最近在porting i2c的driver需要在linux kernel上去debug. 突然覺得把code用svn來記錄有點厭煩, 聽過linus在google上的言講後, 一直很想要換成git.
今天就來安裝一下, 在command line下安裝:
1. yum git
2. 在我的code的目錄下
git add .
git commit -a -m 'Git for code version control, help it can work'

在linux底下check其版本

如果是要確認Linux kernel的版本
In a terminal type "uname -a"
[root@localhost kernel]# uname -a
Linux localhost.localdomain 2.6.23.1-42.fc8 #1 SMP Tue Oct 30 13:55:12 EDT 2007 i686 i686 i386 GNU/Linux

如果是要確認fedora的版本
[root@localhost kernel]# cat /etc/issue
Fedora release 8 (Werewolf)
Kernel \r on an \m

在linux底下尋找source insight軟體

由於厭倦老是要在linux與windows之前切換. 當然是因為source insight實在太方便了, 對於看code目前還找不到取代的工具.
經過一番搜尋, 在網路上有KScope這個工具.
===官網如此描述=========
KScope is a QT4 front-end to Cscope. It provides a source-editing
environment for large C projects, such as the Linux kernel.

KScope is by no means intended to be a replacement to any of the leading
Linux/KDE IDEs, such as KDevelop. First of all, it is not an Integrated
Development Environment: it does not provide the usual write/compile/debug
cycle supported by most IDE's. Instead, KScope is focused on source
editing and analysis.
===官網如此描述=========
因此嘗試在Fedora 8底下去安裝. 一開始還找不到這個package
[root@localhost kernel]# yum install kscope
fedora 100% |=========================| 2.1 kB 00:00
updates 100% |=========================| 2.6 kB 00:00
Setting up Install Process
Parsing package install arguments
No package kscope available.
Nothing to do

在update一下yum的package list

[root@localhost kernel]# yum check-update

fedora-release.noarch 8-6.transition updates
[root@localhost kernel]# yum update
Setting up Update Process
Resolving Dependencies
--> Running transaction check
---> Package fedora-release.noarch 0:8-6.transition set to be updated
--> Finished Dependency Resolution

Dependencies Resolved

=============================================================================
Package Arch Version Repository Size
=============================================================================
Updating:
fedora-release noarch 8-6.transition updates 31 k

Transaction Summary
=============================================================================
Install 0 Package(s)
Update 1 Package(s)
Remove 0 Package(s)

Total download size: 31 k
Is this ok [y/N]: y
Downloading Packages:
(1/1): fedora-release-8-6 100% |=========================| 31 kB 00:01
Running rpm_check_debug
Running Transaction Test
Finished Transaction Test
Transaction Test Succeeded
Running Transaction
Updating : fedora-release ######################### [1/2]
Cleanup : fedora-release ######################### [2/2]

Updated: fedora-release.noarch 0:8-6.transition
Complete!

update完最新的yum, 就可以正常的安裝kscope.


[root@localhost kernel]# yum install kscope

微軟發表WP7 mapping tool

最近聽到周圍的人開始玩WP7, 我想對於MS, 做這件事情應該是早晚的事情.
畢竟CE實在是有很大的成長空間呀!!雖然技術很好但是就是粉難用.
對於不同的OS架構, 我想對APP的腳色都差不多, 只是說著不同的語言.
如果在Android上面寫的APP, 或者iphone寫的APP, 透過這個工具可以幫你省下不少時間!
=====reference a news=============================
WP7 API轉換器加入Android支援  
記者:Antony
日期:2011-06-11

前陣子Microsoft為了鼓勵iOS軟件的開發者,把作品移植到Windows Phone 7平台上,為開發者們推出了轉換工具,能夠自動把iOS軟件的API變成Windows Phone 7的API。

最近,這個工具再次得到強化,除了iOS之外,連Android軟件都可以轉換。雖然移植軟件絕對不是只按一個制就完成的東西,背後還有很多工序例如重新設計介面等等,不過有了這個工具之後,對於對.NET不太熟悉的開發者來說,總是一個頗大的幫助。

=====reference a news=============================