How to update nodejs and npm [Node Package Manager] ?

Step-1: First check the node and npm versions node -v npm -v Step-2: npm install globally npm install npm -g Step-3: Check the npm version now npm -v Step-4: Again install for cross verification. npm install npm -g Step-5: Clear the npm cache to use forcefully. npm cache clean -f…

GruntJS in Simple English Part5

JSHINT How to install JSHint npm install grunt-contrib-jshint–save-dev Usages of JSHint Ignoring the specific warnings Save the loggings We can defined the various configurations UGLIFY How to install Uglify ? npm install grunt-contrib-uglify –save -dev Usages of Uglify Variable renaming called mangling This configuration will turn on object property name…

GruntJS in Simple English Part4

How we use grunt in Javascript? We used many ways for grunt in Javascript some of the main features are below. Validating Javascript using – jshint Compressing Javascript using – Uglify Cleaning folders and files using – Contrib-Clean (We Checked already in previous part) We are going to compiling typescript…

GruntJS in Simple English Part3

Creating the package.json file first Enter the name, version, development dependencies Install grunt locally using this command [npm install grunt –save-dev] After installed grunt one folder created in root folder called node_modules,Inside that grunt installed locally After grunt installed you can install the grunt clean module [npm install grunt-contrib-clean –save-dev]…

GruntJS in Simple English Part2

Why we use grunt ? What are the things grunt done ? Validate HTML/JS/CSS Compress CSS and JS Compile the CoffeeScript , TypeScript (mainly nowadays used for Angular2)..etc LESS to CSS Grunt Architecture ? Using package.json file we can described the Gruntjs file configurations. In format of metadata values described…

GruntJS in simple English part 1

Introduction:- GruntJs is used for Task Runner. What is Task runner why we use? In one word: automation. The less work you have to do when performing repetitive tasks like minification, compilation, unit testing, linting, etc, the easier your job becomes. After you’ve configured it through a Gruntfile, a task…

Javascript Understanding Variable Scope and closures

Hi All, I learned from some Youtube video some of my friends share to me and personal thank to Daniel Zabinskas First of all thanks to sitepoint 1. Declaring Variables 2. Hiding global Variables with local variables of the same name 3. Scope Chain-I When you have nested functions you…

How to delete/remove all files from a directory in ubuntu (Linux) via Terminal?

  Image Source:- http://spreadubuntu.org/files/ubuntu_p.png   To remove the folder with all its contents(including all sub folders): rm -rf /path/to/directory To remove all the contents of the folder(including all sub folders) but not the folder itself: rm -rf /path/to/directory/* To remove all the “files” from inside a folder(not removing sub folders): rm…

Say No to a voice/non-voice BPO job

According to recently posted Forbes Article”Everybody knows the frustration of calling to a customer service line and having to deal with an automated interface.  They work well enough, but it takes some effort.  After repeating yourself a few times, you find yourself wishing that you can just punch your answers…

1 2 3 74