Prototype in Javascript

What is prototype in JavaScript? An encapsulation of properties that an object links to. Simply put it allows you to share functions or properties with every single object of some specific type. Now every JavaScript object has a prototype. The prototype is also an object. All JavaScript objects inherit their …

Android – Share code between multiple applications

Physical Path way It may work well when you have a common drive location among code contributors. If you are only the one who maintain this library for a  different projects then this can your favourite option. Open your app settings.gradle and add these lines: include ‘:app’ include ‘:networkservices’ include ‘:common’ project (‘:networkservices’).projectDir …

Node.JS: Error Cannot find module [SOLVED]

Even though I have installed my npm package globally, I receiveĀ the following error : Error: Cannot find module ‘color’ at Function.Module._resolveFilename (module.js:338:15) at Function.Module._load (module.js:280:25) at Module.require (module.js:364:17) at require (module.js:380:17) at repl:1:2 at REPLServer.self.eval (repl.js:110:21) at Interface. (repl.js:239:12) at Interface.emit (events.js:95:17) at Interface._onLine (readline.js:202:10) at Interface._line (readline.js:531:8) I did …