Posts

Showing posts from June, 2014

How to Print Out All the property/propert value of Object in Javascript

First Define an Object with property and then use for /in loop with console to print out Example: Defining Object with property var fifa = { fullName: " International Federation of Association Football ", president: " Sepp Blatter", motto: " For the Game. For the World ", formation: " 21 May 1904 (110 years ago) " };  Now print out property  using for /in loop with console for (var property in fifa){ console.log(property); }  Now print out property value  using for /in loop with console for (var key in fifa){ console.log(fifa[key]); }

Function with Method in JavaScript

Example function Class (){ this . method = function (){ alert ( 'simple method' )}; }​​​​​​​​​ var object = new Class (); object . method ();​ Example with Method Speak and function person  function Person() { this.speak =function (){ console.log ("Hello!"); } } var user = new Person(); user.speak();   Here speak is a method of Person function

Coffee in New York

Stumptown Coffee Roasters   18 W 29th St, New York, NY 10001, United States     +1 347-414-7805 Joe 141 Waverly Pl, New York, NY 10014, United States     +1 212-924-6750 Café Grumpy   224 W 20th St, New York, NY 10011, United States     +1 212-255-5511 Abraço Espresso     86 E 7th St, New York, NY 10003, United States   Gimme Coffee 228 Mott St, New York, NY 10012, United States     +1 212-226-4011   Think Coffee 123 4th Ave, New York, NY 10003, United States     +1 212-614-6644

Google's first Quantum Computer

Image
The age of quantum computing has now arrived

Apple unveils iOS 8 with HeathKit

Image
Apple ascertain that iOS 8 is the biggest iOS release ever not only for developer also for everyone. Photos Automatically find your every photo, every edit, every album now lives in your iCloud Photo Library, easily viewable and consistent on all your devices. Message Apple developed its message function completely new way that lets you connect with friends and family like never before. Tap to add your voice to any conversation. Send a video of what you’re seeing the moment you’re seeing it. Desgin   Change in responding notifications & time-saving features for managing your mail.  New Keyboards New keyboard will make easier typing by suggesting contextually appropriate words to complete sentences. It even recognizes to whom you’re typing and whether you’re in Mail or Messages. Because your tone in an email may be different from your tone in a message. Family Sharing Awesome way to share up to six people in your family  each other’s iTunes, iBooks

Apple Announces OS X Yosemite Redesigned interface,Updated notification Center, new tool and many more.

Image
Apple announced that its iOS 8 beta at Worldwide Developer Conference. Yosemite comes with many cool features. Completely new interfaces Recent years OS X has changed in many ways  but the principles that defines it haven’t: power, simplicity, beauty. So apple created OS X Yosemite and made it more powerful and easier to use, while maintaining the elements essential efficiency to Mac. By adding translucency to certain interface elements in OS X Yosemite, apple  put a greater emphasis on content. Translucent toolbars let you know there’s more to see than what’s visible in the window as user scroll.  Answer calls from Mac Now you can make and receive iPhone calls right on your Mac. When your iPhone rings, you’ll get a notification on your Mac showing you the caller’s name, number, and profile picture. Click the notification to answer, and your Mac becomes a speakerphone. You can also decline the call or respond with a quick iMessage. Making a phone call from Mac is just