Skip to main content

Posts

Angular 2/4 Setup, install and Build Guide

This is a step-by-step setup guide to setup Angular Development Environment. 1. Install Node.js (Note:- Below Instruction for Debian and Ubuntu-based Linux distribution) NOTE: If you are using Ubuntu Precise or Debian Wheezy, you might want to read about running Node.js >= 6.x on older distros.       For Node.js 8.x LTS(Long Term Support) curl -sL https://deb.nodesource.com/setup_8.x | sudo -E bash - sudo apt-get install -y nodejs For Node.js 9.x Current curl -sL https://deb.nodesource.com/setup_9.x | sudo -E bash - sudo apt-get install -y nodejs After Installing Node.js, the  NPM(Node package manager) should automatically be installed. Verify installation using commond   npm --version 2. Install Angular CLI via npm: npm install -g @angular/cli 3. To create a new project: ng new myapp  4. To run the Angular app: cd myapp ng serve Note: - This will start a server on localhost:4200 by defau...
Recent posts

How to do factory reset on Moto series android phone

The following steps contain instructions on how to perform a factory reset on your Moto Series Android Phones. It is recommended to make a backup before you reset to the factory settings. This to prevent personal data to be lost. 1. Go to the Start screen. Choose the menu symbol. 2. Scroll down.  Choose   Settings . 3.  Scroll down. Choose   Backup & reset . 4. Choose   Factory data reset . 5.  Choose   RESET PHONE .      Optional: tick  Erase SD card . 6.  Choose   ERASE EVERYTHING . 7.  All data and settings saved on the Motorola Moto G4 will be deleted. The Motorola Moto G4 will automatically reset and reboot.

How to factory reset your android phone

1.   Power down your device .  Before you begin the reset procedure, you will need to completely power your device off. (If the device is frozen, you can pull the battery out to turn it off.) 2.   Press and hold the recovery buttons .  The buttons vary from device to device, so you may need to look up the instructions for your particular phone. You will need to press and hold the buttons for a few seconds. Some of the more common button combinations include: Volume Up + Home + Power Volume Down + Power Home + Power If none of the above work, do a web search for your phone’s model plus “recovery mode”. 3.  Select Factory Reset .  Once the recovery menu opens, you can navigate the menu with the volume buttons. You may need to open the Recovery menu to find the Factory Reset mode. Use the Power button, some models use the camera button, to select your menu options. You will be asked to confirm the factory reset.     ...

How to import the existing project into Eclipse

Procedure     Start Eclipse. Create a new workspace for your handler project.          3 . Select  File  >  Import  from the main workbench menu.      4.  In the Import dialog box, select  Existing Projects Into Workspace  and then click  Next . 5.  Select the   Select archive file   radio button and then click   Browse . In the   Select archive containing the projects to import   dialog box, locate    (where   is the location of your  AppS Source  installation )   and then click   Open . Click  Finish  to import the archive.

In Ubuntu The disk drive for /tmp is not ready yet or not present

  If you get the error  "The disk drive for /tmp is not ready yet or not present"  during boot process then run the following command in ubuntu: sudo mv /tmp /tmp_old sudo mkdir /tmp sudo chmod -R 777 /tmp Reboot your system and if you want you can delete the /tmp_old folder.