http://u.bb/FSB
http://u.bb/FSB
2. change its extension from .thm to .zip
3. extract the files inside this zip and save in a different folder.
4. also make a backup folder and put a copy there too.
5. now open the xml document.
6. i would recommend to change nothing in this xml coding except to look for the names of images used for background wallpaper and icons,close it without changing.
7. now replace ur files i.e wallpaper and icons if u wish to change, with the original ones u have just extracted. DONT REPLACE THIS XML DOCUMENT,LEAVE IT AS IT IS.
8. note that ur file names and their length and width should be same as that were going to be replaced. Also their format should also match whether it is jpg or bitmap, otherwise your theme will not work.
9. now select all files alongwith xml document and put them in archive with winrar.
IMPORTANT STEP
10. type archive name, select zip format option and then write .thm with ur theme name
i.e newtheme.thm as shown below
11. now press ok to zip,it will appear as a .thm file
12. Upload to ur mobile and simply install
13. go to the themes section in ur phone and apply it,and enjoy.
Link for samsung themes:
http://artizle.blogspot.com/2008/09/download-samsung-themes.html
12. Use a planner or a digital planner to keep notes of the themes you have created, and put the pending ones in the to-do list.




#include<conio.h>
#include<iostream.h>
#include<stdio.h>
class microsimulator
{
private:
int ir;float acc;
int mem[2][32];
public:
int pc;
//Constructor
microsimulator()
{
pc=1;
ir=0;
acc=15;
mem[2][32]=0;
}
//Method for user interface
void user()
{ int i;
cout<<"***--------NOTE-----------***"<<endl;
cout<<">>Memory is 32-bit, first 16-bit for addresses and their instructions"<<endl;
cout<<" remaining 16-bit for addresses and their data"<<endl<<endl;
cout<<">>Instructions should be of 3-digit that consist of an opcode and address"<<endl<<endl;
cout<<">>Opcode with their operations"<<endl;
cout<<"1.Add"<<endl;
cout<<"2.Subtract"<<endl;
cout<<"3.Multiply"<<endl;
cout<<"4.Divide"<<endl;
cout<<"5.Move"<<endl;
cout<<"6.Move X"<<endl<<endl;
for(i=0;i<16;i++)
{
cout<<"Enter address"<<endl;
cin>>mem[0][i];
cout<<"enter its 3-digit instruction"<<endl;
cin>>mem[1][i];
}
for(int j=16;j<32;j++)
{
cout<<"enter address"<<endl;
cin>>mem[0][j];
cout<<"enter its corresponding data"<<endl;
cin>>mem[1][j];
}
}
//Method for search
void find1()
{
for(int h=0;h<16;h++)
{
if(pc==mem[0][h])
{
ir=mem[1][h];
}
}
}
//Method for decoding
int dec1()
{ int b=ir/100;
return b;
}
//Method for decoding
int dec2()
{
int c=ir%100;
return c;
}
//Method for search
int find2(int c)
{ int d;
for(int h=16;h<32;h++)
{
if(c==mem[0][h])
{
d=mem[1][h];
}
}
return d;
}
//Method for arithmetic operations of ALU
void alu(int op,int d)
{
if(op==1)
{ acc=acc+d;
pc++;
}
else if(op==2)
{ acc=acc-d;
pc++;
}
else if(op==3)
{ acc=acc*d;
pc++;
}
else if(op==4)
{ acc=acc/d;
pc++;
}
else if(op==5)
{ d=acc;
pc++;
}
else if(op==6)
{ acc=d;
}
else
cout<<"Invalid opcode"<<endl;
}
//Method for display
void display()
{
cout<<"pc= "<<pc<<endl;
cout<<"ir= "<<ir<<endl;
cout<<"acc= "<<acc<<endl;
for(int j=0;j<32;j++)
{
cout<<"MEMORY location" <<j<<endl;
cout<<"-------"<<endl;
cout<<"ADDRESS "<<mem[0][j]<<endl;
cout<<"DATA "<<mem[1][j]<<endl;
cout<<"-------"<<endl;
}
}
}; //end of class
void main()
{ clrscr();
microsimulator s;
int a,b,d,pc;
s.user();
pc=s.pc;
for(pc=1;pc<17;pc++)
{
s.find1();
a=s.dec1();
b=s.dec2();
d=s.find2(b);
s.alu(a,d);
}
s.display();
getche();
}
#include<conio.h>
#include<iostream.h>
#include<stdio.h>
class micro
{
private:
int ir;float acc;
int mem[2][6];
public:
int pc;
micro()
{
pc=1;
ir=0;
acc=15;
mem[2][6]=0;
}
void fillmem()
{ int i;
for(i=0;i<3;i++)
{
cout<<"enter address"<<endl;
cin>>mem[0][i];
cout<<"enter its 3-digit instruction"<<endl;
cin>>mem[1][i];
}
for(int j=3;j<6;j++)
{
cout<<"enter address"<<endl;
cin>>mem[0][j];
cout<<"enter its corresponding data"<<endl;
cin>>mem[1][j];
}
}
void search1()
{
for(int h=0;h<3;h++)
{
if(pc==mem[0][h])
{
ir=mem[1][h];
}
}
}
int decoder1()
{ int b=ir/100;
return b;
}
int decoder2()
{
int c=ir%100;
return c;
}
int search2(int c)
{ int d;
for(int h=3;h<6;h++)
{
if(c==mem[0][h])
{
d=mem[1][h];
}
}
return d;
}
void alu(int op,int m)
{
if(op==1)
{ acc=acc+m;
pc++;
}
else if(op==2)
{ acc=acc-m;
pc++;
}
else if(op==3)
{ acc=acc*m;
pc++;
}
else if(op==4)
{ acc=acc/m;
pc++;
}
else if(op==5)
{ m=acc;
pc++;
}
else if(op==6)
{ acc=m;
}
else
cout<<"Invalid opcode"<<endl;
}
void display()
{
cout<<"pc= "<<pc<<endl;
cout<<"ir= "<<ir<<endl;
cout<<"acc= "<<acc<<endl;
for(int j=0;j<6;j++)
{
cout<<"MEMORY location" <<j<<endl;
cout<<"-------"<<endl;
cout<<"ADDRESS "<<mem[0][j]<<endl;
cout<<"DATA "<<mem[1][j]<<endl;
cout<<"-------"<<endl;
}
}
};
void main()
{ clrscr();
micro z;
int d1,d2,data,pc;
z.fillmem();
pc=z.pc;
for(pc=1;pc<4;pc++)
{
z.search1();
d1=z.decoder1();
d2=z.decoder2();
data=z.search2(d2);
z.alu(d1,data);
}
z.display();
getche();
}
Recently I decided to write about the things which are difficult to find. I have been searching for expandable post summaries in blogger help since more than 2 weeks, atlast i found it and decided to share this help topic on my blog for other bloggers who are new to blogging and still can`t find that tip because its difficult to find in blogger help. So here it is
AN IMPORTANT NOTE, PLEASE READ CAREFULLY:
Before using these HTML codes in your layout or template, you should remove spaces between the tags, as i was unable to publish them without spaces. i.e,
<> please remove space between "<" , "span" and ">".u have to do this in all the coding where there is a space otherwise the code will not work.so good luck.
-Add tags to your posts to mark which parts you want hidden in the summary version.
-Add CSS declarations to your template to hide those sections on the index and archive pages, but not on post pages.
With this trick, you can choose to display an arbitrary amount of text from the beginning of each post, as a teaser for the whole thing. Then users who want to read the rest of the post can click a link to see the full text. This is handy if you have lots of long articles all on one page. Note that you'll need to have post pages enabled in order to make this feature work.
There are three ingredients that go into this feature: conditional CSS, a "read more" link for each post, and a modification for the posts that use this feature. So let's go through it step by step.
Conditional CSS
We're going to use conditional tags to change how posts display on different pages. Add the following code to your style sheet, depending on what kind of template you have:
(for classic templates)
<>
span.fullpost {display:none;}
< /MainOrArchivePage >
<>
span.fullpost {display:inline;}
< /ItemPage >
(for layouts)
span.fullpost {display:inline;}
<>
span.fullpost {display:none;}
< / b:if >
Your style sheet is usually near the top of your template, between the
tags. If you have your style sheet in a separate file, you'll still need to add these lines in your template, so the conditional tags will work. Just make sure you add in the <> tags around them.
What we did here was to define a class called "fullpost" that will appear only on post pages (permalinks). Part of each post will use this class, as we'll see later.
"Read More" Links
Add the following code to your template, somewhere after the <$BlogItemBody$> or tag:
(for classic templates)
< href="">"Read more!< /a >
< /MainOrArchivePage >
(for layouts)
< href="'data:post.url'">Read more!< /a >
< /b:if >
This link will only appear on the main page and archive pages, and it will redirect your reader to the post page containing the full text of your post. You can replace the "Read more!" text with whatever you like, of course.
Post Modifications
The final piece that we need is a little bit of code in your actual post. Each post that you want to use this feature on will need this code:
< class="fullpost">< /span >
This part can actually go in the post template, if you don't want to have to type it for each post. You'll enter the summary text outside the span tags and the remainder inside, like so:
Here is the beginning of my post. < class="fullpost">And here is the rest of it.< /span >
Now, when a reader visits your blog, this post will appear like this:
Here is the beginning of my post.Read more!
When they click the link, they'll go to the post page where they'll see the whole thing:
Here is the beginning of my post. And here is the rest of it.
Notes:
As with any template modifications, you should be sure to save a backup copy of your template before you start. Just copy and paste all your code to a text file on your hard drive, so you'll have it there as a replacement in case anything goes wrong.
An alternative to creating post excerpts like this is to use the show/hide method on entire posts. Each method has its own advantages and disadvantages.
Advantages to this method: Customizable summaries, rather than titles only. Can be applied to some posts and not others (for instance, you might only want this for your longer posts).
Disadvantages:
Requires changes to the posts themselves, rather than to the template only. However, the "read more" link is in the template, so it will appear regardless of whether a post has been truncated or not. (Modifying this feature is left as an exercise for the reader.)