Sunday, January 18, 2015

How to download your facebook data ?

If you plan to sit on your system for hours to find that one status or message, wait right there. Apparently, Mark Zuckerberg and his team won't like you to waste so much time doing that, which is why there is an option for downloading all your Facebook data. Sometimes you want to download your facebook data . You may wonder how to do it . Sometimes  it is helpful to find old status , old messages ,photographs etc

Facebook
Facebook
All you need to do is Follow these steps :
> Login to your facebook account
>Go to setting (find it near "Home" tag , just above the "logout" )
> You can see blue link at down  "Download a copy of my Facebook data". click on it.
> Click on "Start Archive" button

The Facebook Data Includes
  • Posts, photos and videos you've shared
  • Your messages and chat conversations
  • Info from the About section of your profile.


Thursday, January 8, 2015

How to remove shortcut virus from pendrive


The most commom virus menace for Windows users is the shortcut virus changing all your files and folders in pendrive to shortcuts. It's a familiar problem among most college students. We have all tried to use the ineffective shortcut virus remover, a third party software, to solve the problem. But it is very simple to deal with.

  1. Delete all the shortcuts from the pendrive. They can be identified by the arrow symbol in icons and having a size of less than 4kB usually.
  2. Now open command prompt.
  3. Go to the pendrive by typing <alphabet assigned to drive>:
  4. Now enter the magic line attrib -s -h /S /D
  5. Wait for some time... It's done! All your files and folders are back.


The secret behind this:
The virus only changes the folders' system attributes, makes it hidden and creates shortcuts. So by removing the shortcuts, and removing the hidden and system attributes from all files and folders, you have terminated the virus without trace!

Saturday, November 22, 2014

What is Amazon Kindle ? what is the use of amazon kindle ?

first of all Amazon Kindle is e-book reader. It's a series of e-book readers designed and marketed by Amazon.com.There are different versions of Kindles based on that they have different features.Kindle Paperwhite is purposely designed as a dedicated e-reader. Indulge your love of reading without interruptions like email alerts and whatsapp notifications.



<click on this images to know more and buy it from Amazon with good discounts>

Features And Benefits 

  • You can borrow books from Amazon library (only kindle users can borrow)
  • Comfortable screen to read e books . Give same feeling as you are reading hard copy.
  • You can store as many ebooks as you want on cloud
  • Thinner than a pencil, lighter than a paperback—and over 30% lighter than iPad mini. Comfortably hold Kindle Paperwhite in one hand for long reading sessions.
  • Battery lasts weeks, not hours
  • Next-generation built-in light, read without eye strain 
  • The new Kindle Paperwhite's processor is 25% faster. Books open and pages turn faster for a seamless experience. Kindle Paperwhite also uses the latest in capacitive touch technology, responding more accurately to the slightest touches. 
 After mobile and tabulates this is the one of the best product , i came across . Worth to buy it . 

Friday, November 7, 2014

WhatsApp new update

WhatsApp latest update Version 2.11.432 is available now. They add some features as shown below

As Shown they added blue ticks , which means recipient has read your message .

WhatsApp


              
This feature is being gradually rolled out on Android and iOS across the world, including in India. According to WhatsApp, this feature is available for iOS, Android, Windows, BlackBerry, BlackBerry 10 and Symbian devices.


Sunday, October 26, 2014

Inbox by Gmail

What is "Inbox by Gmail"?

It is a new email app by Google. It is available for android and iOS and also for web. App is available to a limited user group only, and will be expanding its user pool via an invite system similar to the one that Google used for Gmail. You can also email Google at inbox@google.com to request access, if you don’t like your chances of getting an invite from a friend. Now watch a video .

 

  How does it work?

Inbox, built by the Gmail team, keeps things organized and helps you get  back to what matters.

BUNDLES - Similar messages are bundled together so you can deal with them all at once. And get rid of them with one tap.

•  HIGHLIGHTS - Get the most important information without even opening  the message. Check-in for flights, see shipping information for  purchases, and view photos from friends right up front.

REMINDERS: More than mail, you can add Reminders so your inbox contains all the things you need to get back to.

•  SNOOZE: Snooze emails and Reminders to come back when you are ready to  deal with them: next week, when you get home, or whenever you choose.

•  SEARCH: Inbox helps you find exactly what you’re looking for— from your  upcoming flight to a friend's address— without having to dig through  messages.

WORKS WITH GMAIL: Inbox is built by the Gmail team,  so all your messages from Gmail are here, along with the reliability and  spam protection of Gmail. All of your messages are still in Gmail and  always will be.


<content from Quora >

Wednesday, September 10, 2014

Variable Argument Lists in C and C++

If you want to use a function which can take variable number of arguments, you can use variable argument list. For example you want to design a function which accepts any number of integers and returns the average of those integers.You don't know the number of arguments will be passed to the function. There are some library functions also which take variable number of arguments for example printf().

first of all you have to include  <stdarg.h> header file.
Then you have to define va_list type variable which will store the arguments. 

C language
C language
Let's try to understand with example:
#include<stdio.h>
#include<stdarg.h>


techshow irshad(char *arr, ...)
{
int num;
va_list ptr; /* create a new list ptr */
 

va_start(ptr,arr); /* attach ptr with arr */
printf("\n num=%d",arr); /* it will print 1st argument */
 

num = va_arg(ptr,int); /* fetch 2nd argument */
printf("\n num=%d",num);
 

num = va_arg(ptr,int); /* fetch 3rd argument */
printf("\n num=%d",num);


va_end ( arguments ); /* Cleans up the list */
}
int main()
{

printf("\n variable argument:");
techshow(10,20,30,40,50,0);
return 0;
}


/* output */

variable argument:
num=10
num=20
num=30 



You may also like :How to check whether particular bit is on or off in C language?  

Tuesday, September 9, 2014

How to fix: -Grub rescue (simplest solution)

Just before few days ago, my laptop was fallen down. After when I powered on it , it was showing error, and not allow to boot me any of my OS (windows and ubuntu 12.10 I had ).

Error was like this :
                  error:attempt to read or write outside of disk 'hd0'.
                  grub rescue>

I first started searching on google (using another laptop). Got some basic ideas like 
> it's problem with hard disk
> Either hard disk is damaged or corrupted.

First thing, i was looking for my data . I want to backup  my data anyway. 
 > I came to know that we can do it by using : "Live Ubuntu".

I took bootable ubuntu pendrive from friend and started. but it was not showing my hard disk. I tried 2-3 times but same problem . Then I find one option while booting to repair hard disk problem . After that I got all my data , i was looking for.

But still it was not able to boot any of my OS , but now I had no fear to format the disk. I started formatting using Ubuntu but it's not working. Then I tried with windows7 .  I have to format my disk  2-3 times - first C: drive only than all drive but at last have to delete all my partitions. 

Now it is working  fine.








   

Thursday, July 31, 2014

How to check whether particular bit is on or off in C language?



C language
C language
To check for particular bit , whether it is on or off we use "&" (AND) operator. Go through simple example given below,

Let consider 8-bit binary number,

Binary(8 bit) = 0000 1101
suppose we want check 3rd bit is on or off(on=1 & off=0), just like this,

0000 1100 (Decimal=13)
&
0000 0100 (Decimal=4,we are checking 3rd bit so it is 1)
----------
0000 0100 (Decimal=4)
----------
If we got some value then checking bit is on,otherwise off.
In C language,

if(13&4)
print("The third bit is on");
else
print("The third bit is off");

You may also like this post : Dangling Pointer

Wednesday, April 9, 2014

Special characters in C


//Special characters:

C language
C language

 


'\a' // alert (bell) character
'\n' // newline character
'\t' // tab character (left justifies text)
'\v' // vertical tab
'\f' // new page (formfeed)
'\r' // carriage return
'\b' // backspace character
'\0' // null character. Usually put at end of strings in C lang. 
     //   hello\n\0. \0 used by convention to mark end of string. 
'\\' // backslash
'\?' // question mark
'\'' // single quote
'\"' // double quote
'\xhh' // hexadecimal number. Example: '\xb' = vertical tab character
'\ooo' // octal number. Example: '\013' = vertical tab character
 
 You may also like to read Dangling Pointer Problem  

Thursday, January 23, 2014

Pointers: Null Pointer.

C language
C language
Hope you have read the previous post on Dangling pointer ( if not click here.). Here I am going to introduce one more pointers: Null Pointer.

Null Pointer:

The simple meaning of null pointer is, the pointer which is pointing to null value i.e we can say pointer which is pointing to nothing. Null pointer identically points to the base address of memory segment.
Examples of NULL pointer:

1. int *ptr=(char *)0;
2. float *ptr=(float *)0;
3. char *ptr=(char *)0;
4. double *ptr=(double *)0;
5. char *ptr=’\0’;
6. int *ptr=NULL;

We cannot copy any thing in the NULL pointer.

Example:

#include
 <stdio.h>
#include <string.h>
int main(){

char *ptr=NULL;
    strcpy(ptr,
"newtechshow.blogspot.com");
printf("%s",ptrr);


return 0;
}

This program will give output : null (or segment fault).

Application

  • At the end of the linked list, last node's pointer is always null. so that the linked list terminates there otherwise it goes to infinite if last pointer points to garbage values.
You can  think more applications and comment here.