Sunday, 25 December 2016

Shoe Fan with Arduino

Have ever heared people joking about smelly shoes?

Well, this the perfect way of keep your shoes stink free. Let me explain how it works. There is a ultrasonic sensor which measure the distance between itsefl and a object front of it (in this case the shoes). When someone places shoes front of it, it turns on the servo motor which brings the main motor to the correct position and then the main motor turns on for few seconds (you can make it longer if you want) and then goes back to the side so that shoes don't come in the way.

The sketch
#include <Servo.h>

Servo myservo;  // create servo object to control a servo
int pos = 0;    // variable to store the servo position
int motor = 4;

int trigPin = 5;
int echoPin = 6;

void setup() {
  Serial.begin (9600);
  pinMode(trigPin, OUTPUT);
  pinMode(echoPin, INPUT);
  myservo.attach(7);  // attaches the servo on pin 7 to the servo object
  pinMode (motor,OUTPUT);

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

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

  if (distance1 < 10) {  // Change the number for long or short distances.
  for (pos = 0; pos <= 95; pos += 1) { // goes from 0 degrees to 95 degrees
    // in steps of 1 degree
    myservo.write(pos);              // tell servo to go to position in variable 'pos'
    delay(30);                       // waits 30ms for the servo to reach the position
  digitalWrite (motor, HIGH);
      delay(10000);  // motor will keep rotating for 10 seconds
  digitalWrite (motor, LOW);    
  for (pos = 95; pos >= 0; pos -= 1) { // goes from 95 degrees to 0 degrees
    myservo.write(pos);              // tell servo to go to position in variable 'pos'
    delay(30);                       // waits 30ms for the servo to reach the position
  } else {
   // nothing

void loop() {
delay(1000); // takes the reading after 1 second


If you use the sketch above then the main motor will come back  after each 11 to 12 second that's because the ultra sonic sensor gets reading after 1 second and the motor runs for 10 seconds.

How can you make the motor run long time?
To do that simply change the green highlighted delay to what ever amount of time you want.

How can you make the cycle longer like once in 2 hours?
To do that you can change yellow highlighted daley to delay(7200000); that means that the ultrasonic sensor will take the reading after each 2 hours.

Let's see the code in action


Wednesday, 21 December 2016

Adam Saleh got kicked out of Delta Flight

Adam Saleh a YouTube star prankster who recently got kicked out of a Delta flight because he spoke in Arabic on the phone with his mom and with his friend. He (Adam Saleh) said that when he spoke in Arabic people felt uncomfortable and that's why they removed him and his friend.

Well, if this incident would have happened with any other person I would have felt really bad for him, but for this (Adam Saleh) guy I don't feel anything. Because he is an attention seeker and loves to create scenes like this all the time, and his YouTube channel is full of pranks and lies. Let me show you some of his videos so that you understand that how long he might have been trying to create this scene for.

I think this Youtuber explains even better way. Watch the video below.

I don't really understand why people are getting mad on this issue. I don't think this would go that far if he was an unknown person. :(

Later Aljazeera reported [Delta Airlines said the man, Adam Saleh, and the other passenger were removed because they "sought to disrupt the cabin with provocative behaviour, including shouting".]

Well, I'm not shocked at all, and they probably right because this guy is obsessed with those kind of behaviour. You can watch his videos on YouTube if you don't believe.  Greedy piece of sh*t! Does all these for subscribers and views = $$$$

Most frequently asked questions about Adam Saleh

Monday, 19 December 2016

10 Funny tweets of the day S01

Tweet 1.

Tweet 2.

Tweet 3.

Tweet 4.
Tweet 5.

Tweet 6.

Tweet 7.

Tweet 8.

Tweet 9.

Tweet 10

Saturday, 17 December 2016

Arduino rgb led code

In this post I will share a small sketch by which you can control a RGB led and make what ever colour you want.

How many colour can you make with this sketch?
Actually it's all up to you how many colours you want to make, but in this sketch 5 colours has been set.
  • Red
  • Green
  • Blue
  • Yellow
  • Aqua
After wiring up the led and uploading the sketch you can use these commands to cotrol the led.
on = On
off = Off
g = Green
r = Red
b = Blue
y = Yellow
a = Aqua

The Sketch

int redPin = 4;
int greenPin = 5;
int bluePin = 6;

void setup() {
// initialize serial communication at 9600 bits per second:
pinMode(redPin, OUTPUT);
pinMode(greenPin, OUTPUT);
pinMode(bluePin, OUTPUT);

void setColor(int red, int green, int blue)
red = 255 - red;
green = 255 - green;
blue = 255 - blue;
analogWrite(redPin, red);
analogWrite(greenPin, green);
analogWrite(bluePin, blue);

String str;

void r(){
  setColor(255, 0, 0); // red
  Serial.println("The red led is on now");

void g(){
setColor(0, 255, 0); // green 
  Serial.println("The green led is on now");

void b(){
 setColor(0, 0, 255); // blue
   Serial.println("The blue led is on now");

void y(){
 setColor(255, 255, 0);// yellow
   Serial.println("The yellow led is on now");

void a(){
setColor(0, 255, 255);// aqua 
  Serial.println("The aqua led is on now");

void on(){
setColor(255, 255, 255);// on
  Serial.println("The light is on now");

void off(){
setColor(0, 0, 0);// off
  Serial.println("The light is off now");

void loop() {
str = Serial.readStringUntil('\n');

if(str == "g"){

if(str == "r"){

if(str == "b"){

if(str == "y"){

if(str == "a"){

if(str == "off"){

if(str == "on"){

How do you make these colours?
Well, it's simple just by controlling and mixing these three (Red, Green and Blue) colours you can make as many colours you want.

For example by turning on red and green you make yellow colour. setColor(255, 255, 0);// yellow
and  by mixing green and blue you make a Aqua colour. setColor(0, 255, 255);// aqua 

Where can I find the RGB codes?
Just Google it you will find plenty of them make sure you don't get html code that's different than these.
Note: You might use resistors for led, I didn't use it because it was not making colours properly for me.


Wednesday, 14 December 2016

Dad tries to save his kid from bullies and gets beaten up

There is video clip going viral now in which a dad tries to defend his kid from some bullies and gets beaten up very badly. I knew nowadays kids don't respect elders much, but never knew they can go this far.

Some people are saying that the dad pushed and punch other kid as you can see in the video above. But it seems like the dad tried to go closer to his son and the other kid came and provoked him. You can see in the video below he (the dad) "I thought they were jumping in on him. What would do you if it was your kid?".

Many people frustrated by this incident and showing their anger through comments.

1. [ If it was my kid doing the bullying and beating???? I would beat his or her be sure!!!! They would feel the wrath and know what it is like to be bullied and beaten!!!]

2. [i would've gotten back in the car and run those fucks over, that is if i hadn't already beaten one of them to a pulp with the metal pipe i carry in my trunk]

3. [Fucking cunts if you did that to me I would hunt you one by one and I swear I would fucking destroy you, I would die for my son trying to protect him against bullies!! ]

4. [First I would like to say way to go Dad for sticking up your son. Second what the HELL is wrong with kids now days??? They all need to spend a few nights in jail for doing this.]
Well, it seems like this guy is right. Nowadays kids got too much freedom they can do what ever sh*t they want and they won't get punished and they know this very well that's why they act like wild animals.

5. [ This happens when children are not disciplined and taught respect. I got my ass beat growing up, there just isn't decency anymore. ]

Tuesday, 13 December 2016

How can you lock your computer with real lock?

You might have seen fake pictures where people have zipped their mouth and locked with a padlock but never seen a computer locked with a real lock. Did you?


Well, in the video below you can see this guy came up with the idea to fit a lock on a normal computer so that people can't even turn it on.

What does it do and how does it work?
First you need a lock that can turn something on/off by turning it right or left with the key. Once you get the lock you need to connect it with the power switch on the computer, like two parallel switches. That means if you try to turn on with the one switch you can't turn it on until you turn on the other switch too. You need to turn both switch on to turn on the computer and in this case one normal switch and another with the key. So if you disconnect the power with the key switch and take the key with you then no one will be able turn the power on to use the computer. Simple as that.


Monday, 12 December 2016

6 Best ways to avoid clickbait and waste your time

Why people use clickbait.
As you already know that every one wants to make money, and how can they make more money? The answer is by grabbing attention of people in such a way that they definitely visit their websites.

But people don't easily go to a site (like this one) where it tries to be simple and straight to the point. Instead they want to go somewhere, where they get hooked up with useless things and start going round and round and never find a way out.

Ok let's start with the tips now: 
1. Don't click any link that is not familiar to you.

How can you find out what kind of link you clicking?
Well, some times it might be a bit difficult to know which lick you clicking because it's hidden under the nice attention grabbing words or could be hidden under a picture. For example, Click here to see 10 Jaw-Dropping dog photos. But if you click on the link you will go the home page. So to find out these kind of misguided links, just hover you cursor on the link and you will see the destination link (URL) at bottom left hand corner of your browser is you are using Firefox or Chrome.

 2. Read the comments first. If you are on facebook and see a clickbait kind of article link first read the comments because there will be at least an idiot who has clicked on it found it terrible or some experienced people commented what kind of link is that.

3. Stay away from links contains “exclusive”, “shocking” or “sensational” kind of word in it.

4. Stay away from unrealistic pictures like below. Most of the time pictures like these been used just to grab your attention.
You will find most big YouTubers do this (that's how they became big) and I don't blame thaem. That because you don't get views if you stay normal and straight to the point. I've experienced myself. People don't give sh*t about your videos although you spend hours and hours behind making the video.

5. If anyone (even your friend) sends a link never click on it until you know where it will take you to.

6. Make a list of sites that you had bad experience so that when you see a link which trying to take you to that site you can avoid.

These are the few tips to avoid clickbaits for those people who really look for info that they want. And not like people who think to be smart (actually dumb) but keep going to the same place again and again and never learn from their mistakes. And  still go there and complain about the clickbaits, and when they see their idol didn't listen to them they still go there and watch his/her videos. Those people really deserve the clickbait and should never complain about it, because they simply can't use their brain.


Sunday, 11 December 2016

How to save viber chat history without an email?

If you are trying to save and back up your viber conversations there is a simple way of doing that and that is to email your back up files to what ever email address you want. But many people might not want share their privet messages via email so in this post I'll show you how you can back up your chat and send it to another phone directly without any emails.


So here is what you need to do.
  1. Open Viber
  2. Select More options (Menu)
  3. Select Settings
  4. Select Calls and messages 
  5. Select Email message history
When you will click on the "Select Email message history" it will make a compressed zipped folder where it will save all the chat history for every single person you have ever talked to from last viber installation. Be patiant, it might take some time to prepare all the chat files.

6. Once it finishes preparing the files it will ask you if you would like to send via email or any other options? Select via BlueTooth.

Now once you get the folder on your phone you can transfer that to your computer and laptop. Remember you can only see text messages only and you will not get your photo messages.

Can you save a specific chat?
Well, there is an option in WhatsApp but sadly I didn't see that option on viber.

Why not Google drive and email?
Your data will not be protected by Viber encryption as Viber says. That means any third party who can get access to your email and Google drive can see your messages.

 That's all for this post I hope it helps you.


Thursday, 8 December 2016

Stonehenge mystery solved by a construction worker

A man from Michigan has discovered how to move and lift 20+ tonne blocks by hand using only wood, pebbles, counterweights and man power. He Creates a compelling argument for the methods used in the construction of Stonehenge, the Pyramids etc...

I hope the video doesn't get deleted so that you can see for yourself that how he has managed to do it, and know that you don't need scientists and bib big degrees to solve every mystery. In this case scientists have trying to solve this for ages but a simple construction worker has solved it for them. So never see anyone down graded, who knows he probably knows something which big people don't know.


Some best comments:

[You gotta be shitting me. Holy f**k! I gotta try this asap. And all the Ph.D scientists with Ivy League "degrees" couldn't figure out this technique, but a construction guy from MI did? LOL............crazy shit.]

[Brillant!! This guy shud be given an award:) God has given every human so much potential to do things all we need is a will to do it :)]

[Takes someone who thinks outside the lines to solve these age old mysteries.]

[Humans can figure anything out over time and that's why I knew all along aliens didn't build the pyramids humans did.]


Wednesday, 7 December 2016

Why you should ignore hits from Samara, Russia

If you are website owner or a blogger, soon or later you might see many hits from Samara (The capital of spammers and mentally ill people).

In one month I saw more than 1000 hits from Russia and most of the hits were from Smara. I got quite happy to see those hits but when I opened my AdSense to check how much I got from them, I didn't even find a single penny. Then I did a small research and found out that these are all useless hits from spam robots and not from actual human.

What to do?
If you want you can block the domains where the hits coming from, but I think it will be useless because these mentally ill people will come with other ideas to spam your site.

Never visit their sites if you do first search on Google and see what people have said about it.

Are they getting any benefits for doing this?
Well, if they are doing this for political gain then they might have taken some money or something to spam your site. If they have already taken the money then that's their profit so it does matter what you say and how you feel.

These scumbags might come up with other names as referral like listed below, never fall into there trap.
And more.....

If they are thinking that by spamming they can bring their website on top of Google page rankings, then they clearly didn't understand how Google SEO works and this way they will never ever come close to Google's first page forget about first link.

And one more thing, by spamming they are defaming their country and city . Who ever came across this problem will never ever see Russia same way again as he used to see it before. And when ever he will hear about Russia will think, Oh no that bulshit country full of spammers (mentally ill people).

My question:
What did I do to you? If I didn't harm you in any way then why you harming me by spamming my site?

What I wish:
Before I go to bed every day, I wish please no hits from Russia! No, not even a single hit from those scum bags. Please! Please! Please!


Tuesday, 6 December 2016

10 Best WhatsApp tips will make your life more easier

I don't think I need to introduce you what WhatsApp is because out of 7.5 billion total world population over 1 billion are WhatsApp users. Although we might use it more frequently but sometimes we still miss out the most basic functions. So here are some cool WhatsApp tips which will make your life much easier.


1. Quote in reply.
Just select the message and tap the reply button (left arrow at the top).

2. Change font formatting
*your word* << For bold, make sure no space between the star and first letter and between star and the last letter.
_your word_ << For italics.
~yoyr word~ << For strike through.

3. Chech when messages delivered and read.
Long tap the message and tap on the message info (round icon includes an i in the middle).

4. Bookmark important messages.
Specific chat > specific message > long tap message and then tap the star at tge top.

To see all the bookmarked messages, open WhatsApp >> Menu >> Starred Messages.

5. Send your message in new font.
Use this special character 3 times before and after what ever you want send ```hello```.

6. Backup your chats Conversation.
Menu >> settings>> chats >> chat back up >> click on the backup button.


7. Email your chat.
Menu >> settings >> chats >> Chat history >> Email chat. Remember the chat you will send via email it will be in a text file.

8. Stop automatic downloading pictures and videos on your phone.
Menu >> Settings >> Data usage >> uncheck Photos, Audio, Videos and Documents from "When using mobile data", "When connected on Wi-Fi" and "When roaming".

9. WhatsApp Web (Use WatsApp on your computer without an app).
On your coputer go to then on your phone tap the Manu then thap on WhatsApp Web and scan the QR code which showing on your computer.

10. Send one message to multiple WhatsApp users.
Long tap the message or messages you want to send, then tap on the forward arrow and then choose people from the contacts and send.

I hope this helped you if it did please feel free to share this with your friends. Thanks


Sunday, 4 December 2016

Can anyone take control over your drone?

Well, you might get surprised by this news that a company called droneshield has already made a device which can take control of your drone within 2 km range.

How does it work?
If you go to the official website then you may not find where it says how it works, but according to it is a "jammer that bamboozles drones through pulses of radio waves at frequencies between 2.38 and 5.82Ghz.".


It can cover up 2km in a wide range of environmental conditions.

Are you allowed to have this?
It seems like if  are in the USA then you may not be able to buy it at the moment, that's what it says. "This device is not, and may not be, offered for sale or lease, or sold or leased, in the United States, other than to the United States government and its agencies, until such authorization is obtained."

Let's see what other people thinking about this DroneGun.

*[Also this is pointless since drones can be programmed to return to its launch location when it loses signal.]*
 He is probably talking about the drone which comes to its original place when it loses signal from the remote by using GPS. But because GPS can also be spoofed, so his argument may not be valid.

*[This is the finest bullshit I've ever seen so far... You can't just hook into a secured and encrypted connection between a DJI remote and drone like that, max. you can do is to cut the connection between the drone and the pilots remote tho then the drone will simply hover 2 minutes in the air and return to home after that, but NOT LAND IN FRONT OF THE DRONEGUN USER!]*

This comment sounds good but what if the gun can record the frequencies of the encrypted data from the remote then sends it to the drone? Remember drone can generate frequencies between 2.38 and 5.82Ghz.

If you read the comments under the video on YouTube, you will find many people are still skeptical about this device. Some of them are saying that it maybe a fake video.


Saturday, 3 December 2016

How to use lock screen as a reminder

If you are like me who easily forgets things but never forgets to check his phone every few minutes then this trick is for you to remember important stuffs.

Ok, before I tell you how you can do that let answer a you a question, which you probably thinking in your head that why can't you just set the reminder?


Well, I think that people set the reminder for certain things that if it (reminder in the phone) reminds ones you can remember that for whole day or until the thing is done. But there are some things that is not very important but kind of important as well. So for those kind of things you need a constant reminder, because if it reminds you once you might forget it.

How to do it?
This is for Android users, I'm sure there must be a way for iPhone users too.
1. Go to the settings.
2. Click on the "Lock screen" icon.
3. Scroll down and click on "Owner information".
4. You will see a pop up, write what ever you want to be reminded.
5. Make sure you check the "Show owner info on lock screen." then hit OK.

Can you write a full list of things?
Well, I think it would be better if you write the full list of things on the Memo and just write "Check the list of things on the memo" that will do that job.


Thursday, 1 December 2016

Why can't I copy facebook comments

Did you ever come across this problem, where while browsing through facebook posts you have seen a nice funny comment that you wanted to copy, so that you can save it in text file and read it afterwards but you couldn't copy it?


Well, that happened to me lot of times, specially on my phone and tablet not on computer though.

How can you solve this problem?
You can solve it in two ways or maybe more, but I got these two ideas in my head which worked for me.
  1. Set the browser to desktop version. This sometimes worked for me and sometimes it didn't.
  2. Take a screenshot of that comment >> then crop it to the specific part that you want to copy >> then upload the picture to a site called >> after uploading the picture enter captcha code >> then hit the convert button. Now you'll have all text file only which you can copy and save it anywhere you want.
Can you get text from any picture?
Yes if you find a picture and there are some texts in it, you can convert that to normal text file by using that website.

It so helpful that for example you go somewhere and saw something on the billboard and you didn't understand it, so you can just take a picture and convert it into texts then translate it by Google translator. It can even save your time, for example you saw a phone number and an address which you need to copy. Just take a picture of that and convert it to text, that's all. It will take less time to convert the picture into texts than writing everything, but remember the picture should be in good quality and clear.
That's all for this post I hope it helps you.