Showing posts with label science. Show all posts
Showing posts with label science. Show all posts

Create a Portable Notes App using just Notepad (Batch Script)


Do you like to take notes of various stuff while working??
Do you want to that your notes are ubiquitous but still doesn't slow down your computer?

Then, Let's Make one yourself. 




The notes you create will be present on your Taskbar for faster access.

You can click on the arrow to Insert  a new Note or View all your notes.

Upon Clicking the "+New Note.bat" file, a dialog will ask you to enter the Name or Title of the new Note.


 

 












         Content of the Note can also be entered for adding descriptive Text about the Note.






The created Note can also be seen in the Taskbar's Toolbar.





You can also Delete the Note if your Work is done or if you don't need the Note anymore.


Coding-Trick: Switch-Case as unWorkable for loop

While working, I thought I could provide few tips on coding in my blog.

So, I thought to share a "short code" in a situation where you want to initialize some values. Each value is initialized by different function. You know the functions but you don't know how many values to initialize.  Uninitialized values should be 0.

Suppose values to initialize

a = f1(); 
b = f2(); 
c = f3(); 
d = f4(); 

 A normal Switch case for the above Situation :

Switch(number_of_values_to_initialize) {

case 1:
          a = f1();
          b = 0;
          c = 0;
          d = 0;
          break;

case 2:
          a = f1();
          b = f2();
          c = 0;
          d = 0;
          break;

case 3:
          a = f1();
          b = f2();
          c = f3();
          d = 0;
          break;

case 4:
          a = f1();
          b = f2();
          c = f3();
          d = f4();
          break; }


 The Shortcut for This Code is :

Can You Breathe??

"Although you’ve been breathing since the moment you were born, you’ve probably been doing it all wrong."

healthy breathing patterns are how your body maintains a high metabolism and delivers oxygen to vital tissues. - See more at: http://www.quickanddirtytips.com/health-fitness/exercise/how-to-breathe-the-right-way?page=all#sthash.ttajXEFm.dpuf
Take a moment and think about your breathing pattern. Do you breathe correctly? Or is your breathing pattern slower or faster than usual?

When this thought struck me in the morning, I found out that I was breathing wrong all the time. So I decided to share some information i gathered with my friends
You inhale with your chest. When you begin inhaling (breathing in), you may notice that your chest is the first thing to move, - See more at: http://www.quickanddirtytips.com/health-fitness/exercise/how-to-breathe-the-right-way?page=all#sthash.ttajXEFm.dpuf
.

healthy breathing patterns are how your body maintains a high metabolism and delivers oxygen to vital tissues. - See more at: http://www.quickanddirtytips.com/health-fitness/exercise/how-to-breathe-the-right-way?page=all#sthash.ttajXEFm.dpuf
Healthy breathing patterns are how your body maintains a high metabolism and delivers oxygen to vital tissues. Also, if you breathe too fast or don’t inhale deeply enough, you can increase the pH of your blood, and this can decrease the amount of blood getting to your brain and muscles and result in less oxygen being released by that blood.



If you breathing pattern resembles the following points, you have been breathing wrong:

  • You inhale with your chest. When you begin inhaling, you may notice that your chest is the first thing to move.
  • While breathing your ribcage doesn't expand sideways.
  • You find breathing with your mouth much easier.
  • You sigh or yawn frequently.
  • You have a high resting breath rate. 




Fortunately re-learning the right way to breathe is easy.

The non-essential amino acid : MSG


"You should always know, from where the Chinese food gets the taste"




Umami(pleasant savory taste), is one of the five basic tastes, which is not easy to describe.
The Chinese food gets this taste from, MSG(Monosodium glutamate) or commonly known as Ajinomoto.

MSG is found in tomatoes, Parmesan, potatoes, mushrooms, and other vegetables and fruits. It is used in the food industry as a flavor enhancer with an umami taste that intensifies the meaty, savory flavor of food


MSG is know to us by many names:

Chemical names and identifiers
  •     Monosodium glutamate
  •     Sodium 2-aminopentanedioate
  •     Glutamic acid, monosodium salt, monohydrate
  •     L-Glutamic acid, monosodium salt, monohydrate
  •     L-Monosodium glutamate monohydrate
  •     Monosodium L-glutamate monohydrate
  •     MSG monohydrate
  •     Sodium glutamate monohydrate
  •     UNII-W81N5U6R6U

Trade names

  •     Accent
  •     Ajinomoto
  •     Tasting Powder
  •     Vetsin
  •     Sazón

But these is more to it. MSG has been claimed and tested to have various dose-dependant side effects including headache and dizziness.

Android 5.0 is Lollipop

"Sorry chota bheem... Android L is not Ladoo.."

After Monte of initial release the Android 5.0 version has been made official and its called Lollipop (sorry not ladoo). The OS was mostly known as Android L since its announcement and now it has finally been named along with the launch of the three flagship products, the Nexus 6, the Nexus 9 and a $99 Nexus player.
 

The Googliness in Google

Everyone when gets access to the Internet opens Google, to check whether the Internet is working or not. Sometimes to search something, and some people open Google when they want to seek answers.

But most commonly people come to Google to end their Boredom. So, Google has many googlies for an idle person.

Some of the Googlies I love are:
Click on the image to go there

  • Google Sphere:
    • A 3D image search which orbits around Google logo. Your minds will be blown.
 Google Sphere 
  •  Google Gravity:
    • It feels to live on earth where everything is falling from the sky. Similarly Google gravity enables the gravity on the page, and everything fells. You can also drag the individual elements and play.

Google Gravity 
  •  Google Zerg Rush:
    • It's time for you to do something for your search results. The O's from the Google wants to eat up all your search. You have to save them by clicking on the O's. You can also share your high score at the end. This is very enjoyable and easily kills your Boredom.
Zerg Rush Zerg Rush Result




Beware: Youtube Phishing Attack

Vollah!!

I really like hackers and also like how they develop new new methods of hacking into thing of importance to other people.

A new type of attack currently going now days is the YOUTUBE PHISHING ATTACK.

Some of the people reading this will be wondering what is a Phishing attack?
       So, In simple words in phishing attacks, the hackers takes you to a site(in this case youtube), which looks like youtube, feels like youtube bit is NOT! youtube.

Coming back to the topic, you might get an email from www.youtube.com(actually not youtube.com) saying to confirm your account and will look like this.



The link no matter is of youtube.com but is not actually of youtube.com. how?
We people usually thing any link like www.google.com will take us to that site.
So let us all try clicking on the link:


Phishing link: www.google.com

So, did you went to google? How was it? Was it something related to my blog? :p

Just like that, the verification link will take you to the Phishing page of youtube where you will send your account information to someone who can do anything he likes.
Also, you can see the URL bar, it will not be youtube.com.

" Nothing is secure in this world, everything is connected, everything is visible. So stay safe"
"There are many spiders on the web"

Root any mobile: Rooting Explained

"Hack your android phone like a pro"


Sometimes it happens that when I show a feature of my android phone to my friend, he ask, "How is this done?"
I very confidently say, "I can do this because my device is rooted."
And he gets startled, "What is That??"

Root icon and text

So, today I will tell all my readers what is Rooting? How to root almost every android device? and What are its benefits??

Rooting, in a nutshell, is the process that provides users with full administrator control and access to an Android smartphone or tablet Similar to "jailbreaking" an iOS device, this is often done in order to bypass carrier or handset-maker limitations or restrictions.
Once you achieve "root access," you can replace or alter applications and system settings, run specialized apps, and more.

Wanna Read without specs??

Out somewhere?? Wanna read something important?? But oh GOD! Forgot your specs home??

No problem.. We got a solution for you.

Just make a pinhole from your fingers, and see through it..
Everything will be clear..

The result

Amazing??
Hyperopic eye explaination

View Live stream of Earth in 720p

NASA has recently started an experiment via its International Space Station which streams live video of Earth in 720p(April 30, 2014 - October 2015).

The National Aeronautics and Space Administration (NASA) has started an experiment called High Definition Earth Viewing (HDEV) which shows the station's view of our planet via an internet stream. 



Black Image = International Space Station (ISS) is on the night side of the Earth. 
Gray Image = Switching between cameras, or communications with the ISS is not available.

 If you don't see anything, it is most likely that space station is hovering over the dark side of the planet Earth.
 To see the position of satellite visit: http://eol.jsc.nasa.gov/HDEV/

Project: Magnetic Stirrer

Have you ever went to Chemistry Lab of your College or School and seen something magical or mystical??
Have you ever wondered that if that was with you, you could do many things with it??

Similarly, we(me and my friend) saw the mystical Magnetic Stirrer. And I thought that if that was with me I could make COLD COFFEE!! :D

So, we both thought to build one, and succeeded..

What we saw in Lab
What we made


This is our result, what we got.

YOU MAY ALSO LIKE: