How to upload video on facebook from mobile


Well, if you are an admin of a Facebook page then you might have tried to upload videos on your page with a mobile phone. And I'm not sure if you have come across this problem or not but I definitely came across this. After finding the solution I thought why not make it easy for other people aswel.

So, as you can see in the picture above that the first picture (mobile version) doesn't have any video uploading option. By clicking on the "Photo" you can only upload picture not videos. But on the right hand side you can see the option of uploading pictures and videos "Photo/Video".

To see your page in desktop version, you need to go on the settings and check the Request desktop site. If you don't know how to do it then you can check here, and make sure your url (at the top) should look like this https://www.facebook.com and not https://m.facebook.com. Because m is for mobile version of Facebook.

Note:
This is for android users only and I'm not sure about other OS.





Affordable smart stick for blind people (Arduino)


The reason I'm writing this post that I've seen many ideas like this but they are either prototype, too expensive or you can't find them in the market at all. So I thought how can I make it easy and affordable so that almost any one can make it and help hundreds and thousands of people (if someone start manufacturing this) who are visually impaired.

Let me tell you what this stick can do. It has two ultrasonic sensors. One pointing forward and another one downward. Each one has its own specific distance, and it will make a sound when it detects something in that range.

For example:
If forward facing sensor finds out any object within 60cm (you can extend it if you want) it starts making sound so that you know something is within 60cm. And if the downward facing sensor doesn't find anything after 65cm (you can extend it if you want) it starts making sound to let you know that there might be dip under your feet so you might take your next step carefully.

Let's see the sketch
int trigPin1 = 2;
int echoPin1 = 3;

int trigPin2 = 5;
int echoPin2 = 6;

void setup() {
  Serial.begin (9600);
  pinMode(trigPin1, OUTPUT);
  pinMode(echoPin1, INPUT);

  pinMode(trigPin2, OUTPUT);
  pinMode(echoPin2, INPUT);

}

void beepFirst(){
   // play a tone on pin 10
  tone(10, 340, 100);
  delay(30);
  // turn off tone function for pin 10:
  noTone(10);
}

void beepSecond(){
   // play a tone on pin 10
  tone(10, 240, 100);
  delay(20);
  // turn off tone function for pin 10:
  noTone(10);
}
//.............

void firstsensor(){ // This function is for first sensor.
  int duration1, distance1;
  digitalWrite (trigPin1, HIGH);
  delayMicroseconds (10);
  digitalWrite (trigPin1, LOW);
  duration1 = pulseIn (echoPin1, HIGH);
  distance1 = (duration1/2) / 29.1;

      Serial.print("1st Sensor: ");
      Serial.print(distance1);
      Serial.print("cm    ");

  if (distance1 >=65) {  // Change the number for long or short distances.
     beepFirst();
  } else {
    //-----
  } 
}

void secondsensor(){ // This function is for second sensor.
    int duration2, distance2;
    digitalWrite (trigPin2, HIGH);
    delayMicroseconds (10);
    digitalWrite (trigPin2, LOW);
    duration2 = pulseIn (echoPin2, HIGH);
    distance2 = (duration2/2) / 29.1;

      Serial.print("2nd Sensor: ");
      Serial.print(distance2);
      Serial.print("cm    ");
 
    if (distance2 <=60) {  // Change the number for long or short distances.
     beepSecond();
    }
 else {
      //-----
    } 
}

void loop() {
Serial.println("\n");
firstsensor();
delay(150);
secondsensor();
delay(150);
}

Few things we need to keep in mind here.
*Range of the sensors:
As you might already know that you can adjust the range of the sensors just putting the numbers (green highlighted) higher or lower.

*How to wire up the speaker for tone?
Well, just connect one wire to GND and one wire to pin 10 if you use the sketch above.

*How many times does it take the reading from the sensors?
Well, if it is in a state that it doesn't need to play any tones then it takes readings about 6 times in a second, you can make it bit faster or slower by changing the delay numbers (highlighted in yellow) at the bottom of the sketch.

*How to connect both ultrasonic sensors?
I've already written a post in detail about that, you can see it here.

Note:
I've noticed that if you get rid of the printing distance, it works even better. Although I'd recommend you to use the above sketch to adjust every thing first, because some people might need different length of stick. So after adjusting the distance by uploading the sketch above and seeing it on the serial monitor, once you are satisfied with it then get rid of the printing code or just use the sketch below.

The sketch below does nor print distances

int trigPin1 = 2;
int echoPin1 = 3;

int trigPin2 = 5;
int echoPin2 = 6;

void setup() {
 
  pinMode(trigPin1, OUTPUT);
  pinMode(echoPin1, INPUT);

  pinMode(trigPin2, OUTPUT);
  pinMode(echoPin2, INPUT);

}

void beepFirst(){
   // play a note on pin 10
  tone(10, 340, 100);
  delay(30);
  // turn off tone function for pin 10:
  noTone(10);
}

void beepSecond(){
   // play a note on pin 10
  tone(10, 240, 100);
  delay(20);
  // turn off tone function for pin 10:
  noTone(10);
}


void firstsensor(){ // This function is for first sensor.
  int duration1, distance1;
  digitalWrite (trigPin1, HIGH);
  delayMicroseconds (10);
  digitalWrite (trigPin1, LOW);
  duration1 = pulseIn (echoPin1, HIGH);
  distance1 = (duration1/2) / 29.1;


  if (distance1 >=65) {  // Change the number for long or short distances.
     beepFirst();
  } else {
//-----
  }  
}

void secondsensor(){ // This function is for second sensor.
    int duration2, distance2;
    digitalWrite (trigPin2, HIGH);
    delayMicroseconds (10);
    digitalWrite (trigPin2, LOW);
    duration2 = pulseIn (echoPin2, HIGH);
    distance2 = (duration2/2) / 29.1;

 
    if (distance2 <=60) {  // Change the number for long or short distances.
     beepSecond();
    }
 else {
//-----
    }  
}

void loop() {
 
firstsensor();
delay(150);
secondsensor();
delay(150);
}

I hope this will help someone. :)


How secure are you on Facebook?

Did you know that people (friends) can see and find out what kind of posts, photos, comments and pages you liked on Facebook from the beginning when you signed up Facebook?

Well, that's exactly right. Anyone from your friend list can find out all of your activities just by searching with your name. For example: Type this "Pages liked by your/friend's name, Posts liked by your/friend's name, Commended by your/friend's name, Photos liked by your/friend's name" in the search box and hit the enter.

Note:
It might not work if you search on mobile in mobile version Facebook, but it can work in mobile version too if you change your browser to desktop version.

Luckily strangers can't see this, but there could be many things that you don't like to share with all of your friends. Don't worry you can search your activities too and undo what you did before.

I hope this tip helps you and you might think twice before accepting friend request of a stranger. 

How to get your locked and lost phone back?

Well, this is not 100% that you will get your phone back, but it will help the guy who's found your phone to contact you if he's kind enough to return your phone.

As you know if you have locked your phone and then lost it then there's no way of someone to contact you, even though the guy is kind enough to return but he won't be able to. So you probably lose your phone for ever.

But don't worry you can solve that problem very easily. In this post I'm going to show how you can show your alternative contact numbers, email address,twitter id, instagram, facebook url or what ever you want, so that people can contact you through that.

As far as I know there are two ways to do that.

Option one:
Write what ever you want to show (contact number, email address, twitter id, instagram, facebook url), on an image and make it wallpaper of your phone's lock screen (this means that the picture will be shown only when your phone is locked). You can do that by >>tapping and holding on an empty space on your phone >>then go to wallpapers >>then lock screen >>then choose the image you wrote the information on.

Option two:
This is the normal way and what ever you will write, it will show on locked screen as you can see picture at the top.

To do that, >>go to the settings >>then click on Lock screen >>then click on Owner information >>then in the box write what ever you want >>then click OK.

And now you/anyone will be able to see the info under the time, as you can see in the picture at the top.

Note:
This is for android users only.

Today's kids vs kids of older generation

After seeing this and reading the comments I couldn't stop sharing it. Many people are sharing their childhood stories and some of them are crazy and funny. Let's read some of them.

Dee Deezelskie: when i was 3, i tried to save the world by not stepping the line of tiles in malls and i did it, yes you're welcome.

Stéphanie OkHee: Whenever I see stuff that apparently lots of children did, I ask my dad if I was the same. Turns out, most of the time I wasn't. So apparently I was a well behaved, boring as f*ck, little girl.

Jojie Aparri: When I was 3, our neighbor had to call my father to get me from their house because I refused to leave even with poop on my underwear. I had so much fun playing with their kids I literally didn't give a sh!t. Haha 😂😂😂
And this baby is too young to be 3.

Mikael Karlsson: When I was three I was actually able to "go play in my room", without the aid of tv or the internet. Sometimes I didn't even need toys. All I needed was imagination.

Well, some people have different kind of opinion too.

Eleni Manioti: Technology does not make you smarter it's the way you use technology to increase your knowledge that makes you smarter!So sad that kids spent so much time in front of a screen rather than a toy...

Kimberley Jane Barry: How is playing with an iPad smart? If their parents give them an iPad every time they cry, complain or are bored, it's basically all they know... Parents are just getting lazy.

Read more if you want.


Newly posted:
Reason why rich getting richer and poor getting poorer