With Node.js you can add real-time capabilities to Drupal like instant messaging(chat), live update of views or feeds, etc. Here you will find a detailed tutorial on how to install Node.js integration module in localhost in Windows.

 

command prompt change directory to nodejs

Converting an image to its digital negative is very easy using JavaScript. We can achieve it in three steps.

sydney harbour bridge

Unlike converting an image to grayscale where same values are used for all the color channels in a pixel, applying sepia tone is little different.

sepia tone formula(algorithm)

Understanding grayscale bitmap(digital) images:

example gray color shades

We can do many things with an image drawn on canvas. We can invert the image colors, change the image to grayscale, remove red or green color from the image, etc. Every pixel of a digital image(bitmap or raster graphics like jpeg, png, gif, etc.) can be manipulated using the canvas api.

 

bridge image

The <canvas> tag is mainly used to draw and manipulate graphics. But sometimes you may need to draw text in canvas. This text is not normal in the sense that it cannot be selected using mouse. It is like an image drawn on the canvas.

 

canvas text plain

In this tutorial we will do two basic things:

flash stage

Using Drupal's multisite feature you can easily run multiple sites using the same core codebase of drupal. Although the codebase is same, it is a good idea to have different databases for different sites inside the multisite environment.

Here you will see how to easily setup drupal 7 multisite in XAMPP in Windows.

 

drupal 7 logo

If you are developing multiple sites locally, you might have organised your local sites in folders like

“C:\xampp\htdocs\mysite1”, “C:\xampp\htdocs\mysite2”, etc.

Every time you want to visit mysite1 from your browser, you have to write “localhost/mysite1” in the address bar of the browser.

windows hosts file

Before you start synchronizing your files between desktop, mobile devices, and hosted ownCloud server, you would like to try it in localhost. For this, you will need to download and install the ownCloud sync client. Using it, you can synchronize files between a folder on your computer and ownCloud server.

owncloud connection wizard

Pages

McAfee APAC

Latest Videos