≡ Menu

How to Deploy Node.js Script on Linux Using Upstart and Monit

Node.js LogoNode.js is a server-side scripting and Javascript framework.

This runs on top of Chrome V8 Engine.

What makes it different is that the application developed using node can be seen as a server responding to your request. When scripting using node.js, we are creating a http server which keeps on responding to your request.

In other words, when you are running a nodejs application you are running an instance of a http server.

Its quite different from the scenario where you install a separate web server like Apache or Nginx with appropriate language compiler packages and then deploying your code under the DocumentRoot of that webserver.

How to Install and Configure Oracle SQL Developer Client

If you are working on Oracle database either as developer or DBA, you need a good front-end to manage your database.

In the old days, one of the popular option was Toad.

But, now, there is even a better and robust option; SQL Developer.

SQL Developer is an oracle product. It is free.

It is a very good IDE for developers who write lot of PL/SQL code.

It is also an excellent DBA tool to manage your database. You can also uset it to run reports, create data model, and also to migrate database.

How to Disable Same Origin Policy on Chrome and IE browser

Google Chrome OSFor web application security all the modern browsers strictly follows a policy called “same origin policy”.

What is “Same Origin Policy”?

According to this policy a web page script can access data of another web page or can interact with it only if the origin of both them are same.

When we say origin here, it is the combination of port, protocol and host.

In another words the host, port and the protocol used for both the web pages should be same then only they will be called as from same origin.

3 Example Programs to Understand C++ STL Stack Implementation

What is a stack?

In our daily life, we may see several items in a stack. For example: stack of dishes, pancakes stacked on a plate, stones on a stick for Hanoi tower problem, stack of chairs, stack of books, etc.

In programming language, stack is a data structure that has few interesting properties. Its elements are added as you get them, and you empty the stack from last element that you have added into it.

Stack is also known as LIFO, which stands for “Last In First Out”.

How to Install Gulp.js as Build and Task Automation Tool

Gulp LogoGulp.js is a Node.js based build and task automation tool.

This is similar to Grunt.js: Intro to Grunt with Install, Configure and Build Javascript Projects

Gulp.js has been adopted by developers because of its stream based approach of getting the tasks done rather than the configuration based approach followed by Grunt.js.

Stream based approach made developers to write less lines of code because of its pipelining feature which makes it faster.

In this tutorial, we’ll explain how we can use gulp for automating a task in any Front End development project.

10 Essential MariaDB / MySQL DELETE Command Examples

mysql-logoWhen you are working on MySQL database, on several situations you may want to delete existing records from one or more tables.

In this tutorial, we’ll explain how to use MySQL Delete with some useful examples.

The following are covered in this tutorial:

Chef LogoStarting from Chef server version 12, SSL verification is enabled by default for all the communication that are initiated from any of the chef utilities (knife, chef-client).

For this, Chef server will generate a self-signed SSL certificate during the installation process.

From your Chef workstation when you execute knife command, you should download the SSL certificate before you can get started. If you don’t do this, knife command will not connect to the Chef server.

How to Upgrade Jenkins to New Version and Update Plugins

Jenkins is an open source automation server, which will help you to build, deploy and automate your enterprise application.

If you are using Jenkins for production deployment, it is very critical to keep it up-to-date with the latest version.

Jenkins has a very active open source community. They constantly release new versions with lot of new features and bug fixes.

In this tutorial, we’ll explain how to upgrade your Jenkins to a newer version, and update all the plugins accordingly.