Code In Tech - The Ultimate World of Computer Technology

Sunday 10 June 2012

Alt codes list


  • An ALT key can help you access atl codes, or character that are not available on a normal key board.
  • These codes can be use to write in foregin languages, mathematical expression or to add fun symbols to your message.
  • This is the alt code characters table from 0-255 decimal numbers.
  •  Check How To Use ALT Code Characters to learn the use of alt codes.
  •  Symbol     Number  
     ☺ 1
     ☻ 2
     ♥ 3
     ♦ 4
     ♣ 5

How To Use ALT Code Characters

  1. Make sure that you switch on the Number Lock on your key board.
  2. Hold down the Alt key (Left Alt key).
  3. Type the number of which alt code you want to get.

EXAMPLE 1 :
The decimal alt code of Heart is 3.
Press and Hold Alt key and type 3 then you will get 
EXAMPLE 2 :
 The decimal alt code of  one forth is 172
 Press and Hold Alt key and type 172 then you will get ¼

Friday 8 June 2012

How to make bootable pen-drive?


1. Plug your USB storage device and run CMD and execute the following commands one after another.
o Diskpart Run Disk partition utility
o List disk To get disk index that is used to perform disk partitioning.
o Select disk 1 Selects disk to perform disk partitioning.
o Clean Flush your existing all USB drive’s partitions.
o Create partition primary Creates a partition as primary partition.
o Format recommended Format your USB drive with recommended parameters. (No need to worry about file system format)
o Active Set the partition as active to hold bootmgr.
o Exit To quit Diskpart utility

Thursday 7 June 2012

Wow...The Windows Key is useful....

  •  Windows Key + ↓ : Minimizes/restores window
  • Windows Key + ← :  Docks window to left of screen
  • Windows Key + → : Docks window to right of screen
  • Windows Key + ↑ : Maximizes window 
 
  • Windows Key + - : Zooms out when magnifier is active

Windows 7 Shortcut : Windows Key + 'Tab'

Time for another Windows keyboard shortcut to save you time and effort. This one is for Windows Vista and Windows 7 users with the "Aero" desktop: it's the Windows key plus the "Tab" key.

That key combination will cycle through your open windows in "Aero Flip" style. That means it puts each of

Windows 7 Shortcut : Windows Key + 'L'


Windows 7 shortcut that's less well-known, but extremely valuable, especially in a setting where you need to secure your computer if you're away from it for a few minutes: "Windows" key + "L".
The Windows key is the one with the little flag on it, normally on the lower-left part of the keyboard. Using that key combination immediately locks your desktop; if you've password-protected it, no one can get access to your computer without the password.

Shell script to fine area and perimeter

SOURCE CODE:
 
echo "Enter the length of the rectangle"
echo "Enter the length of the rectangle"
read l
echo "Enter the breadth of the rectangle"
read b
echo "Enter the side of the square"
read a
areaR=`expr $l \* $b`
periR=`expr $l \* 2 + $b \* 2`

Shell script for multiplication table

SOURCE CODE:

echo "Enter the number:"
read i
echo "$i table"
j=1
while [ $i -le 10 ]
do
l=`expr $j \* $j = $l`
echo "$j *$i = $l"
j=`expr $j + 1`
done

Tuesday 5 June 2012

Shell script for swapping two values

SOURCE CODE:

echo "Enter first value:"
read a
echo "Enter second value:"
read b
temp=$a
a=$b
b=$temp
echo "The swapped value is:"
echo "First value = $a"
echo "Second value = $b"

Shell script to find simple interest

SOURCE CODE:

echo " Enter the principle value: "
read p
echo " Enter the rate of interest:"
read r
echo " Enter the time period:"
read t
s=`expr $p \* $t \* $r / 100`
echo " The simple interest is "
echo $s

Shell script to find Leap Year

SOURCE CODE:

echo "Enter the year :"
read year
d =`expr $year % 4'
if [ d -eq 0 ]
then
echo “$Given year is a leap year”
else
echo "$Given year is not a leap year”
fi

Monday 4 June 2012

Shell script to greet user according to time.

SOURCE CODE:

hr=`date "+ %H"`

echo "Hour : " $hr

if test $hr -lt 12

then

echo "Good Morning User "

elif test $hr -gt 16


Shell script to display the digits in odd position from the given five digit no.

SOURCE CODE:

echo “Enter the string of the five nos.”
read n
i=1
a=” ”
while [ $i –le 5]
do
     o=`echo $n | cut –c $i`
     s=$s$a$o
i=`expr $i + 2`
    done

Shell script to read name and price of article and calculate net price with discount as follows.>If price less than 100 then 10% discount If price >= 100 then 20% discount

SOURCE CODE:

echo “Enter the article’s name:“
read name
echo “Enter the  price:”
read p
if [ $p –lt 100 ]
then
     t=`expr $p \* 10`
     r=`expr $t / 100`
     n=` expr $p - $r`
else
    

Shell script for interactive file handling program

SOURCE CODE:

echo "1. To copy a file"
echo "2. To rename a file"
echo "3. To remove a file"
echo "4. To compare two file"
read ch
case "$ch" in
1)
ls
echo "Enter existing file name :"
read file1

Shell script to Create a calculator by case system

SOURCE CODE:

echo “Enter the values :”

echo “x:”
read x
echo “y:”
read y

echo “1: Addition”
echo “2: Subtraction”
echo “3: multiplication.”
echo “4: Division.”

Write a shell script. to remove files having following properties…(i) Remove all files having exactly 3 characters. (ii) Remove all files having specified extension. (iii) Remove all files having Name starting with lower case letters and ending with digits.

SOURCE CODE:
echo “1: File having only 3 char."
echo “2: File having specified extension.”
echo “3: File having name starting with lower case letters and ends at digits.”

echo “Enter your choice:”
read c
if [ $c = 1 ]
then
     echo “Files are…”
     ls ???

Websites for free MP3 songs downloads....

Sunday 3 June 2012

How To Password Protect a Folder On a Windows Computer!

steps :


  1. Create a new folder or use one you already have.
    (we need some data in this folder)
  2. Now with the new folder right click it and select send to compressed zip as shown in figure.
  3. Now open the compressed zip folder and extract a file
  4. select all folders in the file and chose add password option as shown in figure.
  5. Now create a password as shown in he figure.Now all files are password protected.
  6. Now we need password to open that file.Files or folders are password protected.

Rename The Icon or Folder Without Giving Name (Blank Icon name)


steps :
  1. Choose the Folder or Icon, that you want to Remove the name.
  2. Right click on the icon and click on "Rename" .
  3. Type the name "Alt" + "255". 
    ~>Note- (Don't press the numbers above keyboard, Type the numbers from the Numpad )
  4. Press Enter.
 ~>You Rename the folder with no name..!
 

How To Make Folder Invisible


       This folder make folder invisible.So no one will be able to seen that folder But in thumbnail view of folder the location of the folder is viewable.

  • process to make folder invisible

  1. First create a folder without giving name.
    to do so visit here Rename The Icon or Folder Without Giving Name
  2. Now right click on the folder and chose properties.
  3. On the property window nevigate to "customize" tab.
  4. Now click on change icon.
  5. Now the icon selection window will be opened.
  6. Now move the scroller and chose the empty icon as shown in the figure.
  7. click on ok and apply all the changes.
  8. now you will find that the folder that you have created is invisible.
  9. you will be hidden this folder.