Saturday, 25 January 2014

Matrix effect using Notepad

                                             How To Create Matrix File ?

Open Notepad and copy below code.

@echo off

color 04

:start


echo %random% %random% %random% 

%random% %random% %random% %random%

 %random% %random%

%random%


goto start



*  Save this file as Matrix.bat

  ( .bat extension is necessary)


*  Now open this file as see matrix effect on your screen.


   

Friday, 24 January 2014

HOW TO MAKE SYMBOLS WITH KEYBOARD

Alt + 0153..... ™... trademark symbol

Alt + 0169.... ©.... copyright symbol

Alt + 0174..... ®....registered trademark symbol

Alt + 0176 ...°......degre­e symbol

Alt + 0177 ...±....plus-or­-minus sign

Alt + 0182 ...¶.....paragraph mark

Alt + 0190 ...¾....fractio­n, three-fourths

Alt + 0215 ....×.....multi­plication sign

Alt + 0162...¢....the cent sign

Alt + 0161.....¡..... .upside down exclamation point

Alt + 0191.....¿..... ­upside down question mark

Alt + 1...........smiley face

Alt + 2 ......
.....bla­ck smiley face

Alt + 15.....
.....su­n

Alt + 12......
.....f emale sign

Alt + 11.....
......m­ale sign

Alt + 6.......
.....s­pade

Alt + 5.......
...... ­Club

Alt + 3............. ­Heart

Alt + 4.......
...... ­Diamond

Alt + 13......
.....e­ighth note

Alt + 14......
...... ­beamed eighth note

Alt + 8721.... ∑.... N-ary summation (auto sum)

Alt + 251.....√.....s­quare root check mark

Alt + 8236.....∞..... ­infinity

Alt + 24.......
..... ­up arrow

Alt + 25......
...... ­down arrow

Alt + 26.....
.....ri­ght arrow

Alt + 27......
.....l­eft arrow

Alt + 18.....
......u­p/down arrow

Alt + 29......
... left right arrow

Enjoy

How To Access The BIOS On A Windows 8 Computer

   Note:-
 That this new method only applies if you purchased a new computer with Windows 8 preinstalled – these will use UEFI. However, if you’ve installed Windows 8 on an existing computer that uses the legacy BIOS system, you’ll access the BIOS in the same way as always by pressing the key that appears during your boot process.
This key is often F2 or Delete, but it can also be other keys. The exact key depends on your computer – if you don’t see the appropriate key displayed on your screen during the boot-up process, consult your computer’s manual.

Accessing Boot Options:-

There are several ways to access Windows 8’s boot options menu. The easiest one to find is in the PC Settings application – press WinKey+C to reveal the Charms bar, click Settings, and select Change PC settings to access it.




In the PC Settings application, select the General category and click the Restart now button under Advanced startup. Your computer will restart and you’ll enter the Windows 8s boot options menu, where you can access the UEFI BIOS and change other settings.



You can also hold Shift while clicking Restart in the Shut Down menu to restart your computer into the boot options menu. This is a quick way to restart into the boot options menu, as you can access the Shut Down button from the Charms anywhere on your system.



Command-line geeks will be happy to know they can run a special shutdown.exe command in a Command Prompt window to restart their computer directly into the boot options menu:


                           Shutdown.exe /r /o





    

Accessing UEFI BIOS:-

The boot options menu has been designed to integrate some commonly used options that people went into the BIOS for. For example, if you want to boot your computer off a USB drive, DVD or CD, or another device, you can click the Use a device tile in the boot options menu and select the device you want to boot from.
If you’re just here to access your computer’s UEFI BIOS, click the Troubleshoot tile.


 This will reveal an Advanced Options screen with a variety of tools – the UEFI Firmware Settings tile will take you to your computer’s BIOS. (On UEFI, which stands for “Unified Extensible Firmware Interface”, the firmware settings menu is equivalent to a traditional PC’s BIOS.)

If you don’t see the UEFI Firmware Settings tile here, your computer doesn’t use UEFI. You’ll need to access the BIOS in the traditional way, by pressing a specific key during the boot-up process. See the first section above for more information.
If there’s an error booting Windows, you won’t be locked out of the BIOS — the boot options screen will appear when you start your computer. From here, you can repair Windows or enter your BIOS.


Tuesday, 21 January 2014

TELNET Magic

Watch ASCII Star Wars in Windows XP, Vista, 7 and 8

=-=-=-=-=-=-=-=-=-==-=-=-=-=-=-=-=-=-=-=-=-=-

To watch it on Windows XP, Mac OS X and Linux

Go to Start, Run. (Only for Windows users)


Now type "telnet towel.blinkenlights.nl" without the quotes and press Enter. Users of Mac OS X and Linux can


directly execute this code in the terminal window.

On Windows 8, Windows 7 and Windows Vista

Telnet is turned off by default in the latest versions of Windows. So, in order to watch


 starwars, you must first 

enable telnet by going to Control Panel › Programs › Turn Windows Feature On or Off and

 ticking both the telnet 

check boxes. After doing that, follow the steps given below:-



Go to Start, Search in Windows Vista and Windows 7. On Windows 8, open the main Start 


page.


Type telnet and press Enter.



In the following command prompt window, type "o" without quotes and press Enter.



Now type "towel.blinkenlights.nl" without the quotes and press Enter.

Sit back and watch the magic .






Tuesday, 14 January 2014

Program of two dimension ARRAY in c

    /* program to Add Matrix*/
#include<stdio.h>
main()
{
int x[3][4],y[3][4],z[3][4],c,d;
for(c=0;c<3;++c)
{
for(d=0; d<4; ++d)
{
printf("enter the element in matrix x");
scanf("%d",&x[c][d]);
}
}
for(c=0; c<3; ++c)
{
for(d=0;d<4;++d)
{
printf("enter the element in matrix y");
scanf("%d",&y[c][d]);
}
}
for(c=0; c<3; ++c)
{
for(d=0; d<4; ++d)
{
z[c][d]=x[c][d]+y[c][d];
}
}
printf("entment of z is :-\n");
for(c=0; c<3; ++c);
{
for(d=0; d<3; ++d)
{
printf("%d\t",z[c][d]);
}
printf("\n");
}



    /* program to multiply two matrix */
#include<stdio.h>
main()
{
int x[3][3],y[3][3],r[3][3]={0},i,j,k;
for(i=0; i<3; ++i)
{
for(j=0; j<3; ++j)
{
printf("enter the element in matrix x");
scanf("%d",&x[i][j]);
}
}
for(i=0; i<3; ++i)
{
for(j=0; j<3; ++j)
{
printf("enter the element in matrix y");
scanf("%d",&y[i][j]);
}
}
for(i=0; i<3; ++i)
{
for(j=0; j<3; ++j)
{
for(k=0; k<3; ++k)
{
   r[i][j]=r][i][j]+x[i][k]*y[k][j];
}
}
}
printf("product are :-\n");
for(i=0;i<3; ++i)
{
for(j=0; j<3; ++j)
{
printf("%d \t",r[i][j]);
}
printf("\n");
}
}




    /* program of transpose matrix */
#include<stdio.h>
main()
{
int x[3][3], r[3][3], i,j;
for(i=0; i<3; ++i)
{
for(j=0; j<3; ++j)
{
printf("enter the element of matrix x");
scanf("%d",&x[i][j]);
}
}
for(i=0; i<3; ++i)
{
for(j=0  j<3; ++j)
{
r[i][j]=x[j][i];
}
}
printf("tranpose is:-\n");
for(i=0; i<3; ++i)
{
for(j=0; j<3; ++j)
{
printf("%d \t ", r[i][j]);
}
printf("\n");
}
}

Monday, 13 January 2014

Program of single dimension ARRAY in c.

     /* program to print the sum of element store in array*/
#include<stdio.h>
void main()
{
int x[5],i,s=0;
for(i=0; i<5; ++i)
{
printf("enter the five number");
scanf("%d",x[i]);
s=s+x[i];
}
printf("sum =%d",s);
}



     /* program to print the greater number among the array*/
#include<stdio.h>
main()
{
int n[10],i,g=0;
for(i=0;i<10;++i)
{
printf("enter the ten number in th array");
scanf("%d",&n[i]);
if(g<n[i])
g=n[i];
}
printf("greater number is =%d",g);
}

Sunday, 12 January 2014

Program of Function in c.

      /* program to create a function area() to print the area of rectangle*/
#include<stdio.h>
void main()
{
int l,b,a;
int area(int l, int b);
printf("enter the length & breadth");
scanf("%d%d",&l,&b);
a=area(l,b);
printf("area=%d",a);
}
int area(int x, int y)
{
int r;
r=x*y;
return(r);
}

      /* program to create a function area() to print the area of circle*/
#include<stdio.h>
void main()
{
int r;
float a;
float area(int r);
printf("enter the radius of circle");
scanf("%d",&r);
a=area(r);
printf("area=%f",a);
}
float area(int r1)
{
int s;
s=3.14*r1*r1;
return(s);
}

Tuesday, 7 January 2014

Firewall

firewall is a software or hardware-based network security system that controls the incoming and outgoing network traffic by analyzing the data packets and determining whether they should be allowed through or not.
        
             Many personal computer operating systems include software-based firewalls to protect against threats from the public Internet.



Simple Mail Transfer Protocol (SMTP)

Simple Mail Transfer Protocol (SMTP) is an Internet standard forelectronic mail (e-mail) transmission across Internet Protocol (IP) networks. 
                                                      SMTP was first defined by RFC 821 (1982, eventually declared STD10) and last updated by RFC 5321 (2008) which includes theExtended SMTP (ESMTP) additions, and is the protocol in widespread use today. It is an Application Layer protocol in the OSI reference model.
                       While electronic mail servers and other mail transfer agents use SMTP to send and receive mail messages, user-level client mail applications typically use SMTP only for sending messages to a mail server for relaying.

Nested loop in c

*  /*program to print this
1
12
123
1234
12345
*/

#include<stdio.h>
main()
{
int i,j;
for(i=1; i<=5; ++i)
{
for(j=1; j<=i; ++j)
{
printf("%d",j);
}
printf("\n");
}
}


/* program to print this
1
22
333
4444
55555
*/

#include<stdio.h>
main()
{
int i,j;
for(i=1; i<=5; ++i)
{
for(j=1; j<=i; ++j)
{
printf("%d",i);
}
printf("\n");
}
}


*    /* Program to print this

    1
   121
  12321
 1234321
123454321
*/

#include<stdio.h>
main()
{
int i,sp=4,j;
for(i=1; i<=5; ++i)
{
for(j=1; j<=sp; ++j)
{
printf(" ");
}
for(j=1; j<=i; ++j)
{
printf("%d",j);
}
for(j=j-2; j>=1; --j)
{
printf("%d",j)
}
printf("\n");
--sp;
}
}

"for" loop in c

/* To print the fibonacci series*/
#include<stdio.h>
void main()
{
int x=1,y=0,z,t,i;
printf("enter number of terms");
scanf("%d",&t);
for(i=1; i<=t; ++i)
{
z=x+y;
x=y;
y=z;
}
}

/* program to check the given number is dracula or not*/
#include<stdio.h>
void main()
{
int num,r,r1,s=0;
printf("enter the number");
scanf("%d",&num);
r=num%10;
num=num/10;
for( ; num>0; num=num/10)
{
r1=num%10;
s=s+r1;
}
if(r==s)
printf("number is dracula");
else
printf("number is not dracula");
}