• Singleton Design Pattern

    Singleton Design Pattern

    When do we use a Singleton ? Singleton Design Pattern is used when we need to Make sure we have only a single instance of a Class at any given time Provide global access to the Class instance How to create a Singleton ? To create a Singleton we need…

  • Debug React with VSCode

    Debug React with VSCode

    Found a real good article on how to setup your Visual Studio Code Editor to debug React JS App. On a high level here is what needs to be done: 1. Install the Debugger for Chrome extension. 2. Configure the Chrome Debugger Create a launch.json file in a new .vscode…

  • JS – Truthy vs Falsy

    JS – Truthy vs Falsy

    Recently started my journey with JS ( again… this time learning React JS ) . Came across this  IF condition which defied all logical explanations ( to me at least ) var flag = true; if(flag && “Flag is true”) { //console.log(“\n Prints Flag is True, Strange !!”); } The…

  • Quantum Computer

    Quantum Computer

    A quantum computer is a device that performs quantum computing. Such a computer is different from binary digital electronic computers based on transistors. Whereas common digital computing requires that the data be encoded into binary digits (bits), each of which is always in one of two definite states (0 or 1), quantum computation uses quantum bits or qubits, which…

  • Enable Game Center Sandbox

    Enable Game Center Sandbox

    Enable Sandbox mode in game center for testing. Several posts on forums and blogs talk about creating a testing account and doing crazy voodoo stuff to get into sandbox mode. Read all that for a while and the ever increasing frustration writing games for the iOS platform was @#$@#$ .. And…

  • Using GitLab with Sourcetree

    Using GitLab with Sourcetree

    Gitlab is the new beast in town when it comes to GIT Repositories. Why is Gitlab so awesome ? Its faster than bitbucket when it comes to pull and commits. ( As the project size increased we found BitBucket to crawl ) . Github is good but costs you for private repos !! Free…