Feb 16, 2011

How to get Airtel Prepaid itemised monthly bill

In India generally we will get itemised bill for postpaid connections and not for prepaid bills.

Incase if you need prepaid bills for a particular month, airtel will send prepaid bill to your email address when you request them. You will be charged Rs.50/- for this service. charging is done through deducting in your prepaid account balance. ( This charge is when i am writing this article  Feb 2011).

send sms with below contents to the number 121

EPREBILL month_name  mail_id


Ex - 
EPREBILL July user@mail.com




If you find this information helpful, please click the ads below

//dev/project-app/...#head - file not in client view.

Problem:

while trying to get some file it fails and throws error

//dev/project-app/...#head - file not in client view.
p4 sync //dev/project-app/...#head
    no files updated
    1 warning reported

Solution:

Perforce depot or path not in view. Edit your workspace to include the required path.

For example in above case - GO   Connection -> Edit current workspace -> click tab on 'View' -> choose the required depot and include tree(dev)

Note - when you press 'Apply' it will ask for "Get latest revisions of all files added to your workspace view? "
choose 'Don't Get Latest'

Aug 31, 2010

Fatal client error; disconnecting! open for write: /home/mohant2/tmp.9257.9: Permission denied

Problem :
perforce throwing below error when you are trying to access or login

Fatal client error; disconnecting!
open for write: /home/user/tmp.9257.9: Permission denied

Solution:
check permissions of  /home/user under /home. it must be root or something else. change the permissions to respective user by chown and try again. it will execute.

cd: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory

Problem:
cd: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory

Solution:
directory you are trying to access was deleted. change to some existing directory or type cd to return home directory

Aug 17, 2010

Problem Ejecting USB Mass Storage Device

Problem:

Could not unmount USB device.  Receiving error message

---------------------------
Problem Ejecting USB Mass Storage Device
---------------------------
The device 'Generic volume' cannot be stopped right now.  Try stopping the device again later.
---------------------------
OK  
---------------------------


Solution:

Download tool called "unlocker" and choose the drive which you want to unmount.

http://download.cnet.com/Unlocker/3000-2248_4-10493998.html

Aug 12, 2010

No files to submit. File(s) couldn't be locked.

When you try to checkin files into perforce it will fail complaining

                No files to submit.

                File(s) couldn't be locked.

                Submit failed -- fix problems above then use 'p4 submit -c 114440'

Solution:

This is because you dont have permission to checkin files in that particular branch. Add persmission to that branch for the respective perforce username by editing 'protect' table and try checkin files.



If you find this information helpful, please click the ads below

Jul 27, 2010

How to execute c programs in Visual studio

To execute c/c++ programs in visual studio you can refer this excellent link

http://www.swarthmore.edu/NatSci/tali/E15/Visual_C.html