Sunday, 28 July 2013

Indentation Code in Vim Editior

All reputed Engineering colleges use open source operating systems like Ubuntu.
As far as text editors are concerned  Vim or Vi editor is the best.
I also recommend you to use Vim editor not only for coding but also for any text editing.
New coders don't know much about code indentation so they type their code like this-
which is not at all recommended but it is fine with Toy programs.
Its Good to have good programming habits that we can keep throughout entire career.
Indentation not only make your code or program look good but it makes you to understand it in a much easier way as you can see loops in side loops as it happens at the time of execution and also much more things

this is the code which is intended by a single vim command


Command is gg=G
Just hit Esc once don't press : (colon) and type the command
As u can observe u cant see the command you are typing but its this is the Right way to do it
Hope it will help you..
Here are some Indentation and formating rules :

* Use one single "TAB" (and not 3-4 spaces) for indentation.
*Indentation means, whatever is logically 'inside' should be shown like that. This  means the 'bodies' of for, while, if, else, function, switch should be indented using ONE tab.
* Indent when you are typing the code and not after writing the code.
* Rules for spacing:
Give one space after comma in variable lists or arguments lists. e.g  int i, j, k;     OR  printf("%d%d", a, b);
Give one space before and after every binary operator:  e.g.    i = j + k;
*Everything which has a { and } associated with it is called a block.
The opening and closing brackets of any "block"  must be matched with the first character of the block keyword (i.e. f of for, i o f  if, e of else, etc. )
* Do not give a space before ";" of a for loop
* Do not give a space after '(' and ')'


Saturday, 27 July 2013

Learn to Type - easy and fun-with TYPE FU chrome Chrome OS and Google Chrome Browser

Google chrome is awesome
Chrome Web Store is amazing
All the apps, extensions, themes and lot of things more in there!!
Type Fu is the tool that teaches you to type in much easier way and you wont get bored of learning typing in chrome as you can pause your course and switch the tabs and enjoy surfing also
here's the link to get that app for free
try is its more fun than just learning to type
open the link in chrome only for obvious reasons




☆☆☆ FEATURES ☆☆☆

★ On-screen keyboard and fingers
★ Audio notifications
★ Speed, accuracy and time meters
★ Stats tracking with pretty charts
★ Auto-adjusted difficulty level
★ Error highlighting
★ Error correction with backspace key
★ Retina display support

☆☆☆ EXERCISES ☆☆☆

Type Fu is shipped with thousands of exercises that are grouped into several lessons:

★ Letters - exercises that are generated from English letters. There are 23 difficulty levels starting from level 1 which uses only home keys up to level 23 which uses the whole keyboard.
★ Numbers - exercises that are generated from numbers. There are 9 difficulty levels starting from level 1 which uses only '7' and '4' keys up to level 9 which uses all numeric keys.
★ Words - exercises that are generated from the pool of 3500 most popular English words. There are 9 difficulty levels starting from level 1 which contains only the words that make use of the home row keys up to level 9 with all possible words.
★ Quotes - 300 quotes by famous people
★ Proverbs - 300 proverbs

☆☆☆ KEYBOARD LAYOUTS ☆☆☆

★ Qwerty
★ Qwertz
★ Azerty
★ Dvorak
★ Colemak
★ Workman

Drivers identifier

hey guys
It is observed that sometimes we insert a device into usb port or connect it with the help of usb cable we see a message

USB device is not recognised

Its because you DOT have drivers installs in your pc or laptop for that device
So here it is a software that will help u find all drivers you want and easily update drivers also if some of them are outdated
Just download this software;

DOWNLOAD DRIVER IDENTIFIER

Click on scan drivers 
Done
It will scan drivers and give you report about the drivers you can also manually download them by going to corresponding website for the drivers

Friday, 26 July 2013

Games Shows Fatal error_Available memory less than 15 mb.

Hi guys

  This post is about some old but very popular Games like Counter Strike-CS and Condition Zero-CZ and their Compatibility.

All you do is install the game.It gets installed Successfully then You click on the icon for the game it shows available memory is less than 15 mb FATAL ERROR
Its not a big problem at all.
Your smoothly working game is just few clicks away.

Follow the procedure below:

  1. Right click on the desktop icon of the game
  2. Select Properties
  3. Select Compatibility
  4. Change the Compatibility mode to windows XP service pack 3 by clicking on run the program in compatibility mode for ..... 

Hit Apply 
Enjoy the game now!!!

Tuesday, 23 July 2013

Setting Proxifier for Lan Connection, Proxifier Serial Key

Poxifier is the best way to access Internet when you are using college Internet connection which requires a proxy address and some authentication. Every time u start your browser it ask for completing authentication
Also sometimes data usage is limited for students accounts. It becomes very irritating to login  each time and also use limited data as you cant download a movie which is more than 1 gb if allowed data usage for a student for one day is just one gb
proxifer solves all these problems
It automatically complete authentication process every time and you can also access any amount of data from your account.
Some colleges use MacAfee Internet security and block your social networking usage when you cross the limit.with using Proxifire you can use facebook for whatever time you want.
Just follow the procedure as follows its easy
Download proxifer v2.9 : Its an old version but its best
You can get it here:: DOWNLOAD PROXIFER V2.9

Link to new version is :: DOWNLOAD PROXIFIER
Here are some screen shots that will guide you through the procedure
A very important thing is that remove proxy settings in the browsers and set it to no proxy if you are using proxifier








Monday, 22 July 2013

Transferring data via LAN connection

Hey people

This is my very first post in here
This is to let u know about how to transfer DATA (like photos,videos,anything ) using your college LAN connection
First thing you need is a working college or office LAN connection or just connect two laptops by a LAN cable.
There are 3 options by which you can do this very easily-

      1.IP messenger

      2.teamviewer

     3. Windows easy transfer

Best things first - ip messenger

Its the great software to transfer data .
Its fast
Its easy to use 
All you need to do is just download the setup file and install it
and its all done enjoy transferring data
Here are some screen shots that will let you go through it easily
This is the link to download it for free.
Download Ip messenger

install it  and run it on your and your friends laptop

you are free to transfer data at approximately 8 mbps!!

{Note-Sometimes for no reasons it doesn't work}
     

Now a very great but a bit difficult to use software provided within windows -WINDOWS EASY TRANSFER..

See these images and follow them you can transfer data easily
You need to remember just a thing 
If u want to get data select new pc and tell your friend who i sending you data to select old pc. 



He gets a code enter that in your pc in the provided area.
Your pc scans user accounts of your friend and you can see the status..wait for it to be completed it takes some time then DESELECT all option 
CLICK ON ADVANCED then you see all his hard disk
Select whatever you want to get and hit transfer
That's all
Wait for it to complete you can view also transfer reports.
Its good way to transfer your data also from your old computer to new because this tool is meant for that only officially

I will upload about teamviewer soon..
If u have any query or problem regarding data transfer just drop me a mail or comment in here.