ICONLook
May 27, 2008
ICONlook: icon search engine
|
[How to] Merge branches in eclipse
May 27, 2008
1- Select Team – Merge
d
<!–[if gte vml 1]><v:shapetype
id=”_x0000_t75″ coordsize=”21600,21600″ o:spt=”75″ o:preferrelative=”t”
path=”m@4@5l@4@11@9@11@9@5xe” filled=”f” stroked=”f”>
<v:shape id=”_x0000_i1025″ type=”#_x0000_t75″ style=’width:414.75pt;
height:250.5pt’>
<v:imagedata src=”file:///C:\DOCUME~1\AHMEDA~1\LOCALS~1\Temp\msohtmlclip11\clip_image001.png”
o:title=”"/>
<![endif]–>
2- The merge wizard open as shown:
<!–[if gte vml 1]><v:shape id=”_x0000_i1026″
type=”#_x0000_t75″ style=’width:342.75pt;height:333pt’>
<v:imagedata src=”file:///C:\DOCUME~1\AHMEDA~1\LOCALS~1\Temp\msohtmlclip11\clip_image003.png”
o:title=”"/>
<![endif]–>
3- In the first field (Branch or
version to be merged (end tag)), select browse and select the latest tag for
the main trunk (in this case, dot16e_main_trunk_build_0001), then press OK.
<!–[if gte vml 1]><v:shape id=”_x0000_i1027″
type=”#_x0000_t75″ style=’width:337.5pt;height:243.75pt’>
<v:imagedata src=”file:///C:\DOCUME~1\AHMEDA~1\LOCALS~1\Temp\msohtmlclip11\clip_image005.png”
o:title=”"/>
<![endif]–>
4- For the second field, select
browse and choose the tag you have just made (the latest tag for your branch).
<!–[if gte vml 1]><v:shape id=”_x0000_i1028″
type=”#_x0000_t75″ style=’width:337.5pt;height:243.75pt’>
<v:imagedata src=”file:///C:\DOCUME~1\AHMEDA~1\LOCALS~1\Temp\msohtmlclip11\clip_image007.png”
o:title=”"/>
<![endif]–>
5- Now, you have selected the
start and end tags for the merge process
<!–[if gte vml 1]><v:shape id=”_x0000_i1029″
type=”#_x0000_t75″ style=’width:342.75pt;height:333pt’>
<v:imagedata src=”file:///C:\DOCUME~1\AHMEDA~1\LOCALS~1\Temp\msohtmlclip11\clip_image009.png”
o:title=”"/>
<![endif]–>
You now have two options as shown
in the above dialog
<!–[if gte vml 1]><v:shape id=”_x0000_i1030″
type=”#_x0000_t75″ style=’width:319.5pt;height:36pt’>
<v:imagedata src=”file:///C:\DOCUME~1\AHMEDA~1\LOCALS~1\Temp\msohtmlclip11\clip_image011.png”
o:title=”"/>
<![endif]–>![]()
The first option lets you approve
changes that will be made to your branch while the second option performs merge
automatically and then you fix conflicts manually.
The First option is
recommended while merging to save the updates made to your local branch.
[How To] Remove Unread Mail Count in Windows XP
May 17, 2008
If you’re using Windows XP, you might have noticed that annoying “X Unread Mail Messages”
message that shows up below the user name on the logon screen. It’s
actually a pretty useless number considering it never seems to be
right, at least for me.
By default, the Unread Mail Count is derived by looking at all
accounts that have been checked within the last three days, including
Outlook, Outlook Express, Hotmail, and the MSN browser client. The
problem is that it includes all the accounts of other people who have
checked their email under the same user name.
Image Source: Poremsky
There are two ways to get rid of the unread mail messages line under the user name in XP: edit the registry or download the Microsoft Tweak UI Power Toy and change the setting there. I’ll go ahead and describe both methods since they are pretty easy.
Remove XP Unread Mail Count – Registry
Before you modify the registry, always be sure to make a backup! If
you don’t know how to make a backup of the registry, then don’t use
this method! First open the registry editor by clicking on Start, choosing Run and then typing in REGEDIT.
Now navigate to the following registry key:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\UnreadMail
Note that you will not see this key if you are in a
domain environment, so it won’t be there on office or corporate
computers most likely.
Once there create a new DWORD Value (right-click on the UnreadMail key in left-hand pane, New > DWORD Value) and call it MessageExpiryDays.
Double click on the MessageExpiryDays value you just created and set the value to 0 though it should be the default value already.
That’s it! You’ve now disabled the unread mail message
count in Windows XP! Now you’ll just see the usernames without all
those useless unread email counts.
Turn off login screen Unread Mail Count using Tweak UI
Ahhh so let’s just do it the easy way! Download the Tweak UI Power Toy and install it. Now open it up and go to Logon at the bottom. Under that you’ll see the option Unread Mail.
Go ahead and uncheck the “Show unread mail on Welcome screen”
option to disable the Unread Mail count. That’s it! A lot easier
right!? The next time you log on, the screen will not display your
unread message count like shown above. Enjoy!
Source: Poremsky
After installing Microsoft Core fonts on ubuntu, firefox crashed when loading pages. When trying to load firefox from the shell, the following message is received
(gecko:6422): Pango-WARNING **: failed to create cairo scaled font, expect ugly output. the offending font is ‘Arial 12′
Segmentation fault (core dumped)
Solution:
This problem is caused by permissions of the newly installed fonts, so just resetting permissions using the following command:
sudo chmod -Rv 775 /usr/share/fonts/
[How To] Install Microsoft Fonts on Ubuntu?
May 16, 2008
Installing Core Microsoft fonts:
sudo apt-get install msttcorefonts
To make them work in X-windows, you may also want to install x-ttcidfont-conf if it’s not already installed:
sudo apt-get install x-ttcidfont-conf
Another way to install fonts based on existing fonts folders inside Windows:
Gain root privileges:
sudo bash
Make a directory to store the fonts:
mkdir /usr/share/fonts/truetype/msfonts
Find the fonts on your windows partition, for me this was /media/sda1/Windows/Fonts
copy the fonts over:
cp /media/sda1/Windows/Fonts/*.ttf /usr/share/fonts/truetype/msfonts
Re-create the font cache:
fc-cache -f -v
MP3 Tag editors for Ubuntu
May 16, 2008

sudo apt-get install gnome-vfs-obexftp
In a Rails application, incoming requests are processed as follows:
- Incoming request is sent to a router.
- The request is divided into parts by the router (parsed) to identify a particular method (action) somewhere in the controller code.
- The router takes the first part as a controller name
- The router takes the second part as a method name (action).
- The action might look at data in the request itself or interact with the model or may invoke another action. Eventually, the action prepares information for the view.
- the view renders something to the user.
In 1979, Trygve Reenskuage created a new architecture for developing interactive applications. In this architecture, applications are broken into three types of components:
- Models.
- Views.
- Controllers
The Model
The model is respoinsible for maintaining the state of the application. However, it’s not just some data, it also contains the rules which enforce all the business rules that apply on that data.
Example
If a discount shouldn’t be applied on orders of less than $20, the model should contain and apply that constraint.
So, including all rules in the model ensure that nothing else in the application can make the data invalid. i.e. the model is acting as a gatekeeper and a data store.
The View
The view is responsible for generating the user interface based on data in the model.
Example
The online store has a list of products to be displayed on a catalog screen. This list will be accessible via the model. However, the view will access the data, format it to be displayed to the user.
It should be noted that the view doesn’t manipulate the incoming data, the view only works on displaying the data.
There may be many views that access the same model data for different purposes.
Example
In the online store, there will be a view that displayes product information on a catalog page and another views to add and edit products. Both views access the same data.
The Controller
The controller controls the overall application. Controllers receive events from the outside world, interact with the model and display the view to the user.
Torrent2Exe – Convert Torrent files into EXE
May 14, 2008

Windows
only: Want to direct your non-Torrent-savvy friends or relatives to a
download they really need to check out? Free web utility Torrent2Exe
takes torrent download links—the kind you’d normally pass to your
favorite BitTorrent client—and creates tiny .exe programs that do all
the download work for whoever double-clicks them. You can also grab a
link to post on your own site (or Twitter stream) that lets others
download the same self-running Torrent grabber. Great for distributing
your own files to a select group of downloaders, or helping
Linux-curious friends grab the right disk images. Torrent2Exe’s
downloaders are for Windows systems only.